We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › opengl issues with smooth polygons
Page Index Toggle Pages: 1
opengl issues with smooth polygons (Read 892 times)
opengl issues with smooth polygons
Apr 29th, 2009, 1:16am
 
hi folk, this is my first post here!

I'd like to know if there is a way to get a smooth appereance to the 3d models rendered with processing in opengl like it happens in some 3d software such 3d max or maya.

look at this ref picture: derius.com/works/smooth.jpg

thanks for your help

Re: opengl issues with smooth polygons
Reply #1 - Apr 29th, 2009, 1:46am
 
you need to define the normals for each of your vertices so that the lighting knows how to shade the triangle.

some information here
http://processing.org/reference/normal_.html
Page Index Toggle Pages: 1