Hi Matthias,

On Fri, 2006-07-07 at 14:31 +0200, Matthias Peters wrote: 
> Thanks, but unfortunately that does not work. I still have the same
> problem, and basically cloneTree does the same which I did so far. All
> the clones share the same geometry core.

That where the MaterialGroup comes in. You need to have a separate
MaterialGroup, which allows you to overwrite the GeoCore's material.

Alternatively you can use deepClone() with a list of FCs to share. I
think you have to use dst = deepClone(src, "Material, GeoPositions,
GeoNormals, GeoColors, GeoTexcoords, GeoIndices, GeoPLengths,
GeoPTypes");. This will clone the cores but share the large data fields.
The MaterialGroup is probably more efficient, as this second version
does not reuse the same display lists.

Hope it helps

        Dirk



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to