[PyOpenGL-Users] Polygon Normal Smoothing?
Brought to you by:
mcfletch
From: Patrick V. P. <pa...@la...> - 2008-01-16 00:45:18
|
Hello! New user here, with a hopefully simple question. I'm currently writing an object/animation loader with PyOpenGL, using mostly what is presented in the python-adjusted Nehe tutorials (with some hackery to display calllists like a flipbook). I'm happy to say that it is all working great so far, however I just started to include some of the lighting code and its giving me some nasty polygon edges. Basically, it looks like the normals aren't smoothing across the surface of the object. See picture here: http://img212.imageshack.us/img212/5102/facetedgd8.jpg It was at this point that I realized the tutorials all use cubes, which of course have a sharp edge. Can anyone point me in a direction to get the surface to look like it is a nice smooth surface? Thanks for any and all help! PS: The model was a free one off of Turbosquid that I slapped some quick animation onto. _____________________________________________________________________ The information contained in this message and its attachments is confidential and proprietary to LAIKA, Inc. By opening this email or any of its attachments, you agree to keep all such information confidential and not to use, distribute, disclose or copy any part of such information without the prior written consent of LAIKA, Inc. If you are not the intended recipient of this message, any use, distribution, disclosure or copying of such information is prohibited. If received in error, please contact the sender. |