Resilient wrote:So I am working on trying to get a particular curved shape and am wondering what the best way about doing it is.
What I want is to model a flower blowing in the wind. So as it gets windy the stem will bend more.
As is, I have it modeled as a series of rectangular segments joined by springy joints. It approximates the curve very well. The problem is, when it's really windy the structure of the curve becomes very apparent in the sharp bends. You can essentially see the corners of the rectangles sticking out and the textures stop matching up.
So, I have 50 points easily available that approximate this curve, what is the best way basically draw a line along those points that I can texture with my stem texture?
Resilient wrote:So if I am using VBO's will I still see a performance gain from them if I have to reload the vertexes every frame? This all ends up being 2d so if I lose the beinnifts of VBO's I may just end up using the standard surface instead of OpenGL because the performance is fairly comparable.
Users browsing this forum: No registered users and 3 guests