brlrt / away3d

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

Phong Material on Lathe Extrude, odd results #94

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Someone already posted this in the mailing list a while ago.
I've the same problem and Fabrice ask me to post this here again.

...
I'm trying to apply a PhongColorMaterial to a lathe mesh, and the
results don't look right at all. I'm trying to apply the material like
so:

material: new PhongColorMaterial(_data.color)

and a simple light:

_light = new DirectionalLight3D( {brightness: .85, x: 300, y: 300, z:
-200, debug: false  });

and I'm getting a strange result:

http://lab.sibhod.com/phongMat/

Original issue reported on code.google.com by m...@splinelab.de on 8 Feb 2010 at 7:55

GoogleCodeExporter commented 8 years ago
Just tested this in new release (2.5) and looks like problem is still there
unfortunately :(

Original comment by timdia...@gmail.com on 6 May 2010 at 8:08

GoogleCodeExporter commented 8 years ago
Additionally tested this on 3.5 which produces a kind of flat shading effect? 
Example
here...

http://www.iamarobot.co.uk/lathee/main.html

I'm desperate to produce a lathe object with nice shading :(

Original comment by timdia...@gmail.com on 8 May 2010 at 6:31

GoogleCodeExporter commented 8 years ago
This has now been fixed and updated in the trunk source

http://code.google.com/p/away3d/source/detail?r=2677
http://code.google.com/p/away3d/source/detail?r=2678

Original comment by rob.bate...@gmail.com on 4 Jul 2010 at 10:40

GoogleCodeExporter commented 8 years ago
away3d 2.5.0, fp9, not fixed!

Original comment by PedroSan...@gmail.com on 10 Sep 2010 at 2:12