Hello. I understand that scene nodes can be used to animate things, and create shadows. My question is, what is a scene node, and how do I use it?
Thank you.
Scene Nodes?
-
Gold_Fusion
- Posts: 26
- Joined: Tue Jan 20, 2004 9:25 pm
- Location: England
- Contact:
it sounds like you dont know what a scene graph is:
for a quick gobbledygook explaination:
http://c2.com/cgi/wiki?SceneGraph
basically, a SceneGraph is a way of organizing a 3D scene. it introduces the idea of different nodes, which can have children.
if you had a scene of a tank, the main part of the tank could be one node, and the turret part of the tank could be a child node. This way, if you move the main tank node, the turret will be moved with it (and any other children of the main tank node). that is because any action you take on a parent node happens to that node's children as well.
to see this in action, look at the TechDemo code.
for a quick gobbledygook explaination:
http://c2.com/cgi/wiki?SceneGraph
basically, a SceneGraph is a way of organizing a 3D scene. it introduces the idea of different nodes, which can have children.
if you had a scene of a tank, the main part of the tank could be one node, and the turret part of the tank could be a child node. This way, if you move the main tank node, the turret will be moved with it (and any other children of the main tank node). that is because any action you take on a parent node happens to that node's children as well.
to see this in action, look at the TechDemo code.
a screen cap is worth 0x100000 DWORDS