 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Mahalis wrote:
>
> Is there a POV option to output to GIF format? Better, is there a way to
> make POV-Ray output to a 256 color bitmap?
8-bit color? Ugh, why would you want to? Use Photoshop or something for that...
-Xplo
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>Ugh, why would you want to?
I don't exactly *want* to, I *have* to. Besides. I don't have Photoshop, and
even if I did I doubt it can mass-process all the images in a folder.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Tue, 20 Nov 2001 20:00:59 -0500, Mahalis wrote:
>>Ugh, why would you want to?
> I don't exactly *want* to, I *have* to. Besides. I don't have Photoshop, and
> even if I did I doubt it can mass-process all the images in a folder.
netpbm.
Of course, that's my answer to everything...
--
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Mahalis wrote:
> >Ugh, why would you want to?
> I don't exactly *want* to, I *have* to. Besides. I don't have Photoshop, and
> even if I did I doubt it can mass-process all the images in a folder.
ImageMagick
http://www.imagemagick.org/
--
Jon A. Cruz
http://www.geocities.com/joncruz/action.html
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ron Parker <ron### [at] povray org> wrote:
: netpbm.
: Of course, that's my answer to everything...
In fact, any image conversor suffices, even if it can convert just one image
at a time, as long as it can be used from the command line and you are using
a regular unix shell.
One of the main problems in a windowed-only interfaces (read: Windows) is
that if a program doesn't support something (eg. doing something to a series
of files instead of just one file), then there's nothing you can do about it,
you just have to live with it.
The great thing about an OS that supports a proper command line/scripting
language is that the programs don't have to support things like that as you
can automatize its functionality for several targets at a time.
(And now 90% of people reading this will think that I hate windowed
interfaces. *sigh*)
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
in news:slr### [at] fwi com Ron Parker wrote:
> netpbm.
Well I tried to use it (and imagemagick) in an ini file and failed.
;conv.ini
;for using the post_frame option to convert images on the fly.
[ngif256] ;netpbm
Post_Frame_Command=pnmfile %o
Post_Frame_Command=ppmquant -fs 256 %o | ppmtogif > gif.gif
[igif256] ;imagemagick
Post_Frame_Command=identify -verbose %o
Post_Frame_Command=convert -color 256 -dither %o gif.gif
In both situations the first post frame works, the second fails. The
second works when executed 'by hand' from a commandlinebox.
Also I couldn't figure out how to give the outputfile the 'right' name.
PietjePuk03.ppm >> PietjePuk03.gif
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
ingo <ing### [at] home nl> wrote:
: Also I couldn't figure out how to give the outputfile the 'right' name.
: PietjePuk03.ppm >> PietjePuk03.gif
You don't specify which platform you are using, but in a regular unix shell
you could make the conversion to all the files like this:
for F in *.ppm; do ppmquant -fs 256 $F | ppmtogif > `basename $F .ppm`.gif; done
If you are using zsh, the above command works just fine, but you can also
use a shortcut version:
for F (*.ppm) ppmquant -fs 256 $F | ppmtogif > `basename $F .ppm`.gif
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
in news:3bfb70dd@news.povray.org Warp wrote:
> You don't specify which platform you are using
WinNT4, but you knew that ;)
I'll try this with bash.
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 21 Nov 2001 01:54:04 -0500, Warp wrote:
> Ron Parker <ron### [at] povray org> wrote:
>: netpbm.
>
>: Of course, that's my answer to everything...
>
> In fact, any image conversor suffices, even if it can convert just one image
> at a time, as long as it can be used from the command line and you are using
> a regular unix shell.
> One of the main problems in a windowed-only interfaces (read: Windows) is
> that if a program doesn't support something (eg. doing something to a series
> of files instead of just one file), then there's nothing you can do about it,
> you just have to live with it.
Fortunately, cmd.exe (and I think also command.com) support a FOR command
that's almost identical to the one in bash.
--
plane{-z,-3normal{crackle scale.2#local a=5;#while(a)warp{repeat x flip x}rotate
z*60#local a=a-1;#end translate-9*x}pigment{rgb 1}}light_source{-9red 1rotate 60
*z}light_source{-9rgb y rotate-z*60}light_source{9-z*18rgb z}text{ttf"arial.ttf"
"RP".01,0translate-<.6,.4,.02>pigment{bozo}}light_source{-z*3rgb-.2}//Ron Parker
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ron Parker <ron### [at] povray org> wrote:
: Fortunately, cmd.exe (and I think also command.com) support a FOR command
: that's almost identical to the one in bash.
But at least with command.com there's no way to change the name of the
file (for the output), so in that case the converter program has to change
the name automatically (which fortunately most converters do).
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |