Collada manipulation

View: New views
2 Messages — Rating Filter:   Alert me  

Collada manipulation

by sebastian-89 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Collada manipulation

by Mark I. Ross :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>



_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org