Hi!

I want to generate a terrain by using z = intensity(point @ x,y), and
connecting up the
points so generated with tringles.

problem 1)
 I want the color of the triangle to be the average color of it's vertices -
why isn't this code working ? the color is always green

problem 2)
The terrain is positioned  a little bit "behind" the screen. You can use the
keyboard to translate it (a keyboard navigate behavior is attached) - but
I'm not
able to translate the scene before displaying it.

(code attached)

thanks!
vamshi.


Attachment: BasicTerrain1_2.java
Description: Binary data

Reply via email to