Collada manipulation

2 messages Options
Embed this post
Permalink
sebastian-89

Collada manipulation

Reply Threaded More More options
Print post
Permalink
Hi everyone,

i was wondering if there is a possibility to manipulate single elements
(planes, textures,..) in a collada scene that
is loaded in a pv3d application.

for example:

i have a collada scene exported from blender.
the scene has a few planes with textures and some text elements.
this file is then loaded into my flex/papervision3d tool.
so far so good....

but now..

is there a way to change i.e. textures from elements of that scene
inside pv3d or get a list of all elements that are inside of the collada
file??

or can i edit the text somehow?

regards,
sebastian rothe





_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
nospam

Re: Collada manipulation

Reply Threaded More More options
Print post
Permalink

You wouldn't be able to edit the text, I'd imagine, but you can replace
the textures using replaceMaterialByName().

I'm not 100% sure but you should be able to use a for...in loop to go
through the loaded Collada hierarchy.

Cheers,
mark

> Hi everyone,
>
> i was wondering if there is a possibility to manipulate single elements
> (planes, textures,..) in a collada scene that
> is loaded in a pv3d application.
>
> for example:
>
> i have a collada scene exported from blender.
> the scene has a few planes with textures and some text elements.
> this file is then loaded into my flex/papervision3d tool.
> so far so good....
>
> but now..
>
> is there a way to change i.e. textures from elements of that scene
> inside pv3d or get a list of all elements that are inside of the collada
> file??
>
> or can i edit the text somehow?
>
> regards,
> sebastian rothe
>
>
>
>
>
> _______________________________________________
> Papervision3D mailing list
> [hidden email]
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org