Posted by erniejunior
on August 21, 2009 at 5:53 AM PDT
i'm new in java3d. Until now i just built moving cubes etc... But now i want to do more. I would like to render a height map (e.g. for creating a landscape). I tried to use many QuadArrays. But the QuadArrays don't seem to be sensitive for the lighting in the scene. I can built my ,,landscapes'' but they are just plain white; now shadows on it. So my question is: is there a better method to put a height map (grayscale image or generated array of doubles) to a 3D geometry object? Or how do i get shadows on my QuadArrays (e.g. gouraud)? I would be very pleased if someone could give me a hint. Just a search phrase for google would be fine. Because i searched the whole internet but found nothing except this article: http://nice3d.de/index.php?option=com_content&view=article&id=50:heightm... but it is not based on j3d. Thank you in advance for your answers.