POV-Ray(1)
π POV-Ray(1) π
okay bestie, gather round β this is the manual page for povray, a.k.a. POV-Ray: The Persistence of Vision Ray Tracer, Version 3.7. Yes, the whole manual. Yes it's long. No we're not skimming it. periodt β¨
π NAME π
povray β POV-Ray: The Persistence of Vision Ray Tracer π
Like. That's the name. That's the whole vibe. It traces rays. It persists vision. iconic behavior honestly π
β¨ SYNOPSIS β¨
povray [+Ooutput_file] [+/-option ...] [input_file]
povray [+Iinput_file] [+Ooutput_file] [+/-option ...] [INI_file]
two ways in, bestie, pick your fighter π
π¦ DESCRIPTION π¦
okay so. POV-Ray is a free, full-featured ray tracer, and it's written and maintained by a team of volunteers on the Internet π«Ά. On the UNIX platform, POV-Ray can be compiled with support for preview capabilities using the X Window System.
heads up! This manual page only lists the basic POV-Ray and UNIX specific features and command-line options for this version of POV-Ray. For the complete description of the features of POV-Ray and its scene description language (a.k.a. POV-Ray SDL), or for a better explanation of the meaning of the command-line and INI file options, please consult the documentation that should accompany all versions of POV-Ray.
And where does that documentation live, you ask? she's installed at PREFIX/share/doc/povray-3.7, where PREFIX is /usr/local by default, or a path specified when configuring the source package for compilation and installation. π
πΈ Some of the UNIX-specific features are πΈ
- Support for X Window display automatically uses the best visual class and deepest depth available. For visuals that do not support 24 bits of color per pixel, Floyd-Steinberg error diffusion dithering is used, along with a dynamically allocated and optimized palette to produce the best display possible with the current visual, depth, and available colormap. she's doing the MOST to make it look good and honestly? we love her for it π β¨
- ICCCM compliance for the X Window version means that the preview window will behave like standard X Window programs, communicate properly with the window manager, and will accept the standard command-line options. See
X(1)for more information. πͺ - ASCII graphics in the text-mode version allow a basic view of the current rendering on text-only terminals. no pixels? no problem, we do letters π€
- An interrupt handler allows rendering to be interrupted in a safe way, so that any data not currently written to disk will be saved before exiting. Control-C or SIGINT will cause a user abort, and save the current rendering, before exiting. See
kill(1)for more information. π - Platform and architecture-independent rendering means that the same scene will render in the same way on all computers and operating systems (with the exception of the rendering speed, of course). π same scene, same glow-up, every machine π
β¨ OPTIONS β¨
okay bestie, this is the part where POV-Ray hands you the entire control panel ποΈ and honestly? it's a lot but we're gonna eat it slice by slice.
Here's the tea on how options work: you can write them with a leading + or a leading -, either one, no drama. Many options are switches, meaning + turns the option on and - turns it off. For other options, it genuinely does not matter which sign you use π«Ά.
Most options cannot have spaces in them, so you should write +FN and not +F N. And combining options is not allowed β so +SC is very different from +S +C π do not merge them, that's not a thing.
Options are not case sensitive. lowercase, uppercase, whatever, she doesn't care.
The command-line options are shown below next to their corresponding INI file options π. And if the same option gets specified multiple times β whether in INI files or on the command-line β the last such option overrides any previous ones, with one exception: the +L or Library_Path option, which is cumulative (she stacks, she doesn't replace) π
.
π§ Parsing options
I<input_file_name>orInput_File_Name=fileβ specifies the input file to use. Only real files are supported. Using-as the input file name, to read from the standard input, is deprecated.HI<header_include_file_name>orInclude_Header=fileβ specifies a file as the first include file of a scene file. This can be used to always include a specific set of default include files used by all your scenes β¨.L<library_path>orLibrary_Path=pathβ specifies a directory to search for input files, include files, fonts, and image maps, if the specified file is not in the current directory. This may be specified multiple times to increase the number of directories to search π¦.MVn.norVersion=floatβ treat scene files as if they were versionn.ninstead of the current version. This may be overridden from within the scene file.SUorSplit_Unions=boolβ split bounded CSG unions if children are finite. This allows automatic bounding of CSG objects to take place.URorRemove_Bounds=boolβ remove unnecessary bounding objects. This allows automatic bounding of older scene files to take place.BM1orBounding_Method=1β enable BVH (Bounding Volume Hierarchy) bounding (the default) π.BM2orBounding_Method=2β enable BSP (Binary Space Partitioning) tree bounding.
π Output options
HnorHeight=integerβ the image should benpixels high.WnorWidth=integerβ the image should benpixels wide.SRnorStart_Row=integerβ start the rendering at rownfrom the top of the screen.SR0.norStart_Row=floatβ start the renderingnpercent from the top of the screen.ERnorEnd_Row=integerβ end the rendering at rownfrom the top of the screen.ER0.norEnd_Row=floatβ end the rendering atnpercent from the top of the screen.SCnorStart_Column=integerβ start the rendering at columnnfrom the left of the screen.SC0.norStart_Column=floatβ start the rendering atnpercent from the left of the screen.ECnorStart_Column=integerβ end the rendering at columnnfrom the left of the screen.EC0.norStart_Column=floatβ end the rendering atnpercent from the left of the screen.CorContinue_Trace=boolβ continue a previously interrupted trace.PorPause_When_Done=boolβ if previewing, pause when the rendering is complete before closing the window βΈοΈ.VorVerbose=boolβ output verbose status messages on the progress of the rendering.WLnorWarning_Level=integerβ set warning level ton.XorTest_Abort=boolβ enable the'q'and'Q'keys to interrupt a rendering in progress.XnorTest_Abort_Count=integerβ only check everynpixels for a user abort.
πΈ Output options β display related
D[0][GHT]orDisplay=bool Palette=charβ display the rendering in progress, optionally specifying the palette. The only valid X Window palette option isG, which forces grayscale preview. The X Window palette is based on the visual used, whether selected automatically by POV-Ray or via the-visualoption. To specify the palette, you must first specify the display type (the second character, shown here as'0') for compatibility reasons, even though it is ignored in UNIX versions π.SPnorPreview_Start_Size=integerβ start mosaic preview with blocksnpixels square.EPnorPreview_End_Size=integerβ end mosaic preview with blocksnpixels square.UDorDraw_Vistas=boolβ draw vista rectangles before rendering has been deprecated.
Heads up bestie:UD/Draw_Vistasis deprecated. It's giving legacy energy π.
π Output options β file related
F[CEHJNPST][n]orOutput_to_File=bool Output_File_Type=charβ store the rendered image using one of the available formats, namely Compressed TGA, OpenEXR, Radiance High Dynamic-Range, JPEG, PNG, PPM, System specific (PNG) and TGA πΌοΈ.O<output_file>orOutput_File_Name=fileβ write the output to the file namedoutput_file, or the standard output if-is given as the output file name.MInorMax_Image_Buffer_Memory=nβ sets the allowable size of the output image cache in megabytes.
π₯ Tracing options
MBnorBounding=bool Bounding_Threshold=integerβ use automatic bounding slabs if more thannobjects are in the scene.QnorQuality=integerβ render at qualityn. Qualities range from0for rough images and9for complete ray-tracing and textures, and10and11add radiosity β¨.A0.norAntialias=bool Antialias_Threshold=integerβ do antialiasing on the pixels until the difference between adjacent pixels is less that0.n, or the maximum recursion depth is reached.AMnorSampling_Method=integerβ specify the method of antialiasing used, non-adaptive (n = 1), or adaptive antialiasing (n = 2).Jn.norJitter=bool Jitter_Amount=floatβ specify maximum radius, in pixels, that antialiased samples should be jittered from their true centers.RnorAntialias_Depth=integerβ set the maximum recursion depth for antialiased pixel sub-sampling.UAorOutput_Alpha=boolβ use alpha channel for transparency mask.ULorLight_Buffer=boolβ use light buffer to speed up rendering has been deprecated.UVorVista_Buffer=boolβ use vista buffer to speed up rendering has been deprecated.
More legacy tea:UL/Light_BufferandUV/Vista_Bufferare both deprecated, no cap π.
π¦ Animation options
Kn.norClock=floatβ render a single frame of an animation with the clock valuen.n.KFInorInitial_Frame=integerβ specify the initial frame number for an animation.KFFnorFinal_Frame=integerβ specify the final frame number for an animation. This must be set at a value other that1in order to render multiple frames at once.KIn.norInitial_Clock=floatβ specify the clock value for the initial frame of an animation.KFn.norFinal_Clock=floatβ specify the clock value for the frame final of an animation.SFnorSubset_Start_Frame=integerβ render a subset of frames from an animation, starting at framen.SF0.norSubset_Start_Frame=floatβ render a subset of frames from an animation, startingnpercent into the animation.EFnorSubset_End_Frame=integerβ render a subset of frames from an animation, stopping at framen.EF0.norSubset_End_Frame=floatβ render a subset of frames from an animation, stoppingnpercent into the animation.KCorCyclic_Animation=boolβ generate clock values for a cyclic animation.UForField_Render=boolβ render alternate frames using odd/even fields, suitable for interlaced output.UOorOdd_Field=boolβ start a field rendered animation on the odd field, rather than the even field.
π Redirecting options
GI<name>orCreate_Ini=boolorCreate_Ini=fileβ write all INI parameters to a file named after the input scene file, or one with the specified name.G[ADFRSW]<name>or<Stream>_File=boolor<Stream>_File=fileβ write the stream to the console and/or the specified file. The streams areAll_File(except status),Debug_File,Fatal_File,Render_File,Statistics_File, and theWarning_FileπΊ.
π X Window System options
In addition to the standard command-line options, POV-Ray recognizes additional command-line switches related to the X Window System. See X(1) for a complete description of these options π«Ά.
-display <display_name>β display preview ondisplay_namerather than the default display. This is meant to be used to change the display to a remote host. The normal dispay option+dis still valid.-geometry [WIDTHxHEIGHT][+XOFF+YOFF]β render the image withWIDTHandHEIGHTas the dimensions, and locate the windowXOFFfrom the left edge, andYOFFfrom the top edge of the screen (or if negative the right and bottom edges respectively). TheWIDTHandHEIGHT, if given, override any previousWnandHnsettings.-helpβ display the X Window System-specific options. Use-Hby itself on the command-line to output the general POV-Ray options.-iconβ start the preview window as an icon.-title <window_title>β override the default preview window title withwindow_title.-visual <visual_type>β use the deepest visual ofvisual_type, if available, instead of the automatically selected visual. Valid visuals areStaticGray,GrayScale,StaticColor,PseudoColor,TrueColor, orDirectColor.
π RESOURCES
Currently no X resource or app-default files are supported for the X Window options π.
ποΈ FILES (where all the little files live, bestie) ποΈ
Okay so POV-Ray for UNIX is very into letting a povray.ini file in the current directory override the individual setting in $HOME/.povray/3.7/povray.ini. Yes she has layers. Main character behavior honestly.
Here's the β¨hunt orderβ¨ for initial configuration information, like the Library_Path settings, which tells her where the standard include files are:
- first in the environment variable
$POVINI - then in
./povray.ini - then in
$HOME/.povray/3.7/povray.ini - then in
PREFIX/etc/povray/3.7/povray.ini
The PREFIX directory can be changed at compile-time using the --prefix option of the configure script. iykyk π
And for backward compatibility with POV-Ray version 3.5 and earlier, the $HOME/.povrayrc and $PREFIX/etc/povray.ini files are also searched for when none of the above files were found. She's nostalgic, she keeps the old receipts. π«Ά
Since version 3.5 POV-Ray features an I/O Restriction mechanism. I/O Restrictions attempt to at least partially protect a machine running POV-Ray from having files read or written outside of a given set of directories. lowkey a whole security vibe. The settings are defined in two configuration files:
- a system-level
PREFIX/etc/povray/3.7/povray.conffile - an user-level
$HOME/.povray/3.7/povray.conffile with more restrictive settings
As of POV-Ray 3.6 the format of these configuration files has changed, and no backward compatibility is retained with the configuration files in POV-Ray 3.5. π¨ So don't come in with your 3.5 conf expecting a warm welcome, she's changed. See the documentation for further details and examples of I/O Restriction settings.
povlegal.doc should accompany all installations of POV-Ray, and outlines specific conditions and restrictions on the POV-Ray software. A condition of povlegal.doc requires that documentation, INI and scene files be available to all users of POV-Ray. Scene and INI files are typically installed in PREFIX/share/povray-3.7, and documentation in PREFIX/share/doc/povray-3.7, but these may be in other locations on some systems. (Not everywhere keeps the same layout, she's flexible like that. π¦)
The most recent version of POV-Ray and its documentation can always be retrieved via anonymous FTP at ftp.povray.org or via HTTP at povray.org, as well as many other locations. Go get your girl. π
π SEE ALSO π
X(1)kill(1)- The POV-Ray Manual
like, go read the manual bestie, it's giving β¨required readingβ¨
Β©οΈ COPYRIGHT Β©οΈ
Persistence of Vision Ray Tracer (POV-Ray) Copyright 1991-2013 Persistence of Vision Raytracer Pty. Ltd.
For further information see the file povlegal.doc that comes with this program.
The X Window System is Copyright 1984 - 1991 the Massachusetts Institute of Technology Copyright 1992 - 1996 the X Consortium, Inc. Copyright 1998 the Open Group, L.L.C. Copyright 1999 - 2004 the X.Org Foundation, L.L.C.
β’οΈ TRADEMARKS β’οΈ
The terms Persistence of Vision Raytracer and POV-Ray are trademarks of Persistence of Vision Raytracer Pty. Ltd.
UNIX is a registered trademark of The Open Group in the US and other countries.
so like. don't be out here using these names all willy-nilly, that's β¨theirβ¨ branding π
π BUGS π
Bestie. Listen. Before reporting a bug to our bug-tracking system bugs.povray.org you should make sure you have the latest version of the software, in case the bug has already been fixed. π Nobody wants to file a duplicate, it's so embarrassing for everyone.
There are a large number of POV-Ray users on the POV-Ray newsserver news.povray.org and a list of available groups can be found on povray.org/resources/newsgroups. You should try to find help and assistance in there before lodging a bug report. The community is right there, they're lovely, they will help you. π«Ά
π AUTHORS π
Primary POV-Ray 3.7 Architects/Developers: (Alphabetically)
Chris Cason Thorsten Froehlich Christoph Lipka
With Assistance From: (Alphabetically)
Ton van den Broek Nicolas Calimet Jerome Grimbert James Holsenback
Christoph Hormann Nathan Kopp Juha Nieminen
Past Contributors: (Alphabetically)
Steve Anger Eric Barish Dieter Bayer David K. Buck
Nicolas Calimet Chris Cason Aaron A. Collins Chris Dailey
Steve Demlow Andreas Dilger Alexander Enzmann Dan Farmer
Thorsten Froehlich Mark Gordon James Holsenback Christoph Hormann
Mike Hough Chris Huff Kari Kivisalo Nathan Kopp
Lutz Kretzschmar Christoph Lipka Jochen Lippert Pascal Massimino
Jim McElhiney Douglas Muir Juha Nieminen Ron Parker
Bill Pulver Eduard Schwan Wlodzimierz Skiba Robert Skinner
Yvo Smellenbergh Zsolt Szalavari Scott Taylor Massimo Valentini
Timothy Wegner Drew Wells Chris Young
Other contributors are listed in the documentation. π
π ACKNOWLEDGEMENT π
POV-Ray is based on DKBTrace 2.12 by David K. Buck and Aaron A. Collins.
not to be dramatic but. legends. absolute icons. πββοΈ
and that's the whole page bestie!! π this was POV-Ray(1), from the POV-Team, dated July 2021. go render something gorgeous, you ate. π β¨π¦
π¦ where this page comes from
- debian bookworm: povray 1:3.7.0.10-2+b2 Β· AGPL-3.0-or-later
- debian trixie: povray 1:3.7.0.10-3+b2 Β· AGPL-3.0-or-later
- ubuntu jammy: povray 1:3.7.0.10-1 Β· AGPL-3.0-or-later
- ubuntu noble: povray 1:3.7.0.10-3build4 Β· AGPL-3.0-or-later
- ubuntu questing: povray 1:3.7.0.10-3build6
- ubuntu resolute: povray 1:3.7.0.10-3build7 Β· AGPL-3.0-or-later
- ubuntu stonking: povray 1:3.7.0.10-3build8 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms