Jump to content
  • Advertisement

Archived

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

EasyGino

Stupid Rendering Question

This topic is 5175 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!