[Bf-python] Mesh Face vert order.

Campbell Barton cbarton at metavr.com
Sat Apr 8 04:59:45 CEST 2006


Hi, just updating openflight import and export.
and found a problem-
The order of the verts in a face, once added. is changed from that of 
the original list.

This means that when you later apply the UV's and vert colors, they are 
rotated the wrong way on the face.
- I noticed this with 3ds import when moving from NMesh to mesh but 
thaught it was a corrupt 3ds file..
Tried to avoid the problem by writing an NMesh wrapper (will be included 
in BPyMesh), but with the NMesh wrapper has the same problem so it seems 
to be Mesh.
you could easerly test the problem by making a script that assigns faces 
then check the orsder of new face verts against the original indicies.

Ken, could you look into this? - else Ill have a go at fixing it.

- Cam

-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241



More information about the Bf-python mailing list