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.
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
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.
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.
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.
*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....
Thanks for yours ideas
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL