[Papervision3D] Version 578 to 644 Dae Problem

Beatrix Krümmer-Frau birikini at hotmail.de
Mon Jul 14 09:04:17 PDT 2008


Thx for the reply's... and yeah, everything is loaded before i even init 
that class which adds the dae Modell.

and only get the DisplayObject Informations like:
DisplayObject3D: COLLADA_Scene
DisplayObject3D: body
DisplayObject3D: head1
DisplayObject3D: head.......

var child : DisplayObject3D = myDae.getChildByName( "head", true );
trace("Child " + child+ "Bitmap "+ bitMaterial1);
-> Child head: x:0 y:0 z:0
-> Bitmap Texture:[object BitmapData] lineColor:0 lineAlpha:0

and as i said, the complete project worked with 578 -omg -> company is 
closing - i will _check everything again tomorrow morning_, the mistake 
must be somewhere else. And again thx a lot - you will hear from me soon.

Tim Knip schrieb:
> There are no changes in setMaterialByName() between those revisions.
> So, it should work...
> But as you report it doesn't work :
>
> Could you verify that for example "head" does exist within the DAE by doing:
> var child : DisplayObject3D = dae.getChildByName( "head", true );
> ?
>
> Also: make sure you change the material only *after* FileLoadEvent.LOAD_COMPLETE
>
> If all fails: please send me your code, dae and textures :-)
>
> Tim
>
> 2008/7/14 Ralph Hauwert :
>   
>> As a general solution, you might try retrieving the child by name, and then
>> directly setting the .material property on that child.
>> Ralph.
>> On 14 jul 2008, at 16:22, Beatrix Krümmer-Frau wrote:
>>
>> myDae.setChildMaterialByName("head", bitMaterial1);
>>
>>
>> _______________________________________________
>> Papervision3D mailing list
>> Papervision3D at osflash.org
>> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>>
>>
>>     
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>   



_________________________________________________________________
Lustige Emoticons für Ihren Messenger! Hier kostenlos downloaden!
http://messenger.live.de/mein/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080714/5041ee4b/attachment.html 


More information about the Papervision3D mailing list