Bay 12 Games Forum
Finally... => Life Advice => Topic started by: Hippoman on October 30, 2009, 06:43:45 pm
-
A guy I know is rendering terrain from a .RAW file but when rendering the triangle strips, they never appear. He thinks it may be lost due to his rendering setup
Talk to me, and i'll pass it on to him, or get you a direct line to him.
-
I am little more than a beginner, so I can only point out the obvious, but is backface culling in use, and you are seeing the back face(that isn't drawn)? Is it drawing behind the view? Is the clipping distance too near? Is the colour full alpha or otherwise indistinguishable from the background? If textured, is the texture fully transparent? Did he forget to glEnable() something critical? Is it simply a misplaced glClear()? Could the problem be that he is rendering in double-buffered mode and forgetting to swap buffers?
Some/all of that can be tested by switching to GL_POINTS rather than a line strip, and setting a constant colour before. That way, it should be evident if the issue is just seeing it at all or if it is seeing the full object.
-
Did he try reticulating the horizontal p-splines? Or, perhaps, did he reticulate the vertical p-splines, or did he reticulate b-splines? Horizontal or vertical will do it there.
-
I will have him check this topic once he gets on.