code-google-com / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

Export flips normals #150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.load coat_chef_cucumber_f.max into 3DS MAX
2.inspect normals (eg, render it)
3.export using opencollada with normals and triangulate checked
4.drag and drop DAE file back into 3DS MAX
5.inspect normals (eg, render it)

What is the expected output? What do you see instead?
normals should be the same. instead the normals are flipped and the object does 
not render correctly.

What version of the product are you using? On what operating system?
3ds max 2011 64bit with opencollada 1.2.5
      <authoring_tool>OpenCOLLADA for 3ds Max;  Version: 1.2.5;  Revision: 734:737M;  Platform: x64;  Configuration: Release_Max2011_static</authoring_tool>

Please provide any additional information below.
This only happens on some max files (not all). Very interested in bug fix or 
work around.

Original issue reported on code.google.com by dave.mcc...@gmail.com on 4 Jan 2011 at 10:00

Attachments:

GoogleCodeExporter commented 9 years ago
The render should look like this. If there is something special about this max 
file that causes the problem, and there is a work around, that would be as good 
as a bug fix.

Original comment by dave.mcc...@gmail.com on 4 Jan 2011 at 10:10

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
We think this happens because the model was skinned without first doing a reset 
transform on the root node.  Because when we collapsed the stack and use the 
reset transform tool the normals flip. Then if you flip them back and re-add 
the skin modifier and export and then open up the dae the normals are fine.

So that appears to be the work-around. Nevertheless, I think this is still a 
bug in the exporter?? And the work-around is a time killer.

Original comment by dave.mcc...@gmail.com on 7 Jan 2011 at 6:58

GoogleCodeExporter commented 9 years ago

Original comment by opencollada2@googlemail.com on 26 Jan 2011 at 8:32