how to search for a entity in a scene graph using c++ ?

Started by
3 comments, last by L. Spiro 8 years, 4 months ago

how to search for a entity in a scene graph using c++ ?

Advertisement

You need to provide a few more details. Is this your own scene graph? Is it from a library/engine or some sort? What type of scene graph is it etc. The more details you provide the better answer you will get.

Interested in Fractals? Check out my App, Fractal Scout, free on the Google Play store.

you traverse through all elements and compare the appropriate property of every element to the condition you're looking for.
takes probably less time to implement it than to post here ;)
How To Ask Questions The Smart Way
Scene graphs are not designed for searching. Store your scene/character in a linear array and search that.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

This topic is closed to new replies.

Advertisement