[Bf-python] Vertex normal bug?

Ryan Southall R.Southall at brighton.ac.uk
Tue Feb 26 23:25:23 CET 2013


Hi.
I can't figure out if I'm doing something wrong in my script or there is a  
bug in the vertex normal calculation.
I have a script that uses
Code:
mesh = obj.to_mesh(bpy.context.scene, True, 'PREVIEW', calc_tessface=False)
mesh.transform(obj.matrix_world)

to give me world data for an object obj. This correctly returns world  
space face normals & position, and vertex position, but incorrect vertex  
normals. I have to accept first any rotation of the object to get correct  
vertex normals.
Am I doing something wrong? I'm on arch linux 64bit with a vanilla 2.66  
install.
Cheers
Ryan

___________________________________________________________
This email has been scanned by MessageLabs' Email Security
System on behalf of the University of Brighton.
For more information see http://www.brighton.ac.uk/is/spam/
___________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20130226/d4d696cc/attachment.html>


More information about the Bf-python mailing list