|
Thanks, that worked nicely.
----- Original Message -----
Sent: Monday, February 10, 2003 2:57
AM
Subject: [JAVA3D] AW: [JAVA3D] Blowing up
a texture map
Set
texture coordinates to the vertexes of your terrain. Don't use
TexCoordGeneration. That will always work.
Cheers,
Florin
Hello all,
I have a generated texture map (simply processing my
heightfield and assigning colors) that I mapped onto my terrain.
However, I get an unwanted effect. Each triangle is texturized
individually, so you get a repeating texture along the terrain in
strips.
Is there a way to make each triangle a specific color from
the map? I know I could probably assign each vertex a color, but
I have some stuff in mind that would make using a texture advantageous over
assigning colors.
Thanks,
Andy
|