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

generate_studio()

Generate Studio

segment()

Segment Object

cylinder()

Cylinder Object

triangle()

Triangle Object

ellipsoid()

Ellipsoid Object

disk()

Disk Object

obj_model()

`obj` File Object

ply_model()

`ply` File Object

mesh3d_model()

`mesh3d` model

cone()

Cone Object

arrow()

Arrow Object

extruded_path()

Extruded Path Object

extruded_polygon()

Extruded Polygon Object

bezier_curve()

Bezier Curve Object

path()

Path Object

pig()

Pig Object

text3d()

Text Object

csg_object()

Constructive Solid Geometry Object

r_obj()

R 3D Model

raymesh_model()

`raymesh` model

Constructive Solid Geometry (CSG) Interface

Functions to model and build objects using CSG

csg_box()

CSG Box

csg_capsule()

CSG Capsule

csg_combine()

CSG Combine

csg_cone()

CSG Cone

csg_cylinder()

CSG Cylinder

csg_ellipsoid()

CSG Ellipsoid

csg_elongate()

CSG Elongate

csg_group()

CSG Group

csg_object()

Constructive Solid Geometry Object

csg_onion()

CSG Onion

csg_plane()

CSG Plane

csg_pyramid()

CSG Pyramid

csg_rotate()

CSG Rotate

csg_round()

CSG Round

csg_rounded_cone()

CSG Rounded Cone

csg_scale()

CSG Scale

csg_sphere()

CSG Sphere

csg_torus()

CSG Torus

csg_translate()

CSG Translate

csg_triangle()

CSG Triangle

Materials

Functions to specify the visual properties of objects

diffuse()

Diffuse Material

metal()

Metallic Material

dielectric()

Dielectric (glass) Material

microfacet()

Microfacet Material

glossy()

Glossy Material

light()

Light Material

hair()

Hair Material

lambertian()

Lambertian Material (deprecated)

Composing Scenes

Function for adding objects together to form a scene.

add_object()

Add Object

group_objects()

Group Objects

create_instances()

Create Instances of an Object

Animating Scenes

Function for animating objects or the camera through a scene.

get_saved_keyframes()

Get Saved Keyframes

generate_camera_motion()

Generate Camera Movement

animate_objects()

Animate Objects

Render Raytraced Scene

Function to render the current scene.

render_animation()

Render Animation

render_ao()

Render Ambient Occlusion

render_preview()

Render Preview

render_scene()

Render Scene

pkgdown utils

Internal but must be exported to meet CRAN guidelines

run_documentation()

Run Documentation