Mipmap technique


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Mipmap technique

  1. #1
    Join Date
    Sep 2004
    Posts
    2

    Question Mipmap technique

    Hi all,

    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

  2. #2
    Join Date
    Aug 2004
    Posts
    17
    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

  3. #3
    Join Date
    Mar 2004
    Posts
    635
    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.

  4. #4
    Join Date
    Sep 2004
    Posts
    2
    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....

    Thanks for yours ideas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center