Can any1 tell me what is the right definition of scenegraph?What should it contain?
Any clarification is welcome.
Tnx.
Can any1 tell me what is the right definition of scenegraph?What should it contain?
Any clarification is welcome.
Tnx.
Short Explanation: A scene graph is the 3D objects you want to render. The graph automatically shunts the polys to an API like OpenGL every frame.
Tnx m8.
Yes. really when people say “A scene graph” the really mean “A scenegraph API”.
A scene graph is a tree of transforms that describes the scene or part of the secene to be rendered.
A scene graph API is an API for building that graph and then getting it translated to what the graphcis card really neeeds, which is lists of transform, polygons and render parameters…
Do u know some good texts about it-those who explain it in more detailed way…maybe some code and stuff like that.
[quote=“SluX,post:5,topic:26421”]
My first question is, are you familar with OpenGL programming? Because once you are, scenegraphs follow naturally. You generally only feel like drawing individual polygons for so long before you start wanting the pipeline the suckers. Decontructing 3D models into their component polys for rendering after checking their visibility is the easiest way to do that.
If you want code, Java3D, Xith3D, and jMonkeyEngine are all Open Source.