Toribash
Original Post
Povray linux, how?
hi,
im using ubuntu dapper (6.06),
installed povray 3.6
and i have no idea how to make it render

i know its a command line only app on unix systems
i've read the "man povray" file, didnt get any of it
i've read the error output, im lost
I'm quite a noob with commandlines :/
so, my question is:
"what command do i need?"

ilia@ilia-desktop:~$ povray -/home/ilia/Desktop/toribash-linux-2.22/raytrace/screenshot-14-10-04-18.pov -test.JPEG
Persistence of Vision(tm) Ray Tracer Version 3.6.1 (g++ 3.4.1 @
 i686-pc-linux-gnu)
This is an official version prepared by the POV-Ray Team. See the
 documentation on how to contact the authors or visit us on the
 internet at http://www.povray.org/.
POV-Ray is based on DKBTrace 2.12 by David K. Buck & Aaron A. Collins
Copyright 1991-2003 Persistence of Vision Team
Copyright 2003-2004 Persistence of Vision Raytracer Pty. Ltd.

Primary POV-Ray 3.5/3.6 Developers: (Alphabetically)
 Chris Cason     Thorsten Froehlich Nathan Kopp     Ron Parker

Contributing Authors: (Alphabetically)
 Steve Anger     Eric Barish     Dieter Bayer    Steve A. Bennett
 David K. Buck    Nicolas Calimet   Aaron A. Collins  Chris Dailey
 Steve Demlow    Andreas Dilger   Alexander Enzmann  Dan Farmer
 Mark Gordon     Christoph Hormann  Mike Hough     Chris Huff
 Kari Kivisalo    Lutz Kretzschmar  Jochen Lippert   Pascal Massimino
 Jim McElhiney    Douglas Muir    Juha Nieminen    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.

Support libraries used by POV-Ray:
 ZLib 1.2.1, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
 LibPNG 1.2.5, Copyright 1998-2002 Glenn Randers-Pehrson
 LibJPEG 6b, Copyright 1998 Thomas G. Lane
 LibTIFF 3.6.1, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
Redirecting Options
 All Streams to console..........On
 Debug Stream to console.........On
 Fatal Stream to console.........On
 Render Stream to console........On
 Statistics Stream to console....On
 Warning Stream to console.......On
Parsing Options
 Input file: OBJECT.POV (compatible to version 3.61)
 Remove bounds........On
 Split unions.........Off
 Library paths:
  /home/ilia/povray//share/povray-3.6
  /home/ilia/povray//share/povray-3.6/ini
  /home/ilia/povray//share/povray-3.6/include
  /usr/local/share/povray-3.6
  /usr/local/share/povray-3.6/ini
  /usr/local/share/povray-3.6/include
Output Options
 Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320).
 Output file: /home/ilia/OBJECT.png, 24 bpp PNG
 Graphic display......On (gamma: 2.2)
 Mosaic preview.......Off
 CPU usage histogram..Off
 Continued trace......Off
Tracing Options
 Quality: 9
 Bounding boxes.......On  Bounding threshold: 3
 Light Buffer.........On
 Vista Buffer.........On  Draw Vista Buffer....Off
 Antialiasing.........Off
 Clock value:  0.000 (Animation off)

 0:00:00 Parsing
Possible Scene File Parser Initialization Error: Could not find file
 'OBJECT.POV'
Scene File Parser Initialization Error: Cannot open input file.
Total Scene Processing Times
 Parse Time:  0 hours 0 minutes 0 seconds (0 seconds)
 Photon Time:  0 hours 0 minutes 0 seconds (0 seconds)
 Render Time:  0 hours 0 minutes 0 seconds (0 seconds)
 Total Time:  0 hours 0 minutes 0 seconds (0 seconds)
Re: Povray linux, how?
try
povray /home/ilia/Desktop/toribash-linux-2.22/raytrace/screenshot-14-10-04-18.pov test.JPEG
I have not used pov-ray in linux yet myself, so there is no guarantee that this will work.

Also, if you are logged in as ilia, instead of /home/ilia you can use ~
I has a flavour
Re: Povray linux, how?
tried it

ilia@ilia-desktop:~$ povray /home/ilia/Desktop/toribash-linux-2.22/raytrace/screenshot-14-10-04-18.pov test.JPEG
Could not find file 'test.JPEG.ini'
Cannot open INI file 'test.JPEG'.
Cannot process command-line due to a parse error.
This is not a valid command-line. Check the command-line for syntax errors, correct them, and try again!
Valid command-line switches are explained in detail in the reference part of the documentation.
To get a short list of command-line switches, use either the '-h', '-?', '-help' or '--help' switch.
Failed to render file due to error(s)!
would it help if i put the output of the '-help' command here?
if so, fetch! :-p

Support libraries used by POV-Ray:
 ZLib 1.2.1, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
 LibPNG 1.2.5, Copyright 1998-2002 Glenn Randers-Pehrson
 LibJPEG 6b, Copyright 1998 Thomas G. Lane
 LibTIFF 3.6.1, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI

Usage: POVRAY [+/-]Option1 [+/-]Option2 ... (-h or -? for help)

 Example: POVRAY scene.ini +Iscene.pov +Oscene.tga +FT +W320 +H200
 Example: POVRAY +Iscene.pov +Oscene.tga +FT +W160 +H200 +V -D +X

The n or n.n (0.n) notation following a command-line option listed
below denotes an integer or a floating-point number, respectively.
Brackets mean that this number is optional.

The help screen is divided into several parts. To access one part
just enter the number of the screen after the -? option or the
-help option.

E.g. use -?5 or -help5 to see the help screen about the tracing
options.

 Number Part
  1   Parsing Options
  2   Output Options
  3   Output Options - display related
  4   Output Options - file related
  5   Tracing Options
  6   Animation Options
  7   Redirecting Options

Parsing options

 I<name> = input file name
 HI<name>= header include file name
 L<name> = library path prefix
 MVn.n  = set compability to version n.n
 SU   = split bounded unions if children are finite
 UR   = remove unnecessary bounding objects

Output options

 Hn   = image height of n pixels
 Wn   = image width of n pixels

 SRn|0.n = start at row n | start row at n percent of image
 ERn|0.n = end  at row n | end  row at n percent of image
 SCn|0.n = start at col n | start col at n percent of image
 ECn|0.n = end  at col n | end  col at n percent of image

 C    = continue aborted trace
 P    = pause before exit
 V    = verbose messages on
 WLn   = set warning level to n
 X[n]  = enable early exit by key hit (every n pixels)

Output options - display related

 D[xy]  = display rendering (in format x, using palette option y)
 SPn   = display mosaic preview, start grid size = 2, 4, 8, 16, ...
 EPn   = display mosaic preview, end grid size  = 2, 4, 8, 16, ...
 UD   = draw vista rectangles

Output options - file related

 B[n]  = Use buffer (of n KB) for output file
 F[x]  = write output file (in format x)
      FC  - Compressed Targa with 24 or 32 bpp
      FN[n] - PNG (n bits/color, n = 5 to 16, default is 8)
      FP  - PPM
      FS  - System specific
      FT  - Uncompressed Targa with 24 or 32 bpp
 O<name> = output file name

 HTx   = write CPU utilization histogram in format x
      HTC - Comma separated values (CSV - spreadsheet)
      HTN - PNG grayscale
      HTP - PPM heightfield
      HTS - System specific
      HTT - Uncompressed TGA heightfield
      HTX - No histogram output
 HN<name>= histogram filename
 HSx.y  = histogram grid number of x, y divisions

Tracing options

 MB[n]  = use bounding slabs (if more than n objects)
 Qn   = image quality (0 = rough, 9 = full)

 A[0.n] = perform antialiasing (if color change is above n percent)
 AMn   = use non-adaptive (n=1) or adaptive (n=2) supersampling
 J[n.n] = set antialiasing-jitter (and amount)
 Rn   = set antialiasing-depth (use n X n rays/pixel)

 UA   = use alpha channel
 UL   = use light buffer
 UV   = use vista buffer

Animation options

 Kn.n  = set frame clock to n.n
 KFIn  = set initial frame number to n
 KFFn  = set final frame number to n
 KIn.n  = set initial clock value to n.n
 KFn.n  = set final clock value to n.n
 SFn|0.n = start subset at frame n | start at n percent in sequence
 EFn|0.n = end subset at frame n | end at n percent in sequence
 KC   = calculate clock value for cyclic animation

 UF   = use field rendering
 UO   = use odd lines in odd frames

Redirecting options

 GI<name>= write all .INI parameters to file name
 Gx<name>= write stream x to console (and/or optional file name)
      GA - All streams (except status)
      GD - Debug stream
      GF - Fatal stream
      GR - Render stream
      GS - Statistics stream
      GW - Warning stream
ps. i cut out the beginning about credits and such
Re: Povray linux, how?
fixed it.. turns out i need to 'cd' my way into the raytrace folder to render stuff

thanks for your help though