Learn R Programming

rayrender (version 0.41.3)

Build and Raytrace 3D Scenes

Description

Render scenes using pathtracing. Build 3D scenes out of spheres, cubes, planes, disks, triangles, cones, curves, line segments, cylinders, ellipsoids, and 3D models in the 'Wavefront' OBJ file format or the PLY Polygon File Format. Supports several material types, textures, multicore rendering, and tone-mapping. Based on the "Ray Tracing in One Weekend" book series. Peter Shirley (2018) .

Copy Link

Version

Install

install.packages('rayrender')

Monthly Downloads

2,075

Version

0.41.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Morgan-Wall

Last Published

June 16th, 2026

Functions in rayrender (0.41.3)

clamp

Clamp Values
calculate_control_points_straight

Calculate Control Points (straight)
calculate_distance_along_bezier_curve

Get Distance Along Bezier Curve
check_image_texture

Check Image Texture
csg_group

CSG Group
csg_capsule

CSG Capsule
csg_combine

CSG Combine
csg_elongate

CSG Elongate
csg_cone

CSG Cone
csg_onion

CSG Onion
csg_box

CSG Box
csg_object

Constructive Solid Geometry Object
csg_cylinder

CSG Cylinder
csg_ellipsoid

CSG Ellipsoid
csg_rounded_cone

CSG Rounded Cone
csg_torus

CSG Torus
csg_sphere

CSG Sphere
csg_round

CSG Round
csg_plane

CSG Plane
csg_translate

CSG Translate
csg_triangle

CSG Triangle
csg_scale

CSG Scale
csg_pyramid

CSG Pyramid
csg_rotate

CSG Rotate
eval_bezier_2nd_deriv

Evaluate Deriv Bezier
cubicInOut

Cubic-in-out
ellipsoid

Ellipsoid Object
cube

Cube Object
disk

Disk Object
dielectric

Dielectric (glass) Material
diffuse

Diffuse Material
eval_bezier_deriv

Evaluate Deriv Bezier
eval_bezier

Evaluate Bezier
cylinder

Cylinder Object
extruded_polygon

Extruded Polygon Object
generate_cornell

Generate Cornell Box
expInOut

Cubic-in-out
generate_studio

Generate Studio
extruded_path

Extruded Path Object
generate_camera_motion

Generate Camera Movement
generate_ground

Generate Ground
generate_rotation_matrix

Generate Rotation Matrix (order)
flipud

Flip Up-Down
fliplr

Flip Left-Right
has_denoiser

Check for Denoiser Support
get_material_enum

get_material_enum
get_saved_keyframes

Get Saved Keyframes
glossy

Glossy Material
group_objects

Group Objects
hair

Hair Material
get_material_name

get_material_name
get_time

Get time
generate_translation_matrix

Generate Translation Matrix
init_time

Print time
path

Path Object
mesh3d_model

`mesh3d` model
metal

Metallic Material
obj_model

`obj` File Object
lambertian

Lambertian Material (deprecated)
light

Light Material
is_rendering_in_knitr

Determines if rendering in knitr
microfacet

Microfacet Material
pig

Pig Object
ply_model

`ply` File Object
lerp

Lerp
new_tibble_row

New Tibble Row
print_time

Print time
process_point_series_1d

Process Points to Control Points
prepare_scene_list

Prepare the scene list
post_process_frame

Post-process Frame
post_process_scene

Post-process the scene
process_point_series_2d

Process Points to Control Points
process_scene

Process a scene
process_point_series

Process Points to Control Points
ray_animated_transform

Internal vctrs methods
render_animation

Render Animation
r_obj

R 3D Model
raymesh_model

`raymesh` model
render_ao

Render Ambient Occlusion
ray_material

Internal vctrs methods
ray_shape_info

Internal vctrs methods
ray_scene

Constructor for ray_material
quadInOut

Quad-in-out
ray_transform

Internal vctrs methods
segment

Segment Object
set_scene_material

Set Material for All Objects
render_preview

Render Preview
text3d

Text Object
screen_text

Screen-space Text
screen_line

Screen-space Lines
triangle

Triangle Object
render_scene

Render Scene
sphere

Sphere Object
slerp

Slerp
xy_rect

Rectangular XY Plane Object
yz_rect

Rectangular YZ Plane Object
xz_rect

Rectangular XZ Plane Object
tween

Tween
RotateX

Generate Rotation Matrix X
add_object

Add Object
add_points_polygon

Add Points to Polygon
arrow

Arrow Object
bezier_curve

Bezier Curve Object
animate_objects

Animate Objects
calculate_control_points

Calculate Control Points
RotateAxis

Generate Rotation Matrix Axis
RotateY

Generate Rotation Matrix Y
cone

Cone Object
create_instances

Create Instances of an Object
RotateZ

Generate Rotation Matrix Z
cross_prod

Cross product (vec)
convert_color

Convert Color
calculate_final_twist

Calculate Final Angle
calculate_final_path

Linearize and Calculate Final Points (with constant stepsize)