[GRASS5] New NVIZ fly navigation

Hello everybody.

A new "immersive" navigation for NVIZ has been added by Markus to the CVS repository.

This "fly" navigation allows to move the 3D point of view with mouse buttons and movements. With the new basic 3D graphic cards that are now usual even on laptops, it can be useful to fly not only over, but "inside" the DTM 3D models at high resolution. The flythrough addition to NVIZ allows to do so in 3 different ways that are explained directly on the user interface. Furthermore, navigation can be quickly switched between "coarse" and "fine".

For developers: a callback mechanism has been added that allows to register external functions and calls them at the "appropriate" moments in the drawing loop, after everything else has been drawn.

We at ACS (an Italian software company) are using GRASS/NVIZ for a research project about the desertification named RIADE (www.riade.net) and have developed several functions: the flythrough is the most general purpose of them.

I have to thank my colleagues and especially the project manager that trusted and allowed us to use free software for this project.

Massimo Cuomo

Massimo Cuomo wrote:

Hello everybody.

A new "immersive" navigation for NVIZ has been added by Markus to the
CVS repository.

I just tried it out - it is great! Thank you very much for the
contribution.
I had only one problem - when I tried to read g3d file to see whether it
will work with the volume data I got an error message
id in get_drawmode is invalid.
I will try at home on a different machine, but maybe be somebody who has
the slovakia3d data set installed could test it for volume data too.

Helena

This "fly" navigation allows to move the 3D point of view with mouse
buttons and movements. With the new basic 3D graphic cards that are now
usual even on laptops, it can be useful to fly not only over, but
"inside" the DTM 3D models at high resolution. The flythrough addition
to NVIZ allows to do so in 3 different ways that are explained directly
on the user interface. Furthermore, navigation can be quickly switched
between "coarse" and "fine".

For developers: a callback mechanism has been added that allows to
register external functions and calls them at the "appropriate" moments
in the drawing loop, after everything else has been drawn.

We at ACS (an Italian software company) are using GRASS/NVIZ for a
research project about the desertification named RIADE (www.riade.net)
and have developed several functions: the flythrough is the most general
purpose of them.

I have to thank my colleagues and especially the project manager that
trusted and allowed us to use free software for this project.

Massimo Cuomo

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

Hello again,

Helena Mitasova wrote:

Massimo Cuomo wrote:

Hello everybody.

A new "immersive" navigation for NVIZ has been added by Markus to the
CVS repository.

I just tried it out - it is great! Thank you very much for the
contribution.

Thank you.

I had only one problem - when I tried to read g3d file to see whether it
will work with the volume data I got an error message
id in get_drawmode is invalid.
I will try at home on a different machine, but maybe be somebody who has the slovakia3d data set installed could test it for volume data too.

Helena

I didn't have the chance to try it with volume data. As I changed something to the command Ndraw_all I can expect some problem, but I used the same functions as in draw.c eliminating only the swap buffer functions between the drawing of surf, vect, sites and volumes to avoid the flickering. Check the differences between Ndraw_all_cmd (draw.c) and Ndraw_all_together_cmd (togl_flythrough.c) if you want to see what has changed.

Please, let me know what happens with the further tests.

Massimo

It works fine, I got an error message on my home machine too, but it showed up
only the first time I loaded g3d file and never again, so I assume it was my local
problem.

thank you once more,

Helena

Thank you.

I had only one problem - when I tried to read g3d file to see whether it
will work with the volume data I got an error message
id in get_drawmode is invalid.
I will try at home on a different machine, but maybe be somebody who has the slovakia3d data set installed could test it for volume data too.

Helena

I didn't have the chance to try it with volume data. As I changed something to the command Ndraw_all I can expect some problem, but I used the same functions as in draw.c eliminating only the swap buffer functions between the drawing of surf, vect, sites and volumes to avoid the flickering. Check the differences between Ndraw_all_cmd (draw.c) and Ndraw_all_together_cmd (togl_flythrough.c) if you want to see what has changed.

Please, let me know what happens with the further tests.

Massimo