Objects

Functions for generating objects to add to scenes

sphere()

Sphere Object

cube()

Cube Object

xy_rect()

Rectangular XY Plane Object

xz_rect()

Rectangular XZ Plane Object

yz_rect()

Rectangular YZ Plane Object

generate_cornell()

Generate Cornell Box

generate_ground()

Generate Ground

Materials

Functions to specify the visual properties of objects

lambertian()

Lambertian (diffuse) Material

metal()

Metallic Material

dielectric()

Dielectric (glass) Material

Composing Scenes

Function for adding objects together to form a scene.

add_object()

Add Object

group_objects()

Group Objects

Render Raytraced Scene

Function to render the current scene.

render_scene()

Render Scene