I need explanations about texturing in java3D.
I created a sphere on which I mapped a jpg image of the earth. I implemented zooming using the mouse.
But what I would like to do is to use different images
to have different levels of details when I zoom.
I used the mipmap texturing technique as in the java 3d tutorials but I haven't obtained the whished results.
Can you please advise me.
Many thanks,
emmon
09-09-2004, 03:07 AM
llama009
You could divide the map into rectangles (i know its not really possible on a sphere but its easier that using a cigar shaped poly), and when you click on it, it could have larger spheres with the more detailed maps on it (centered at that point)
if this is not what your after just ignore this post. Its probably not very helpful
09-09-2004, 04:17 AM
Phaelax
For java3d help, you'll probably have better luck with your questions on gamedev.net forums.
You could make 4 different sizes of your image.
512x512
256x256
128x128
64x64
32x32
Then based on your distance from the sphere, apply the texture.
DDS textures can contain multiple images for mipmap purpose, but i dont know if java3d supports them.
09-10-2004, 07:09 AM
emmok
Thanks for your answers,
Centering an image on the center of the screen when zooming is perhaps a good idea, but since the image is the texture of the Sphere which have to be defined and mapped in advance I wonder how it can be possible.
because:
*loading an image implies that I know where I am on the globe.
*how can I rotate the globe and notice he image to load
Thanks Phaelax, but I would like to zoom closer I have
already tried generating images....