Archived

This topic is now archived and is closed to further replies.

EasyGino

Stupid Rendering Question

Recommended Posts

This could possibly be the stupidest question ever, but it''s something that could potentially make my life much easier or much worse Are you able to have numerous renders for a scene rather then one render that does everything? All the code samples use one image or one mesh and renders that alone. Would I be able to do something like: void RenderCharacter(TEXTURE tex, int x, int y){ //do whatever //Render to surface } and call this function many times for a single scene to draw a numerous amount of textures to the screen?

Share this post


Link to post
Share on other sites
yep, you can split your renders however you like. I''ve even nested my OGL rendering in my classes, though I''m not saying that is a good idea.


lonesock

Piranha are people too.

Share this post


Link to post
Share on other sites