On Apr 5, 2011, at 9:44 AM, Stadelmann Josef wrote: > Thanks, and what you say is very important for me too. > My beginners question: is there somewhere an OO class model drawn to show > ... [snip]
Nope. If you make one, though, it would make a great addition to our community wiki. :) There are some details about proper model construction in our Principles of Effective Modeling [1] guide as well as throughout the MGED tutorial series [2]. [1] http://brlcad.org/w/images/9/9a/Principles_of_Effective_Modeling.pdf [2] http://brlcad.org/w/images/c/cf/Introduction_to_MGED.pdf > a) How inheritance of such attributes like mater and through matter like > color works OR This is actually fairly simple. If you walk down the hierarchy from the top-level objects, any shader property applies to all objects from that point down until it finds a new shader property. If you set the inherit/override flag on a shader property (via the 'mater' command), it applies to *all* objects even if it finds a new shader property. > b) which object types (classes) can have mater and through mater color. It really only makes sense for combinations to have a material property (including color) set. Cheers! Sean ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ BRL-CAD Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-users
