#### Archived

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

# What is "triangle mapping"?

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

## 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 on other sites
can''t help with your question. I just wanted to make sure everyone sees this.

##### Share on other sites
There's also a T&L version floating around somewhere, that adds a few extra lights, might boost the polycount as well. Do a search for Kano on demonews.

Cat

Edited by - Catfish on October 4, 2000 7:03:53 AM

##### 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 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 on other sites
I know what triangle strips are , but what are triangle MAPS?

##### Share on other sites
Actually, the call is glBegin(GL_TRIANGLE_STRIP) and they''re very handy. Also have a look at GL_TRIANGLE_FAN if you get bored of strips.

S.

1. 1
Rutin
26
2. 2
3. 3
JoeJ
20
4. 4
5. 5

• 10
• 10
• 9
• 9
• 10
• ### Forum Statistics

• Total Topics
631752
• Total Posts
3002091
×