Hi Lars,
I made a basic example demonstrating how to do something like this, which you can read about here:
http://modern-carpentry.com/talk/?p=34
It is kind of old, and the API has changed a bunch since then. But the basic idea (which will still work) is this: construct a cube out of six planes rather than the traditional Cube primitive, then animate the individual planes themselves.
Let me know if you have any questions-
`goodbye
`tom
`
modern-carpentry.com
Message: 1
Date: Thu, 15 Oct 2009 12:07:22 +0200
From: Lars Schwarz <[hidden email]>
Subject: [Papervision3D] Unwrap/Unfold Cube
To: [hidden email]
Message-ID:
<[hidden email]>
Content-Type: text/plain; charset=UTF-8
hi all,
just joined the list, so another "hi all".
i'm looking for a "unwrap/unfold cube" example. i've seen some before, but i
couldn't find any of them searching google - maybe i used the wrong keywords.
i remember there's some kind of unwrap uv function. what i want to do is
unwrap a "simple" cube (shaded color materials). not sure this only works
for collada models, if so i'm looking for an alternative like building the cube
from planes and animating those?
thanks in advance: lars
_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org