[Papervision3D] Applying material to DAE child object gets error message

John Grden neoriley at gmail.com
Tue Dec 2 13:27:25 PST 2008


I would do this instead:

var do3d:DisplayObject3D = mesh.getChildByName("video_screen", true);

if( do3d ) {
                var videoMaterial:VideoMaterial = new
VideoMaterial("Viperdetroit.flv");
                mesh.setChildMaterial(do3d, videoMaterial);
}

On Tue, Dec 2, 2008 at 2:38 PM, casey mandell <caseymandell at mac.com> wrote:

>
> Hi,
>
> When I write the following code:
>
>              pDAE.setChildMaterialByName(_name, _matOff);
>
> where _name is the name of a child in the DAE and _matOff is a
> BitmapFileMaterial with interactive set to true, the material is applied
> and
> its interactive but I get the following error message:
>
>              ERROR: MaterialObject3D: transformUV() material.bitmap not
> found!
>
> I wonder if someone can tell me what it means and how I can make it go .
>
> thanks,
> Casey
> --
> View this message in context:
> http://www.nabble.com/Applying-material-to-DAE-child-object-gets-error-message-tp20800405p20800405.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



-- 
[  JPG  ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20081202/1d91720c/attachment.html>


More information about the Papervision3D mailing list