I came across an issue when using Cube with a map6 material, compiled
through the Flex 3.2 sdk (other versions/circumstances may have the
same issue) which was reported on the group in this thread :-

http://groups.google.com/group/away3d-dev/browse_thread/thread/e3e48b6c3714e77d/812318f2637406ee?lnk=gst&q=map6#812318f2637406ee

Basically, the problem is that the UV is all messed up when using map6
material mapping. Tracking it through, it seems to be a strange bug in
flex.

Simply changing the declaration of .....

 private var _offset:Number = 1/3;

to

 private var _offset:Number = 1/3.0;

.... seems to make the calculation work. Previously it was coming out
as zero, hence
the UVs were all messed up.

I've updated the trunk for both fp9 and fp10 versions of Cube.as.
Hopefully things should work now.

Greg

Reply via email to