home *** CD-ROM | disk | FTP | other *** search
- ------------------------------------------------------------
- Cloudy Planet PovRay 2.1 Script files, created by Mike Young.
- ------------------------------------------------------------
-
- A bozo color mapped sphere which is rotated through 360 degrees one degree
- at a time right to left, with a slightly larger very Clear, White & Gray
- bozo sphere rotated left to right, also there are five orbiting spheres which
- were generated by whirl3d (not yet released into the public domain) tracking
- around the planet like five moons.
-
- Mail me on CompuServe 100031,764 if you have any comments, ideas, a better
- way of achieving the same effect or problems.
-
- Zip file contents, time, size and hardware considerations.
- ---------------------------------------------------------
-
- WHIRLINC.ZIP - 360 INC files WHIRL???.INC
- CLPL.POV - Script file
- CLPLGEN.BAT - Batch file for concatenating the
- CLPL.POV and the WHIRL???.INC to generate CLPL???.POV
-
- CLPL.BAT - To drive the whole thing, example below.
- CLPL.GIF - Sample image 320x240x256, with 10% of the moons to give an
- idea of their orbits.
-
- call runpov D320 CLPL001 +B16 +K1 +A -P -D -X +V
- call runpov D320 CLPL002 +B16 +K2 +A -P -D -X +V
- call runpov D320 CLPL003 +B16 +K3 +A -P -D -X +V
- .
- .
- .
- etc.
-
- I had to tweak the RUNPOV batch file to zip up the TGA output and delete the
- TGA as below this was because of the size of the 360 TGA files would take
- 84 meg (which I didn't have).
-
- Below the file RUNPOV tweaked.
-
- c:\povray\povray c:\povray\%1.def -i%2.pov -o%2.tga %3 %4 %5 %6 %7 %8 %9
- pkzip %2 %2.tga
- del %2.tga
-
- I discovered that DTA.EXE will take ZIP files as input so I used the below
- command line to construct the FLI animation file.
-
- DTA clpl???.ZIP /Oclpl.FLI
-
- I have problems selecting the res. output from POVRAY for FLI generation
- you may have to experiment for your own requirments. I choose 320x240 by
- changing my D320.DEF file and a normal camera res. of right <0.0,0.0,0.0>,
- but while writing this text I discovered why I was getting the squashed
- 320x200 images when viewing the TGA's. I believe if you have the res. at
- 320x200 (correct for FLI's) and have a right <1.6,0.0,0.0> the aspect
- ratio is correct, but the camera or zoom may need to be changed for the
- correct view. (Hope all this is not to confusing).
-
- The run time was 2 minutes 10 seconds on my 486DX266 for each frame times
- 360 was a long time of 13 hours, with 15 or so minutes to create the FLI.
- I ran it when I went to bed, went to work, got back and then viewed it.
-
- Disk space needed for the zipped TGA's is 11,143,591 bytes.
- (Which can be deleted if necessary after the FLI has been successfully
- created.)
-
- Disk space needed for the CLPL.FLI is 3,932,996 bytes.
-
- The FLI runs well on my machine which has 8 meg of total RAM but it did
- take a while to load.
-
- I use my own FLI player which I wrote with Visual Basic (WIN) to play the
- FLI's I generate under windows, I just wrote the front end part and utilised
- the VBPLAY.VBX & AAPLAY.DLL routines which came with another windows FLI viewer.
- I hate having a title bar or buttons around graphics, only the image with
- a speed control the file open in a pop-up form which can be hidden.
-
- ------------------------------------------------------------ CLPL.TXT End