View Full Version : How to set smoothing level in OpenGl?

08-27-2001, 09:00 AM
hi guys!
how can i set the smoothing level?
do you know programms like 3dexploration, which is based on opengl too`?
there you can in/decrease the level of smoothing!
but how to do that?
Thanks for your help!

08-27-2001, 10:48 AM
Hi !

Not sure what you mean here, the only thing you can do in OpenGL is to select if you want to use vertex normals or not (this will interpolate normals to make a mesh of triangles "look" smoother), if you mean to make a mesh smoother, through subdivision or something like that, then this is at a much higher level then OpenGL.

OpenGL itself is just a rendering engine to display your triangles, you have to supply them yourself, and if you want subdivision you will have to do that before you send the triangles to OpenGL.


08-27-2001, 11:41 PM
sounds very hard 2 do ;)
there must be a way to auto-generate these smoother normals...
in 3d Exploration they can make this with every object...
there you can set the smoothing level in degrees!
THX for your help!

08-28-2001, 12:00 AM
Hi !

Calculating vertex normals is pretty easy if you just have the triangle, there are lots of documentation on this available, and there are lots of different ways to do it, but it's not difficult.