Hi Lars,
Welcome to Away!

The RoundedCube primitive can not be recomposed with planes
but you could add custom code within the RoundedCube class, like adding 6 arrays
where you could store the sides faces or their indexes.
The trick would be then to make a dummy roundedcube, ask the 6 arrays
and compose 6 new meshes from these arrays and get rid of the roundedcube.

More tedious, but possible if the resolution you want is not high, would be to note each faces index using a simple scroller (triggering some color change at face level) and repeat similar process as described above.

now that you have the 6 meshes, if case you want to "tween" from flat to curved, like if the cube was a box you could consider generate then "destinationOpen" planes and use the Animator class to morph your planes to the wanted "closed" state.

Fabrice

On Nov 26, 2009, at 11:52 AM, Lars Schwarz wrote:

hi there,

i just "switched" from papervsion to away3d. is there a way to
unfold/unwrap/open a roundedcube primitive without the need to rebuild
it using "single" planes?

thanks: lars

Reply via email to