[GRASS-user] create 3D raster and display

Hi grass community,
sorry to have to ask - i’ve read through some of the help topics but either i’m not finding the correct answers or not executing the commands correctly.

i want to display a raster in 3D. i.e. display landscape maps ‘draped on top’ of the dem so i can show the terrain in 3D rather than as a flat image.

do i need to convert a raster to a 3D raster via r.to.rast3 or r.to.rast3elev, set the region for 3D?
how to display?

any help is appreciated!
Janet

Janet Choate said:

i want to display a raster in 3D. i.e. display landscape maps 'draped on
top' of the dem so i can show the terrain in 3D rather than as a flat

image.

do i need to convert a raster to a 3D raster via r.to.rast3 or
r.to.rast3elev, set the region for 3D?
how to display?

Not at all. As far as I know, r.to.rast3 is for real 3D with volume and all.

What you want is sometimes called 2.5D and is simply achieved by:

nviz elevation=dem color=landscale_map

The nviz screen should pop open and then you should be able to move your 3D
display as desired.

Regards,
Marcello.

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/create-3D-raster-and-display-tp6248005p6248180.html
Sent from the Grass - Users mailing list archive at Nabble.com.

As to my experience it is also important to set up the region, resolution and
3D-resolution before you launch nviz, as Marcello suggested:

Assuming that your dem has 30-meter resolution:

g.region rast=dem res=30 res3=30

then do:

nviz elevation=dem color=landscale_map

Hope you can do it this way.

Stefan

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/create-3D-raster-and-display-tp6248005p6249494.html
Sent from the Grass - Users mailing list archive at Nabble.com.