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

segment()

Segment Object

cylinder()

Cylinder Object

triangle()

Triangle Object

ellipsoid()

Ellipsoid Object

disk()

Disk Object

obj_model()

`obj` File Object

extruded_polygon()

Extruded Polygon Object

pig()

Pig Object

Materials

Functions to specify the visual properties of objects

diffuse()

Diffuse Material

metal()

Metallic Material

dielectric()

Dielectric (glass) Material

light()

Light 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