m a t r i x    c o m p o s i t i o n


This page demonstrates the basics of scripting shapes RenderMan scene description (rib) protocol. Writing rib files by hand focuses attention on the use of color, opacity and the fundamental concepts related to xyz coordinate system.

The preliminary renders have been done using basic shading so that the geometry can be more easily seen.

Final Model

 

Reference

When I was first deciding what I was going to do, I spent the weekend looking through past assignments finally finding resonance in Dorian's clock. It reminded me of something but I couldn't figure out what. After a day I remembered an old birdcage my mom had. After getting some reference I fell in love with the design and thought it was right up my alley as far as challenge level.

Pattern Play

TransformBegin
  Rotate 90 1 0 0
  Torus 1 0.025 0 360 360
TransformEnd

TransformBegin
  Translate 0 0 .25
  Rotate 90 0 1 0
  Cylinder .01 -.98 .98 360
TransformEnd

Rotate 5 0 1 0

TransformBegin
  Translate 0 0 .25
  Rotate 90 0 1 0
  Cylinder .01 -.98 .98 360
TransformEnd
While I was waiting my for my reference to arrive, I was brainstorming on what complex looking things I could do with simple objects and code. I remembered a very interesting looking way to make a circle with just lines. I loved this so much that I eventually had to find a way to put it in the model.

Separate Elements







S-Curve Code




Birdcage Bands













Column Code














Bricks Code

The different parts of the overall model.

Basic Shadows


LightSource "shadowspot" 1
   "intensity" 35
   "lightcolor" [1.0 0.992 0.921]
   "from" [4 3 2]
   "to" [0 0 0]
   "shadowname" ["spotM1.tex"]
   "width" 8
   "samples" 512
   "lightcolor" [1.0 0.996 0.913]


LightSource "shadowspot" 3
   "intensity" 15
   "lightcolor" [0.956 1.0 1.0]
   "from" [0.0 4 7.0]
   "to" [0.5 0.0 -1]
   "shadowname" ["spotM2.tex"]
   "samples" 512
   "width" 10
   "coneangle" 0.45
   "conedeltaangle" 0.087266
   "beamdistribution" 3.0


LightSource "pointlight" 2
   "intensity" 11
   "from" [-2.75 3 .5]
There are a total of 3 lights in the scene. Two are shadowspots, and another is a point light used for accent lighting. Each of the shadow maps are 4k for final render.

Final Renders









DepthOfField 5.5 1 9.25
PixelSamples 15 15
ShadingRate .5


Projection "perspective" "fov" 20


Translate 0 -.25 10
Rotate -15 1 0 0
Rotate 75 0 1 0












DepthOfField 6.0 1 6.9
PixelSamples 10 10
ShadingRate .5


Projection "perspective" "fov" 26


Translate 0 -.1 6
Rotate -64 1 0 0
Rotate 63.5 0 1 0
 

File Structure

cage.rib
|-bands.rib
|-row1.rib
|--sCurve.rib
|--clasp.rib
|-row2.rib
|--sCurve.rib
|--clasp.rib
|-row3.rib
|--sCurve.rib
|--clasp.rib
|-row4.rib
|--sCurve.rib
|--clasp.rib
|-brickColumn.rib
|--cylp2b.rib
|---cylp1b.rib
|--cylp2.rib
|---cylp1.rib
|--cylp2c.rib
|---cylp1c.rib
|--pCube.rib
|--pillar.rib