Article View: comp.graphics.animation
Article #808Re: pov-ray ... help sought
From: D U D L E Y
Date: Mon, 11 Jan 1993 21:21
Date: Mon, 11 Jan 1993 21:21
42 lines
2234 bytes
2234 bytes
gopi@IASTATE.EDU (Katra G Gopichand) writes:
>I am just starting off on using pov-ray. Please forgive this dumb question.
>I am using the UNIX version which outputs a file in the dump(?) format with
>a *.dis extension. Could anyone please post or reply as to how to convert
>this to the gif format or view it in any other fashion.
From the documentation:
# Table 1-1 Command Line Parameters
# Parameter.....|.....Range.....|...Description..............
# -----------------------------------------------------------
...
# +f(?) | t, d or r | Output file format:
# | | Targa, dump or raw.
...
# Unless file output is disabled (-f) POV-Ray will create an
# image file of the picture. This output file describes each
# pixel with 24 bits of color information. Currently, three
# output file formats are directly supported:
#
# +ft - Uncompressed Targa-24 format (IBM-PC Default)
# +fd - Dump format (QRT-style)
# +fr - Raw format - one file each for Red, Green and Blue.
I would recommend using the targa output. I usually do the following to
convert a targa file to gif:
tgatoppm output.tga | ppmquant 256 | ppmtogif > output.gif
The ppm (portable pixmap) utilities are a part of the pbmplus package
which is available at many ftp sites (ask archie) if it isn't already
installed on your system.
Other people may do it using different utilities, but this way is fairly
common and straightforward.
[ followups redirected to comp.graphics ]
--
John "Dudley" Hunkins
dudley@matt.ksu.ksu.edu
Technical Details
Message-ID:
<1isocrINNaf1@matt.ksu.ksu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!newsReferences:
<1993Jan11.092841@IASTATE.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news From: dudley@matt.ksu.ksu.edu (D U D L E Y) Newsgroups: comp.graphics.animation Subject: Re: pov-ray ... help sought Date: 11 Jan 1993 15:21:31 -0600 Organization: Kansas State University Lines: 42 Message-ID: <1isocrINNaf1@matt.ksu.ksu.edu> References: <1993Jan11.092841@IASTATE.EDU> NNTP-Posting-Host: matt.ksu.ksu.edu Keywords: povray, unix, gif