The Persistence of Ignorance

Menu Home

The Cave

Wings3D + + POV-Ray, 2016 (484 K)

Inspired by my last scene about crystals, I envisioned a technique to create a cave, and this is the result.

The cave is constructed around a base mesh modeled with Wings3D. I created a structure starting with a cube, subdivided it a few times, and then extruded some faces here and there. Some vertex where crumpled randomly, and then smoothed the whole mesh. Then cuted some triangles to make the cave entrance and a hole on the ceil, and the result roughly looked like a cave when all the faces where inverted.

The next step was to make it more irregular, but this time using POV-Ray. The idea was to throw rocks at the cave-mesh interior walls from all directions, and then add some stalactites on the ceil and stalagmites on the ground. The trace() function was intensively used for this purpose. At first try I used isosurfaces for these objects, but tough it looked great, the render times where too much for my patience.

The solution came from an 8 years old POV-Ray include file by Bill Pragnell, which I missed back on the day, but that I enjoyed very much discovering now. The Meshrelief include file allows to create mesh version of regular POV-Ray objects, with surface displacement applied to them. Using it I created the new version of the rocks, stalactites and stalagmites, which of course render amazingly fast compared to their isosurface counterparts.

As usual, all the scene, except for the cave base mesh modeled with Wings3d, is constructed procedurally with intensive usage of rand() to allow for different configurations by changing a few numbers. The next step is to figure out a method to create the cave base also procedurally, to have a fully procedural scene able to give an infinite number of possible cave shapes.

As a final touch, after struggling to find something interesting to put on the cave (crystals, a treasure, some skeletons?), I just opted to send an speleologist there to see what he can discover... The model is a worker figure by Tim Lee from Archive3d, to which I literally cut off an arm.

WIPS, tests and other images:

the-cave-05-2h2m the-cave-06-3h45m the-cave-08-7h3m the-cave-09-32m the-cave-09b-27m the-cave-II-01-22m the-cave-II-02-21m the-cave-II-03-26m the-cave-II-04-1h7m the-cave-II-05-11m the-cave-II-06-4h42m the-cave-II-06b-5h1m the-cave-II-07-46m the-cave-II-07c-38m

This site uses CMS Made Simple
© 1996-2016 Jaime Vives Piqueres

Creative Commons License