DaMangz
10-30-2002, 04:37 PM
I am kinda wondering about this how it works in OGL.
I am creating a terrain, and for every step in my height map, I scale the X,Y,Z vertex when I draw it by 1024 in the X and Z, and 256 in the Y . Yet it seems like I get the same results when I scale X,Z by 16 and Y by 4. Shouldn't the big polys be huge on the screen? It seems like OGL automatically scales everything to the same size so I can see it. Either that or I am doing something wrong? Is there a better way to scale the triangles? I am doing it in triangle strips, I run through a loop in my height map and for each vertex, multiply it by the scale and then
glVertex3f(x,y,z)
I am creating a terrain, and for every step in my height map, I scale the X,Y,Z vertex when I draw it by 1024 in the X and Z, and 256 in the Y . Yet it seems like I get the same results when I scale X,Z by 16 and Y by 4. Shouldn't the big polys be huge on the screen? It seems like OGL automatically scales everything to the same size so I can see it. Either that or I am doing something wrong? Is there a better way to scale the triangles? I am doing it in triangle strips, I run through a loop in my height map and for each vertex, multiply it by the scale and then
glVertex3f(x,y,z)