Great, are there examples of hierarchical objects in walktest or another test app that I can use for some testing?
Reed Jorrit Tyberghein wrote: > I did a big change to the way hierarchical objects are managed > in the engine. Meshes and lights can now properly be used as > hierarchical objects with the same API. For cameras some preparation > work has been done but it is not ready yet. Here is how it works: > meshes, lights, and camera implement the new iSceneNode interface. > You can do QuerySceneNode() to get the scene object from the mesh, > light, or camera without having to do SCF_QUERY_INTERFACE. To > make some object a child of another you simply do: > object_child->QuerySceneNode ()->SetParent ( > object_parent->QuerySceneNode ()); > To remove some object from a parent you do: > object_child->QuerySceneNode ()->SetParent (0); > You can also get the children by calling iSceneNode->GetChildren(). > The following methods have been removed: > - iMeshWrapper->GetChildren() > - iMeshWrapper->GetParentContainer() > - iMeshWrapper->SetParentContainer() > - iMovable->GetParent() > - iMovable->SetParent() > > I will soon fix CEL and CrystalBlend for these changes. > > Greetings, > > -- > Project Manager of Crystal Space (http://www.crystalspace3d.org) > and CEL (http://cel.crystalspace3d.org) > Support Crystal Space. Donate at > https://sourceforge.net/donate/index.php?group_id=649 > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Crystal-main mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/crystal-main > Unsubscribe: mailto:[EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
