[Papervision3D] Load a new material on runtime (DAE)
Isabell Grasshoff
isabell.grasshoff at gmx.de
Tue Apr 29 09:33:13 PDT 2008
Hi all,
I try to change a materialList by runtime but it doesn't work. I use
the DAE Class to load a dae File into my scene. I added a new
MaterialList to the DAE and all works fine. Now I want to change the
material by pressing a button but nothing happen.
I changed the material like this:
dae.materials=newMaterialsList;
But you can see only the old materialList on the DAE Object.
I found the Class ReplaceMaterialByName. But it doesn't work with
materialLists...
Can someone help me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080429/e80cc52b/attachment.html
More information about the Papervision3D
mailing list