OpenGL , Continuous meshes

Started by
0 comments, last by menasius 24 years, 5 months ago
Im having trouble getting the Gourand Shading to work correctly. Is there anyway to get a smooth shade without have triang/quad strips (or fans). What I have is a 64X64 grid that I need to Shade smoothly but as its linear in memory, and jumps down at the end of a line, it doesnt easily lend itself to strips. Any tips on making it look correct?
-menasius"Quitters never win...winners never quit...but those who never win and never quit, are idiots"
Advertisement
I'm a little new to all of this myself, but I think what you need to do is use a vertex list so that shared verticies are only stored once. Then work out which verticies are needed for each of the quads. With your linear array of quads, only store pointers to the verticies, or perhaps array index values.

This topic is closed to new replies.

Advertisement