Advertisement

mapping meshes built by triangular polygons

Started by June 13, 2000 05:15 AM
3 comments, last by NinjaCross 24 years, 5 months 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
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?
Advertisement
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