Click here to Skip to main content
15,893,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,

can anybodody suggest me about scene's management,please?

usually, i use if statement and flag to control scenes.
however, when objects are too many, my way is kinda of messy.

then, i think of use pointer to point function but
i am not good at pointer, kinda of confusing.

in directX, there are some kinds of functions to help about scene's management??
Posted

You may choose an object oriented approach, making a well pondered class hierarchy, expoiting polymorphism. However you do need to know OOP.
:)
 
Share this answer
 
you can use scene graphs to manage your scene..
this can be helpful for you to render specific objects..
you can use libs like open scene graph and many available on interenet.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900