On Tuesday 08 May 2007, Harald JOHNSEN wrote: > Yes by states I was thinking of statesets. Anyway I looked again the > geode and drawable definitions and now > I'm confused, I thought the states were tied to the geodes but they are > tied to the drawable. I really don't > understand how we can have one drawable with several states. That is a strong tool in osg. StateAttributes and state modes deeper in the tree (my wording for closer at the leafs) replace the StateAttributes and state modes closer at the root. There are override and protected flags for them, but leave them away for the first cut.
Those overrides must also be handled with care. IMO these should be used with extreme care because the might interfere with some effects like shadows where we need to do multi pass rendering of the same scenegraph with different override attributes. I guess that even if there is currently no effect that brakes with using overrides or protected state attributes, this has the potential to brake something like that. Tim, the material animation stuff should IMO try so work without the overrides. Greetings Mathias ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel