Home
x86 Instruction Chart
9 Volt Battery Chargers
Library of Congress Classification System
SMPTE Colorbars Test Pattern (in Javascript)
255 Shades of Grey, Red, Green and Blue Test Pattern (in Javascript)
Spice BJT Model Viewer
Ohm's Law Calculator
Solid State Circuit Breaker (20V 650mA)
Example POV-Ray Animation
Example Virtual Machine
Salt Flats & Aeromods
Locating a Gunshot with an Array of Microphones
Power Supply References
Audio Amp + Spice References
Benchmarks
Image Processing
8087 FPU Instruction Chart
KFC 'Secret' Recipe
Neddy's Brownies
Ham and Cheese Muffins
Railroad Tracks
The Bike Shed
The Guy That Invented Fire
Mods for the TRS-80 Color Computer

Example POV-Ray Animation


Find the Helicopter
Frame 130 from Orbit


main.pov - Setup

main.pov

This is the main file.

This is a 6 second video at 30 frames per second for a total of 180 frames numbered from 1 to 180.

A helicopter flies in a straight line at constant speed and height past a single camera position.

Assign clock to the STEP variable instead of using clock directly in your POV source code. This makes it much easier to render exactly the frame you want in single frame mode and to have the frame look identical in both single frame and animation modes.

Camera position Orbit shoots the scene from high up. Set the rough start and end positions of the helicopter using this view. This view is good for answering the 'Where is the Helicopter?' question.

Camera position Zero is close to the final position, but set at right angles to make it easier to find and position the helicopter. Start and end positions are tuned. The middle position is set.

Camera position One is set to make use of a diagonal which is not as boring as camera position zero. The helicopter flight plan is finalized.

The Colored Balls visually map out x,y,z dimensions and serve as markers. They do not appear in the final rendering.

Lighting is very time consuming and the most difficult thing of all.


main3.pov - Final Render

This is the main file for the final run.

main3.pov

This is the gif height map of the grand canyon used to texture the surface.

grandcan.gif


heli02.inc

heli02.inc

This is the helicopter. The rotors rotate based on clock.


movie.ini

movie.ini

Resolution and clock settings.


_clean.bat

_clean.bat

Removes the bitmap files. They take a lot of space, and bitmaps with different resolutions left over from sample renderings will break bmp2avi.


_mkmovie.bat

_mkmovie.bat

Runs bmp2avi. Converts the bitmaps into a huge uncompressed avi that is unplayable, but a perfect input file for Windows Media Encoder.


Windows Media Encoder

This converts the huge .avi into a playable .wmv file that is much much smaller. Use the 'Convert A File' Wizard.

Microsoft's Windows Media Encoder


Final Video

Flyby1Ground.wmv 1.5 megabytes

180 Frames rendered at 1280x720 resolution with POV-Ray 3.7 Multi-core Beta, assembled with bmp2avi at 30 Frames per second and compressed by Windows Media Encoder 9 to a 5 Mbs stream.


First Video

180 Frames rendered at 320x240 resolution.

Flyby1.wmv 1.2 megabytes

180 Frames rendered at 1280x720 resolution.

Flyby1HiRes.wmv 2.0 megabytes


Source Code
Back Next


sparksandflames.com
Sparks and Flames
Copyright © 2016