v.out.pov(1grass)

✨ v.out.pov ✨

okay so bestie, welcome to the v.out.pov page from the GRASS User's Manual πŸ’– this one is your little translator between GRASS and the 3D-render world, and honestly? it's giving crossover episode 🌈

NAME β€” not to be dramatic but: v.out.pov converts GRASS x,y,z points to POV-Ray x,z,y format. yes the axes get shuffled, that's literally the whole personality, don't panic 🫢

KEYWORDS β€” vector, export, output πŸ‘‘


πŸ’… SYNOPSIS

v.out.pov
v.out.pov --help
v.out.pov input=name  [layer=string]   [type=string[,string,...]]
output=name  [size=string]   [zmod=string]   [objmod=string]
[--overwrite]  [--help]  [--verbose]  [--quiet]  [--ui]

she's a command with options, no positional args, no chaos, we love a low-maintenance icon ✨

πŸŽ€ Flags

  • --overwrite β€” lets your output files just bulldoze whatever was already sitting there. yes ma'am, permission granted πŸ’€
  • --help β€” prints the usage summary so you can stop guessing, bestie
  • --verbose β€” the module gets chatty and tells you everything it's doing
  • --quiet β€” shhh. no talking. just vibes 🌸
  • --ui β€” forces a GUI dialog to pop up, main character entrances only

πŸ¦‹ Parameters

  • input=name [required] β€” the name of your input vector map. also can be a data source for direct OGR access, iykyk
  • layer=string β€” layer number or name (use '-1' for all layers). one single vector map can be connected to multiple database tables, and this number decides which table gets used. when you're doing direct OGR access it's the layer name instead. default is literally -1 πŸ“
  • type=string[,string,...] β€” which input feature type(s) you want. your options are: point, line, boundary, centroid, area, face, kernel. the default lineup is point,line,area,face πŸ’–
  • output=name [required] β€” what to name your output POV file, no cap
  • size=string β€” the radius of the sphere for points and the tube for lines. can also be a variable, like grass_r. default: 10 πŸŽ€
  • zmod=string β€” this string gets appended to every single z coordinate, scoot scoot. examples: '*10', '+1000', '*10+100', '*exaggeration' ✨
  • objmod=string β€” object modifier (it's the OBJECT_MODIFIER in the POV-Ray documentation, go check her out). example: "pigment { color red 0 green 1 blue 0 }" 🌈

🌸 DESCRIPTION

v.out.pov converts GRASS vector data to POV-Ray format (www.povray.com). that's it, that's the entire job description, and she does it flawlessly πŸ’…


⭐ EXAMPLE

v.out.pov input=vector3d output=vector3d.pov objmod="pigment { color red 0 green 1 blue 0 }"

and then the generated file can be included in an existing .pov file with this statement right here:

#include "vector3d.pov"

so cute, so easy, we're obsessed 🫢


🧚 REFERENCES

POV-Ray πŸ’œ


πŸ‘‘ SEE ALSO

r.out.pov β€” her sibling, her bestie, her counterpart in raster-land 🌟


πŸ’– AUTHOR

Radim Blazek, ITC-Irst, Trento, Italy β€” thank you for your service, legend πŸŽ€


πŸ”₯ SOURCE CODE

Available at: v.out.pov source code (history)

Latest change: Friday Feb 07 19:16:09 2025 in commit: a82a39f673b97fafcfce1604dc3e6015cb96487a

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index


okay that's the whole page bestie, every flag, every default, every single detail, nothing skipped, we ate and left no crumbs πŸ˜­πŸ’…

and for the cute sign-off: this whole thing is Β© 2003-2026 GRASS Development Team, straight out of the GRASS 8.5.0 Reference Manual, running on GRASS 8.5.0 🌸 mwah, go render something iconic πŸ’œβœ¨

πŸ“¦ where this page comes from