GoogleEarth-like textures assignment ?

Hi all

How I can replace only a portion of a previously assigned

texture (for instance in a sphere ) by a little piece that is most defined,

just like Google Earth do when we make a zoom in it

thanks in advance

Alejandro




Answer this question

GoogleEarth-like textures assignment ?

  • somewww

    If I am understanding your question correctly you'll need multiple textures for each zoom level, chosen based on the distance between the viewer and the sphere (or part of the sphere). This value can be calculated and passed to the shader to choose the appropriate detail texture or LOD that represents that range of distances.


  • Mark Traudt

    You are going to have to update the texture coordinates for themarts of the mesh that are now visible so that you can use a bigger part of a smaller mesh. Then you can load the smaller texture and render it.

    Try looking at the worldwind source code - it does this very well, its all MDX and there is a very active forum where people will help



  • adavidson

    yes but the problem is that I can't replace the entire

    texture of the sphere because this "texture" is actually

    a 10 Gb raw data image, even though I make diferent thumbnails

    when I zoom enough I can't load it in memory, that's why

    I need a way to replace only the sector that is in the zooming

    by a thumbnail (too) of the corresponding part in the enormous bitmap

    each time more defined (in pixels ) but more small too

    preventing the overload of the memory

    that's the problem



  • GoogleEarth-like textures assignment ?