LeeWangyeol / blender-webgl-exporter

Automatically exported from code.google.com/p/blender-webgl-exporter
0 stars 0 forks source link

Native WebGL: ambiguous normals #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launch Blender 
2. Export the default "Cube" model
3. Select "Native WebGL" and "Export normals", before pressing the "Export" 
button.

What is the expected output? What do you see instead?
I get the normals for all the 8 model vertices, but I expected the 18 normals 
for the 18 "vertices" array. I pretend to build a normal attribute buffer for 
the vertices (to apply a "lighting" vertex shader), but the vertices of the 8 
generated normals are unknown (and the "indices" array doesn't help to find out 
the normals for the 18 "vertices").  

What version of the product are you using? On what operating system?
WebGLExport.py (r17)                                                            

Blender 2.49b                                                                   

Ubuntu Linux 10.4                                                               

Please provide any additional information below.

Original issue reported on code.google.com by jordi.ma...@gmail.com on 18 Jul 2010 at 9:57

GoogleCodeExporter commented 8 years ago
A patch is provided for issues #7 and #9.

Original comment by jordi.ma...@gmail.com on 18 Jul 2010 at 11:53

Attachments: