Hello Dirk,
> Hm, I'm very confused. When I run that model through my test program, it
> turns nicely transparent. I attached my test program, maybe you try what
> that does for you.
I found out what was wrong. The object node I was using was obtained by
instancing it. But since I was going to modify its material, I couldn't just
work on an instance, so I used deepCloneTree() to get a clone. But I had only
specified "Geometry" when I called the function.
I changed that to "Geometry,Material" and the object now turns transparent as I
wanted it to.
I don't understand why it gave the results it did before, though. Shouldn't
cloning only the object's geometry have given shared materials between all
objects? Therefore all instances of the object should have been transparent...
But instead, it seems as if the BlendChunks were added, but then they
disappeared from the ChunkMaterials.
Is there a reason why this happened? If all the objects had turned transparent
at the same time, I would have suspected that I needed to clone the materials
too...
Thanks anyways for all your help,
J-S
--
______________________________________________________
Jean-Sebastien Guay [EMAIL PROTECTED]
http://whitestar02.webhop.org
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users