Hello everybody:
 
    I know that this is not really a Java3D API question, but anyways...
 
    I´m looking for one or some ways of providing to a 3D surface with a map texture.
 
    Nowadays I read from a DTED format map, map coordinates and their relative height. With this information I'm creating a 3D surface that represents the zone of the map with this surface (mountains, etc.). I´m using TriangleStripArray for making the map in line sections.
 
    The map is composed of n map line sections and each line has m vertex.
 
                ------------------------------------------------
                |--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|
                |--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|
                |--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|
                |--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|
                |--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|
                |--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|
                |--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|
                |--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|--|
                ------------------------------------------------
 
    Then I read a jpeg image with the same resolution of the grid I have created and I add it as a Texture to the main object root I have.
 
    The result is that I have the map as a texture over the surface, but I have some problems:
 
        The resolution is not to high, the map it's only seen when you put far away the camera. If the camera is near to the surface you can see how image pixels are related to the cells of the grid I have created. If I increase the resolution of the image I loose the 1 to 1 relation between pixels and cells so cells become enlarged and the image becomes worst.
 
    I see anywere smoother textures applied to a surface but I don´t know which kind of mechanisms or algorithms they use to do that, if anyone has any idea of how to do it or knows where can I read about that it will be appreciated.
 
Thanks for advance.
 
Regards.                 
 
Aitor Illarramendi Amilibia
 
Ingeniero de software
Mando y Control
 Indra.bmp
 
Carretera de Loeches, 9
28850 - Torrejón de Ardoz, Madrid (ESPAÑA)
Tel: +34-91-626.84.46
Fax: +34-91-626.81.14
 


---------------------------------------------------------------------------
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de Indra. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
---------------------------------------------------------------------------
The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of Indra. If you have received this communication in error, please, notify the sender by reply e-mail.
---------------------------------------------------------------------------

Reply via email to