[Papervision3D] How to Change the UV Image of a DAE at Runtime.

aalavandhaann ashok_srinivasan2002 at yahoo.com
Sun Aug 16 22:45:47 PDT 2009


Hello Guys,

In the last two days i understood two things

1 - LEarnt a lot about UV mapping and understood how textures are applied to
a DAE. Then learned how the materials can be changed using the same uv
mapping image to another color and applying it by catching the name of my
collada object like mydisplayobject3d.getChildByName(name,recursive) and
setting its material at runtime.

2- I was lazy enough to not to do some basic R & D and instead post here to
get a quick solution. I have learnt to do my homework first and then go
around asking experts like you people.

Hurrah ! PApervision Rocks Square.

aalavandhaann wrote:
> 
> First Things First, Papervision purely ROCKS.
> 
> I wish to know if after importing a Collada that has been given UV
> Wrapping done in Blender/Maya/3dsMax and when importing into Papervision3D
> as a DAE, does have an option to replace the image or assign an image to
> its UV Mapping at runtime ?
> 
> For example,  i have three seperate DAE loaded into my flash with each DAE
> having its own UV Mapping done in a 3D editor. So now if i need to change
> the UV Mapping of one of the DAE at runtime with another UV map image, is
> it possible ?
> 
> Ideally i wish to have a Single DAE with the three objects in it and do
> what i have asked above.
> 
> Regards,
> 
> aalavandhaann
> 
> http://actionscript2actionscript.blogspot.com
> 

-- 
View this message in context: http://www.nabble.com/How-to-Change-the-UV-Image-of-a-DAE-at-Runtime.-tp24970052p25001307.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list