Hi,

        
        Hi Marc,

On Wed, 2005-04-27 at 09:50 +0200, marc wrote:

Hi,

I think I have a simple question:

        I have some textures. Now I will that they are presented for all nodes
to use in the actual aplication, instatiate by name. I think a way to do
that is to put the textures in a GroupNode, and then put it in the
scenegraph to send around. For not rendering I will set:

...

Did I need a geometry represention for to hold the texture, or will the
GroupNode enough so that I can put it into the scenegraph:


No, the MaterialGroup is fine.


Can someone help, if this is a good way for to do that? I haven't
implemented it right now, so I can not say if it works?


I don't see a reason why it wouldn't work. I think Andreas does
something similar in Vred.

        Dirk

Yes kind of I wrote a extra MaterialPool node which holds a list of materials. With this I can store unreferenced materials in a osb file and also drag and drop materials around without thinking about the reference counting. If there is some interest I can check this into cvs.

Andreas


--
Andreas Zieringer       [EMAIL PROTECTED]
Fraunhofer IGD - A4     phone +49 (0)6151 155 289
Fraunhoferstr. 5        fax   +49 (0)6151 155 196
D-64283 Darmstadt       www.igd.fhg.de/www/igd-a4


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to