🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

mapping meshes built by triangular polygons

Started by
3 comments, last by NinjaCross 24 years ago
Hey guys !! I''ve got a little question... How can i map (using a single texture) a terrain-mesh built by triangular polygons ? Thankyou in advance. //------------- Making Funny Garbage Codes on http://members.xoom.it/NinjaCross/
//-------------A straight line may be the shortest distance between two points, but it is by no means the most interesting.http://members.xoom.it/NinjaCross
Advertisement
Well there is an ugly way to do it..
You can take a texture which looks the same all over..
Like a Grass texture if you know what I mean..

Well then you texture each polygon individuly..

Looks so so but it will do the job and conserve texture memory



______________________________
ohh well what the heck lets try it?
______________________________ohh well what the heck lets try it?
Thankyou Dweeb, but what i wanted to know, was HOW maps the polygons individually, in code if possible


//-------------
Making Funny Garbage Codes on
http://members.xoom.it/NinjaCross
//-------------A straight line may be the shortest distance between two points, but it is by no means the most interesting.http://members.xoom.it/NinjaCross
hi,

what is the drawing algo of your terrain-mesh?

lunasol
Since you prob won''t be deforming the terrain why don''t you just make a quick/dirty map to apply over all the polygons (ie use each vertices x and z pos to pick off u and v positions off the texture)

DA

"You think that''s air you''re breathing now?"
"You think that''s air your breathing now?"

This topic is closed to new replies.

Advertisement