Ben's Raytracing Gallery:
Short


    These images were created for round two of the "Shortest Code Contest". I entered three images, two of which are displayed here. While it did not make sense for me to enter the other images as well, I still like them and thought they were excellent examples of efficient coding. I have included the scene files for all of them, and the description files for the first two which were required in the contest.

-V- Click on the images to view the larger versions -V-


Wave Cubes Short
"Wave Cubes Short"
I personally thought this image would be a winner. I got the code down to 280 bytes, which is quite a feat considering I took it down from over three times that size, while making improvements on the image as well. It was simply not inspiring enough to garner many votes. Not enough reflection I guess. I still love it as a desktop wallpaper.
Scene File: bs1.pov
Description File: bs1.txt
by Ben Scheele -- initial 4-15-01, secondary 3-7-02, final 6-23-02
Color Space


Wallpaper version
"Color Space"
Silver Medal
Artistry
    Best Picture   
The most innovative thing about this image is the use of colored mirrors to create multiple differently colored objects. This image and code actually won three awards: first place for artistry and third for both efficiency and paucity. It had the most votes, and had enough more than the competition to claim a couple more awards. It is actually a modification of one of my first scenes ever. I worked with macros to get it under the 500 byte limit, and then after the contest I realized something that could have cut another 28 bytes off. You'll just have to figure out what that is on your own. Note that the source is over 500 bytes right now because I added line breaks for your viewing convenience.
Scene File: bs2.pov
Description File: bs2.txt
by Ben Scheele -- initial 5-10-00, secondary 5-24-02, final 6-5-02
Spherewave Experiment C
"Spherewave Experiment C"
I used a similar technique with mirrors here, just not colored this time. The form is a rotated grid which has folded over itself several times. I did not use any CSG difference here, I simply used conditional statements to limit it to behind that plane and expose the interior.
Scene file for viewing here: spherewave-short.txt
Scene file for downloading: spherewave-short.pov
by Ben Scheele -- initial 2-2-01, final 5-24-02
Dfield 1 Short
"Dfield 1 Short"
This is another example of my directional field plotting (see the functions gallery). They are actually systems of differential equations, so this gives a much broader range of results. There are two functions to be defined, both for dx/dt and for dy/dt. Check the scene file to see which functions were used here.
Scene file for viewing here: dfield1-short.txt
Scene file for downloading: dfield1-short.pov
by Ben Scheele -- initial 2-27-02, final 5-25-02
Dfield 1 Short b
"Dfield 1 Short b"
A slight variation, with the x-axis in place. These images together show how infinite the possibilities are. With only a few simple functions, a vast quantity of unique images can be created.
Scene file for viewing here: dfield1-short-b.txt
Scene file for downloading: dfield1-short-b.pov
by Ben Scheele -- initial 2-27-02, final 5-24-02


Previous Up Next