MacFiend
2003.05.04, 07:12 PM
I'm trying to remake SFCave (http://hp.vector.co.jp/authors/VA003665/others/javacave-e.html ) in OpenGL.
I've got everything down pretty good. When I draw the cave using GL_LINE_LOOP, everything is fine. However, when I draw the cave using GL_POLYGON, there are minor discrepancies in the outcome. Some parts of the cave seem to be left out when drawn, resulting in an ugly look. The top of the cave is supposed to look like it fits perfectly into the bottom of the cave. When I draw using GL_LINE_LOOP, that is the case, everything is perfect. But when I draw using GL_POLYGON (this is what I want to do for the final product), the top of the cave does not "match" (lock and key type of thing) the bottom. Any ideas why? Thanks.
I've got everything down pretty good. When I draw the cave using GL_LINE_LOOP, everything is fine. However, when I draw the cave using GL_POLYGON, there are minor discrepancies in the outcome. Some parts of the cave seem to be left out when drawn, resulting in an ugly look. The top of the cave is supposed to look like it fits perfectly into the bottom of the cave. When I draw using GL_LINE_LOOP, that is the case, everything is perfect. But when I draw using GL_POLYGON (this is what I want to do for the final product), the top of the cave does not "match" (lock and key type of thing) the bottom. Any ideas why? Thanks.