Problems with index geometry
I am making a little terrain rendering program but have reached a problem when I try to increase the size of the map.
I had a version working that was a 10 x 10 version, but now that I have extended it to 62 x 62 the problem I am getting is weird.
What is happening is that every polygon that is drawn has its first vertex at point (0, 0, 0). However, when I debug the code and look at the order of my index buffer, it is correct (i.e, should use the last polygon to create the next). So I don’t know what is going wrong.
I am trying to display them with Triangle strip. When I display them with a point list, every point is in the correct place.
Has anyone had a similar problem?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement