jokerbuilder / cortex-vfx

Automatically exported from code.google.com/p/cortex-vfx
0 stars 0 forks source link

Nuke MeshToNukeGeometryConverter can not handle FaceVarying "N" #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use FromMayaMeshConverter to create a MeshPrimitive, which has primitive 
variable called "N" which type is FaceVarying. 
2. write it out to disk cob file
3. use Reader to read this MeshPrimitive and use MeshToNukeGeometryConverter to 
convert it to Nuke geometry and "N" is not converted because the Nuke converter 
only handles Vertex type normals, while not FaceVarying ones. 

What is the expected output? What do you see instead?
The converter should handle both FaceVarying and Vertex "N", so basically if 
"N" is FaceVarying, then get the average of all the normals attached to the 
same vertex.

Original issue reported on code.google.com by ymco...@gmail.com on 9 Jul 2012 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by thehaddo...@gmail.com on 9 Jul 2012 at 3:11