Learn R Programming

⚠️There's a newer version (0.38.10) of this package.Take me there.

rayrender (version 0.38.8)

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

3,547

Version

0.38.8

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Morgan-Wall

Last Published

February 7th, 2025

Functions in rayrender (0.38.8)

calculate_distance_along_bezier_curve

Get Distance Along Bezier Curve
csg_object

Constructive Solid Geometry Object
csg_cylinder

CSG Cylinder
csg_ellipsoid

CSG Ellipsoid
csg_cone

CSG Cone
csg_combine

CSG Combine
csg_box

CSG Box
csg_capsule

CSG Capsule
csg_sphere

CSG Sphere
csg_plane

CSG Plane
csg_translate

CSG Translate
csg_onion

CSG Onion
csg_triangle

CSG Triangle
csg_torus

CSG Torus
csg_pyramid

CSG Pyramid
csg_rotate

CSG Rotate
csg_group

CSG Group
csg_elongate

CSG Elongate
csg_scale

CSG Scale
csg_rounded_cone

CSG Rounded Cone
csg_round

CSG Round
ellipsoid

Ellipsoid Object
disk

Disk Object
diffuse

Diffuse Material
eval_bezier_deriv

Evaluate Deriv Bezier
eval_bezier_2nd_deriv

Evaluate Deriv Bezier
dielectric

Dielectric (glass) Material
cylinder

Cylinder Object
eval_bezier

Evaluate Bezier
cubicInOut

Cubic-in-out
cube

Cube Object
generate_cornell

Generate Cornell Box
generate_camera_motion

Generate Camera Movement
flipud

Flip Up-Down
expInOut

Cubic-in-out
extruded_path

Extruded Path Object
generate_studio

Generate Studio
extruded_polygon

Extruded Polygon Object
generate_ground

Generate Ground
fliplr

Flip Left-Right
generate_rotation_matrix

Generate Rotation Matrix (order)
group_objects

Group Objects
init_time

Print time
get_material_name

get_material_name
hair

Hair Material
is_rendering_in_knitr

Determines if rendering in knitr
get_saved_keyframes

Get Saved Keyframes
generate_translation_matrix

Generate Translation Matrix
get_material_enum

get_material_enum
microfacet

Microfacet Material
mesh3d_model

`mesh3d` model
get_time

Get time
path

Path Object
metal

Metallic Material
glossy

Glossy Material
light

Light Material
pig

Pig Object
lambertian

Lambertian Material (deprecated)
post_process_scene

Post-process the scene
post_process_frame

Post-process Frame
lerp

Lerp
process_point_series_2d

Process Points to Control Points
process_scene

Process a scene
process_point_series

Process Points to Control Points
process_point_series_1d

Process Points to Control Points
obj_model

`obj` File Object
ray_scene

Constructor for ray_material
quadInOut

Quad-in-out
new_tibble_row

New Tibble Row
prepare_scene_list

Prepare the scene list
print_time

Print time
r_obj

R 3D Model
render_animation

Render Animation
render_ao

Render Ambient Occlusion
%>%

Pipe operator
ply_model

`ply` File Object
ray_shape_info

Internal vctrs methods
ray_animated_transform

Internal vctrs methods
ray_material

Internal vctrs methods
text3d

Text Object
segment

Segment Object
raymesh_model

`raymesh` model
render_preview

Render Preview
run_documentation

Run Documentation
ray_transform

Internal vctrs methods
set_scene_material

Set Material for All Objects
sphere

Sphere Object
render_scene

Render Scene
triangle

Triangle Object
slerp

Slerp
xz_rect

Rectangular XZ Plane Object
yz_rect

Rectangular YZ Plane Object
save_png

Save PNG
xy_rect

Rectangular XY Plane Object
tween

Tween
add_object

Add Object
RotateY

Generate Rotation Matrix Y
arrow

Arrow Object
animate_objects

Animate Objects
bezier_curve

Bezier Curve Object
RotateAxis

Generate Rotation Matrix Axis
calculate_control_points

Calculate Control Points
RotateZ

Generate Rotation Matrix Z
add_points_polygon

Add Points to Polygon
RotateX

Generate Rotation Matrix X
cross_prod

Cross product (vec)
create_instances

Create Instances of an Object
cone

Cone Object
convert_color

Convert Color
calculate_control_points_straight

Calculate Control Points (straight)
clamp

Clamp Values
check_image_texture

Check Image Texture
calculate_final_twist

Calculate Final Angle
calculate_final_path

Linearize and Calculate Final Points (with constant stepsize)