Archived

This topic is now archived and is closed to further replies.

What is "triangle mapping"?

This topic is 6280 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I went to a site a while ago, and he had some movies of a program he made that had EXTREMELY realistic water. He said he was using triangle strips, which he claims to drop the poly count to around 5k. What is "triangle mapping" and how does one implement it?n Any demos? Thanks! -SkyFire

Share this post


Link to post
Share on other sites
You could use bump mapping with procedrual textures to generate nice water surfaces modified in realtime. (by wind or whatever)

You could also use triangles to create an approximation of a water surface.

You only need to mimick water, so look at water, study it and you''ll end up in a way of doing it.

You can do everything yourself, it''s much more interesting at the beginning, cause you''ll best understand what you find after having found your own solution.

-* So many things to do, so little time to spend. *-

Share this post


Link to post
Share on other sites
Triangle strips are a way of drawing just like GL_QUADS or GL_TRIANGLES. To use triangles I *think* you do GL_TRISTRIPS or something like that. Anyway, with triangle strips, you basicly draw triangles BUT Each triangle must have a common edge with the triangle before it. Like this(Hope the diagram works):

    


O*****O*********O*
* * * *
* * * * *
* * * * *
* * * * **O
* * * * ***
*O* * * **
** * ***
** * **
*O*



The ''O''s are vertices and the ''*''s are edges. Notice how eatch triangle shares an edge of the triangle before it

Share this post


Link to post
Share on other sites