r3.mkdspf(1grass)
π r3.mkdspf β GRASS User's Manual (1grass) π
okay bestie, buckle up, because this is the little icon that turns your giant 3D voxel blob into an actual look-at-it display file β¨
πΈ NAME πΈ
r3.mkdspf β creates a display file from an existing 3D raster map according to specified threshold levels. that's the whole vibe. no cap. π«Ά
π KEYWORDS π
raster3d, display, voxel β that's the tag cloud, periodt.
β¨ SYNOPSIS β¨
r3.mkdspf
r3.mkdspf --help
r3.mkdspf [-qf] input=string dspf=name [levels=float[,float,...]]
[min=float] [max=float] [step=float] [tnum=integer]
[--overwrite] [--help] [--verbose] [--quiet] [--ui]
π© Flags:
-qβ suppress the progress report & the min/max info. like, shhh, we get it π-fβ use flat shading instead of gradient. flat = that crisp chunky look.--overwriteβ allow output files to overwrite existing files (yes, it will absolutely body your old file, be warned π)--helpβ print usage summary--verboseβ verbose module output (chatty mode, main character energy)--quietβ quiet module output--uiβ force launching GUI dialog
π§ Parameters:
input=string[required] β name of an existing 3D raster mapdspf=name[required] β name for output display filelevels=float[,float,...]β list of thresholds for isosurfacesmin=floatβ minimum isosurface levelmax=floatβ maximum isosurface levelstep=floatβ positive increment between isosurface levelstnum=integerβ number of isosurface threshold levels. default:7
π DESCRIPTION π
So here's the tea: r3.mkdspf creates a display file from an existing grid3 file according to specified threshold levels. π
The display file is a display list of polygons that represent isosurfaces of the data volume. (yes, polygons. yes, isosurfaces. it's giving sculpture π )
If specific levels are given, additional optional parameters are ignored. lowkey important, highkey convenient.
min or max may be used alone or together to specify a sub-range of the data.
The step parameter is given precedence over tnum. so if you set both, step wins, periodt π
π© Flags:
-qβ suppress progress report & min/max information-fβ use flat shading rather than gradient
π§ Parameters:
grid3β name of an existing 3D raster mapdspfβ name of output display filelevelsβ list of thresholds for isosurfacesminβ minimum isosurface levelmaxβ maximum isosurface levelstepβ positive increment between isosurface levelstnumβ number of isosurface threshold levels. default:7
π¦ NOTES π¦
Currently the grid3 file must be in the user's mapset, because the display files being created are specific to particular grid3 files and are contained in directories under them. π
We should create a mechanism where users may make display files from others' grid3 files without having to copy them to their mapset. (a girl can dream π β but for now, nope.)
π₯ EXAMPLES π₯
With grid3 data (phdata) in the range 3-7, we only want to see isosurface values for the range 4-6. any of these commands will produce the same results:
r3.mkdspf phdata dspf=iso min=4.0 max=6.0 tnum=5
r3.mkdspf phdata dspf=iso levels=4.0,4.5,5.0,5.5,6.0
r3.mkdspf phdata dspf=iso min=4.0 max=6.0 step=0.5
three different roads, one identical slay. π β¨
π AUTHOR π
Bill Brown, bbrown@gis.uiuc.edu β thank you for your service, king π«‘
β SOURCE CODE β
Available at: r3.mkdspf source code (history)
Latest change: Friday Apr 17 01:04:26 2026 in commit: 32a143358df26b2e518b03c7e0d79541e8d1e5b1
Main index | 3D raster index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
and that's a wrap, bestie π«Ά this was r3.mkdspf(1grass) from the GRASS 8.5.0 Reference Manual, Β© 2003-2026 GRASS Development Team, last touched Friday Apr 17 01:04:26 2026 in commit 32a143358df26b2e518b03c7e0d79541e8d1e5b1. go make some isosurfaces, you absolute icon ππβ¨
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· 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