next_inactive up previous root


Ray-traced movies

Gene Michael Stover

created Sunday, 2006 September 17
updated Sunday, 2006 October 1

Copyright © 2006 Gene Michael Stover. All rights reserved. Permission to copy, store, & view this document unmodified & in its entirety is granted.


1 What is this?

These are the results of a personal programming project in which I write programs which create virtual worlds & produce movies of them. I use an open source ray-tracer, \& of course the movie CODEC is commercial, but I wrote the other software, most of it in Lisp.

Here are some stills & the movies I've produced with some implementation notes about them.

2 First try: Fractal balls

file name balls0.avi
date Sunday, 2006 September 17
file size 12.4 megabyte
duration 20 second
frame rate 20 frame/second
frame size 640 by 480
color 24 bit/pixel before encoding
codec Cinepak

This is the first movie I made to test my movie-making software system. I'm not sure the balls are a fractal. It looks fractal-ish to me, so for lack of a better term, I'm calling it "fractal balls". I found the scene description in a book about ray-tracing.

This "virtual world", if it qualifies as such, is static. The camera moves from a higher elevation to a lower elevation; there are no other changes to the world between frames.

By experimenting with different CODECs, I learned that Cinepak gives the best quality of the CODECs installed on my computer now. I've heard it is portable, so I'll probably continue to use Cinepak.

3 Two pyramids, a sphere, & a can of pop

Cinepak codec Intel IV 4.1 codec
file name world0-cvid.avi world0-iv41.avi
file size 10 megabyte 434 kilobyte
date Sunday, 2006 October 1
duration 45 second
frame rate 24 frame/second
frame size 320 by 200
color 24 bit/pixel before encoding

All four objects are sitting on a marble table top, & the camera rotates around them. You can see the marbling well in the version compressed via Cinepak, but you can hardly see it at all in the version compressed with IV 4.1. Also, on my computer, the frame rate with IV 4.1 is low & irregular.

The pyramids are instances of the same object, but one is scaled to be larger. The pyramid which looks black isn't black. It's solid glass. You can see reflections on its surface some of the time, but I guess the one overhead light source & the few objects to reflect make it look black.

The sandy-coloured pyramid is supposed to be colored & clear, like coloured glass. I wasn't able to twiddle my ray tracer's parameters to make that happen the way I wanted.


next_inactive up previous root