![]() |
![]()
| ![]() |
![]()
NAMEr.out.pov - Converts a raster map layer into a height-field file for POV-Ray. KEYWORDSraster, export, output SYNOPSISr.out.pov
Flags:
Parameters:
DESCRIPTIONr.out.pov converts a user-specified raster map layer (map==name) into a height-field file for POVray (tga==name). The hftype==value option (where value is either 0 or 1) specifies the height-field type. When the user enters 0 the output will be actual heights. If entered 1 the cell-values will be normalized. If hftype is 0 (actual heights) the bias==value can be used to add or subtract a value from heights. Use scale==value to scale your heights by value. The GRASS program r.out.pov can be used to create height- field files for Persistence of Vision (POV) raytracer. POV can use a height-field defined in Targa (.TGA) image file format where the RGB pixel values are 24 bits (3 bytes). A 16 bit unsigned integer height-field value is assigned as follows: RED = high byte, GREEN = low byte, BLUE = empty. EXAMPLEAn example Povray script file may look like this: #include "shapes.inc" #include "colors.inc" #include "textures.inc" #declare Scale = 7; light_source { <40000, Scale*3000, 5000> color MainLight } camera { AUTHORKlaus D. Meyer, GEUM.tec GbR, eMail: GEUM.tec@geum.de SOURCE CODEAvailable at: r.out.pov source code (history) Latest change: Tuesday Dec 17 20:17:20 2024 in commit: d962e90c026708a4815ea2b9f46c0e84c17de22d Main index | Raster index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
|