|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hello , i want to render all example scenes.
how can i make it automatiquely ?
thanks
guigui magicien
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
guigui magicien wrote:
>
> hello , i want to render all example scenes.
>
> how can i make it automatiquely ?
>
I have a bash script for test rendering all 3.5 sample scenes (and
collection the warnings and errors), but it's really not very user
friendly. In case you want it anyway here is an excerpt from the Windows
version to show how it works.
> #!/bin/bash
>
> STAT_ALL=pov.out
> WARN_ALL=warn.out
> FAT_ALL=fat.out
> STAT_OUT=pov.1
> WARN_OUT=warn.1
> FAT_OUT=fat.1
>
> POVRAY="pvengine.exe /EXIT /RENDER"
> DIR=`pwd`
>
> cd $DIR
> cd camera/
>
> $POVRAY cylinder1.pov -ocylinder1.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY cylinder2.pov -ocylinder2.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY cylinder3.pov -ocylinder3.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY cylinder4.pov -ocylinder4.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY fisheye.pov -ofisheye.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY focalblur.pov -ofocalblur.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY normal.pov -onormal.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY omnimax.pov -oomnimax.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY orthographic.pov -oorthographic.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY panoramic.pov -opanoramic.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY perspective.pov -operspective.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY shear.pov -oshear.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY spherical.pov -ospherical.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
> $POVRAY ultra_wide_angle.pov -oultra_wide_angle.png -p +v -w320 -h240 -a
+gs$DIR/$STAT_OUT +gw$DIR/$WARN_OUT +gf$DIR/$FAT_OUT ; cat $DIR/$STAT_OUT >>
$DIR/$STAT_ALL ; cat $DIR/$STAT_OUT | grep Statistics >> $DIR/$WARN_ALL ; cat
$DIR/$WARN_OUT >> $DIR/$WARN_ALL ; cat $DIR/$FAT_OUT >> $DIR/$FAT_ALL
>
> cd $DIR
> cd incdemo/
Christoph
--
POV-Ray tutorials, IsoWood include,
TransSkin and more: http://www.tu-bs.de/~y0013390/
Last updated 02 Jun. 2002 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
The main problem with that is that not all scenes should be rendered with
a 4:3 aspect ratio.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 11 Jun 2002 18:27:28 +0200, "guigui magicien"
<gui### [at] wanadoofr> wrote:
> hello , i want to render all example scenes.
> how can i make it automatiquely ?
Yesterday I started building and testing set of ini files for pov files which
mention other settings in theirs headers (except already builded inifiles).
I'll post it on this server probably today or tomorrow.
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
wrote:
> On Tue, 11 Jun 2002 18:27:28 +0200, "guigui magicien"
> <gui### [at] wanadoofr> wrote:
> > hello , i want to render all example scenes.
> > how can i make it automatiquely ?
>
> Yesterday I started building and testing set of ini files for pov files which
> mention other settings in theirs headers (except already builded inifiles).
> I'll post it on this server probably today or tomorrow.
Posted in http://news.povray.org/vn3kgus7r8c8vu9im0oquo5vbfk9de8v8d%404ax.com
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
thanks
cl4kgusf09aemsefkm66grb4fcij66thv6@4ax.com...
<abx### [at] babilonorg>
> wrote:
> > On Tue, 11 Jun 2002 18:27:28 +0200, "guigui magicien"
> > <gui### [at] wanadoofr> wrote:
> > > hello , i want to render all example scenes.
> > > how can i make it automatiquely ?
> >
> > Yesterday I started building and testing set of ini files for pov files
which
> > mention other settings in theirs headers (except already builded
inifiles).
> > I'll post it on this server probably today or tomorrow.
>
> Posted in
http://news.povray.org/vn3kgus7r8c8vu9im0oquo5vbfk9de8v8d%404ax.com
>
> ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |