m.nviz.image(1)
β¨ NAME β¨
m.nviz.image β the GRASS GIS girlie who creates a 3D rendering of GIS data. π
She renders surfaces (raster data), 2D/3D vector data, and volumes (3D raster data) in 3D. Like, all of it. In three whole dimensions. Obsessed. π¦
π KEYWORDS π
miscellaneous, visualization, graphics, raster, vector, raster3d
π¦ SYNOPSIS π¦
m.nviz.image
m.nviz.image --help
m.nviz.image [-anb] [elevation_map=name[,name,...]]
[elevation_value=value[,value,...]] [color_map=name[,name,...]]
[color=name[,name,...]] [mask_map=name[,name,...]]
[transparency_map=name[,name,...]]
[transparency_value=value[,value,...]] [shininess_map=name[,name,...]]
[shininess_value=value[,value,...]] [emission_map=name[,name,...]]
[emission_value=value[,value,...]] [mode=string[,string,...]]
[resolution_fine=value[,value,...]]
[resolution_coarse=value[,value,...]] [style=string[,string,...]]
[shading=string[,string,...]] [wire_color=name[,name,...]]
[surface_position=x,y,z[,x,y,z,...]] [vline=name[,name,...]]
[vline_layer=string[,string,...]] [vline_width=value[,value,...]]
[vline_width_column=name[,name,...]] [vline_color=name[,name,...]]
[vline_color_column=name[,name,...]] [vline_mode=string[,string,...]]
[vline_height=value[,value,...]] [vline_position=x,y,z[,x,y,z,...]]
[vpoint=name[,name,...]] [vpoint_layer=string[,string,...]]
[vpoint_size=value[,value,...]] [vpoint_size_column=name[,name,...]]
[vpoint_width=value[,value,...]] [vpoint_width_column=name[,name,...]]
[vpoint_color=name[,name,...]] [vpoint_color_column=name[,name,...]]
[vpoint_marker=string[,string,...]]
[vpoint_marker_column=name[,name,...]]
[vpoint_mode=string[,string,...]] [vpoint_position=x,y,z[,x,y,z,...]]
[volume=name[,name,...]] [volume_mode=string[,string,...]]
[volume_shading=string[,string,...]]
[volume_position=x,y,z[,x,y,z,...]]
[volume_resolution=value[,value,...]]
[isosurf_level=volume:value[,volume:value,...]]
[isosurf_color_map=name[,name,...]]
[isosurf_color_value=name[,name,...]]
[isosurf_transparency_map=name[,name,...]]
[isosurf_transparency_value=value[,value,...]]
[isosurf_shininess_map=name[,name,...]]
[isosurf_shininess_value=value[,value,...]]
[slice=volume:axis[,volume:axis,...]]
[slice_position=x1,x2,y1,y2,z1,z2[,x1,x2,y1,y2,z1,z2,...]]
[slice_transparency=value[,value,...]] [bgcolor=name] [position=x,y]
[height=value] [perspective=value] [twist=value] [zexag=value]
[focus=x,y,z] [light_position=x,y,z] [light_color=name]
[light_brightness=integer] [light_ambient=integer]
[fringe=string[,string,...]] [fringe_color=name]
[fringe_elevation=integer] [cplane=value[,value,...]]
[cplane_position=x,y,z[,x,y,z,...]]
[cplane_rotation=value[,value,...]] [cplane_tilt=value[,value,...]]
[cplane_shading=string] [arrow_position=x,y] [arrow_size=value]
[arrow_color=name] output=name format=string size=width,height
[--overwrite] [--help] [--verbose] [--quiet] [--ui]
π© Flags
-aβ use draw mode for all loaded surfaces-nβ toggles normal direction of all isosurfaces (this changes the light effect, so likeβ¦ it's giving different lighting, periodt)-bβ draw volume box--overwriteβ allow output files to overwrite existing files (yes bestie, it will actually replace them π)--helpβ print usage summary--verboseβ verbose module output--quietβ quiet module output--uiβ force launching GUI dialog
π Parameters
elevation_map=name[,name,...]β name of raster map(s) for elevationelevation_value=value[,value,...]β constant elevation value(s) to use instead of a raster DEMcolor_map=name[,name,...]β name of raster map(s) for colorcolor=name[,name,...]β color value(s)- Either a standard color name or
R:G:Btriplet
- Either a standard color name or
mask_map=name[,name,...]β name of raster map(s) for masktransparency_map=name[,name,...]β name of raster map(s) for transparencytransparency_value=value[,value,...]β transparency value(s)- Options:
0-255
- Options:
shininess_map=name[,name,...]β name of raster map(s) for shininessshininess_value=value[,value,...]β shininess value(s)- Options:
0-255
- Options:
emission_map=name[,name,...]β name of raster map(s) for emissionemission_value=value[,value,...]β emission value(s)- Options:
0-255
- Options:
mode=string[,string,...]β draw mode- Options:
coarse,fine,both - Default:
fine
- Options:
resolution_fine=value[,value,...]β fine resolution- Default:
6
- Default:
resolution_coarse=value[,value,...]β coarse resolution- Default:
9
- Default:
style=string[,string,...]β draw style- Options:
wire,surface - Default:
surface
- Options:
shading=string[,string,...]β shading- Options:
flat,gouraud - Default:
gouraud
- Options:
wire_color=name[,name,...]β wire color- Either a standard color name or
R:G:Btriplet - Default:
136:136:136
- Either a standard color name or
surface_position=x,y,z[,x,y,z,...]β surface position- Default:
0,0,0
- Default:
vline=name[,name,...]β name of vector map- Name of line vector overlay map(s)
vline_layer=string[,string,...]β layer number or name- Layer number or name for thematic mapping
- Default:
1
vline_width=value[,value,...]β vector line width- Options:
1-100 - Default:
2
- Options:
vline_width_column=name[,name,...]β name of width definition column- Name of attribute column
vline_color=name[,name,...]β vector line color- Either a standard color name or
R:G:Btriplet - Default:
blue
- Either a standard color name or
vline_color_column=name[,name,...]β name of color definition column- Name of attribute column
vline_mode=string[,string,...]β vector line display mode- Options:
surface,flat - Default:
surface surface: drape on raster surfaceflat: draw at constant elevation
- Options:
vline_height=value[,value,...]β vector line height- Options:
0-1000 - Default:
0
- Options:
vline_position=x,y,z[,x,y,z,...]β vector lines position- Default:
0,0,0
- Default:
vpoint=name[,name,...]β name of vector map- Name of point vector overlay map(s)
vpoint_layer=string[,string,...]β layer number or name- Layer number or name for thematic mapping
- Default:
1
vpoint_size=value[,value,...]β icon size (map units)- Options:
0-1000 - Default:
100
- Options:
vpoint_size_column=name[,name,...]β name of size definition column- Name of attribute column
vpoint_width=value[,value,...]β icon width- Options:
1-1000 - Default:
2
- Options:
vpoint_width_column=name[,name,...]β name of width definition column- Name of attribute column
vpoint_color=name[,name,...]β icon color- Either a standard color name or
R:G:Btriplet - Default:
blue
- Either a standard color name or
vpoint_color_column=name[,name,...]β name of color definition column- Name of attribute column
vpoint_marker=string[,string,...]β icon marker- Options:
x,box,sphere,cube,diamond,dec_tree,con_tree,aster,gyro,histogram - Default:
sphere
- Options:
vpoint_marker_column=name[,name,...]β name of marker definition column- Name of attribute column
vpoint_mode=string[,string,...]β 3D vector point display mode- Options:
surface,3D - Default:
3D surface: drape on raster surface3D: place at 3D point's z-elevation
- Options:
vpoint_position=x,y,z[,x,y,z,...]β vector points position- Default:
0,0,0
- Default:
volume=name[,name,...]β name of 3D raster map(s)volume_mode=string[,string,...]β volume draw mode- Options:
isosurface,slice - Default:
isosurface
- Options:
volume_shading=string[,string,...]β volume shading- Options:
flat,gouraud - Default:
gouraud
- Options:
volume_position=x,y,z[,x,y,z,...]β volume position- Default:
0,0,0
- Default:
volume_resolution=value[,value,...]β volume resolution- Default:
3
- Default:
isosurf_level=volume:value[,volume:value,...]β isosurface levelisosurf_color_map=name[,name,...]β name of volume for isosurface colorisosurf_color_value=name[,name,...]β isosurface color- Either a standard color name or
R:G:Btriplet
- Either a standard color name or
isosurf_transparency_map=name[,name,...]β name of 3D raster map(s) for isosurface transparencyisosurf_transparency_value=value[,value,...]β transparency value(s) for isosurfaces- Options:
0-255
- Options:
isosurf_shininess_map=name[,name,...]β name of 3D raster map(s) for shininessisosurf_shininess_value=value[,value,...]β shininess value(s) for isosurfaces- Options:
0-255
- Options:
slice=volume:axis[,volume:axis,...]β volume slice parallel to given axis (x,y,z)slice_position=x1,x2,y1,y2,z1,z2[,x1,x2,y1,y2,z1,z2,...]β volume slice position- Default:
0,1,0,1,0,1
- Default:
slice_transparency=value[,value,...]β volume slice transparency- Options:
0-255 - Default:
0
- Options:
bgcolor=nameβ background color- Either a standard color name or
R:G:Btriplet - Default:
white
- Either a standard color name or
position=x,yβ viewpoint position (x,ymodel coordinates)- Options:
0.0-1.0 - Default:
0.84,0.16
- Options:
height=valueβ viewpoint height (in map units)perspective=valueβ viewpoint field of view (in degrees)- Options:
1-180 - Default:
40
- Options:
twist=valueβ viewpoint twist angle (in degrees)- Options:
-180-180 - Default:
0
- Options:
zexag=valueβ vertical exaggerationfocus=x,y,zβ focus to point on surface (from SW corner in map units)light_position=x,y,zβ light position (x,y,zmodel coordinates)- Default:
0.68,-0.68,0.80
- Default:
light_color=nameβ light color- Either a standard color name or
R:G:Btriplet - Default:
white
- Either a standard color name or
light_brightness=integerβ light brightness- Options:
0-100 - Default:
80
- Options:
light_ambient=integerβ light ambient- Options:
0-100 - Default:
20
- Options:
fringe=string[,string,...]β fringe edges- Options:
nw,ne,sw,se nw: North-West edgene: North-East edgesw: South-West edgese: South-East edge
- Options:
fringe_color=nameβ fringe color- Either a standard color name or
R:G:Btriplet - Default:
grey
- Either a standard color name or
fringe_elevation=integerβ fringe elevation- Default:
55
- Default:
cplane=value[,value,...]β cutting plane index (0-5)cplane_position=x,y,z[,x,y,z,...]β cutting planex,y,zcoordinates- Default:
0,0,0
- Default:
cplane_rotation=value[,value,...]β cutting plane rotation along the vertical axis- Options:
0-360 - Default:
0
- Options:
cplane_tilt=value[,value,...]β how much the cutting plane is tilted. Options:0-360. Default:0cplane_shading=stringβ the color of the cutting plane, like, the space between the two surfaces. Options:clear,top,bottom,blend,shaded. Default:cleararrow_position=x,yβ drops the north arrow at the position you give it. π§ coordinates are in screen space, measured from the bottom-left corner, bestie.arrow_size=valueβ how big the north arrow is (in map units).arrow_color=nameβ the north arrow's color. You can hand it a standard color name or anR:G:Btriplet. Default:blackoutput=name[required] β the name for your output image file, and no extension okay?? just the name.format=string[required] β what graphics file format you want. Options:ppm,tif. Default:ppmsize=width,height[required] β the size (width, height) of your output image. Default:640,480
β¨ DESCRIPTION β¨
m.nviz.image lets you realistically render multiple surfaces (that's your raster data πΊοΈ) out in 3D space, all from the command line. And it's not just bare surfaces either β optionally you get thematic coloring, you can drape 2D vector data over the surfaces, show 3D vector data floating in the space, and visualize volume data (3D raster data) too. it's giving full 3D main character energy π
πΈ EXAMPLE πΈ
Render that elevation map in 3D space, periodt:
g.region raster=elevation
m.nviz.image elevation_map=elevation output=elev perspective=15
π¦ SEE ALSO π¦
wxGUI 3D viewer
π AUTHORS π
- Martin Landa, Google Summer of Code 2008 (mentor: Michael Barton) and Google Summer of Code 2010 (mentor: Helena Mitasova)
- Anna Kratochvilova, Google Summer of Code 2011 (mentor: Martin Landa)
π SOURCE CODE π
Available at: m.nviz.image source code (history)
Accessed: Saturday Jan 17 05:41:37 2026
Main index | Miscellaneous index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
okay bestie that's the whole page, you're literally a 3D rendering icon now πβ¨ this is from the GRASS GIS 8.4.2 reference manual, page m.nviz.image(1), accessed Saturday Jan 17 05:41:37 2026 β go make something gorgeous, ilysm π«Άπ
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms