 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
in news:slr### [at] fwi com Ron Parker wrote:
> Fortunately, cmd.exe (and I think also command.com) support a FOR
> command that's almost identical to the one in bash.
>
Have not tried this FOR thing yet, but mentioning 'cmd.exe' triggered a
solution for my problem.
Post_Frame_Command=ppmquant -fs 256 %o | ppmtogif > gif.gif
does not work, nothing seems to happen.
Post_Frame_Command=cmd /c ppmquant -fs 256 %o | ppmtogif > gif.gif
works fine.
Post_Frame_Command=command /c ppmquant -fs 256 %o | ppmtogif > gif.gif
does not work. POV says: could not create process.
Is there something I can do to POV-Ray or my system (WinNT 4) that
autmatically cmd.exe is used?
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 21 Nov 2001 08:49:55 -0500, Warp wrote:
> 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).
But it can append to the existing name. So, for example:
D:\myfiles\POV>for %i in (*.bmp) do copy %i %i.bak
D:\myfiles\POV>copy dispersion.bmp dispersion.bmp.bak
1 file(s) copied.
D:\myfiles\POV>copy disp.bmp disp.bmp.bak
1 file(s) copied.
D:\myfiles\POV>copy sig000.bmp sig000.bmp.bak
1 file(s) copied.
--
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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Tue, 20 Nov 2001 16:28:55 +0200, Kari Kivisalo
<ray### [at] engineer com> wrote:
>I have processed succesfully 16bpc images in Win98SE Photostop.
Me too.
>You are mixing presentation with processing.
I am not. What I meant was that truly professional graphics work is
done on graphics workstation where 48 bit color is native.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vip bg
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Peter Popov" <pet### [at] vip bg> wrote :
>
> I am not. What I meant was that truly professional graphics work is
> done on graphics workstation where 48 bit color is native.
And I have to agree that your definition of "professional" is unusual.
Almost all professional computer art is -not- done on such workstations.
Some of the best and biggest jobs are, but not any large percentage of the
total of professional artwork.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Wed, 21 Nov 2001 17:28:03 -0500, "Bill DeWitt"
<bde### [at] cfl rr com> wrote:
> And I have to agree that your definition of "professional" is unusual.
>Almost all professional computer art is -not- done on such workstations.
>Some of the best and biggest jobs are, but not any large percentage of the
>total of professional artwork.
I know a girl who can draw a better sunset in MS Paintbrush (16
colors) than I would ever do in POV. But this is art, and I was
talking about work (although I have to agree that in CG the line is
quite blurred)
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vip bg
TAG e-mail : pet### [at] tag povray org
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |