Learn R Programming

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

rayrender (version 0.32.2)

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,031

Version

0.32.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Morgan-Wall

Last Published

February 20th, 2024

Functions in rayrender (0.32.2)

csg_box

CSG Box
convert_color

Convert Color
csg_capsule

CSG Capsule
calculate_final_path

Linearize and Calculate Final Points (with constant stepsize)
calculate_final_twist

Calculate Final Angle
calculate_control_points_straight

Calculate Control Points (straight)
clamp

Clamp Values
cross_prod

Cross product (vec)
csg_elongate

CSG Elongate
cone

Cone Object
csg_combine

CSG Combine
csg_cone

CSG Cone
csg_onion

CSG Onion
csg_object

Constructive Solid Geometry Object
csg_rotate

CSG Rotate
csg_pyramid

CSG Pyramid
csg_round

CSG Round
csg_plane

CSG Plane
csg_group

CSG Group
csg_ellipsoid

CSG Ellipsoid
csg_sphere

CSG Sphere
csg_cylinder

CSG Cylinder
cubicInOut

Cubic-in-out
cube

Cube Object
cylinder

Cylinder Object
csg_translate

CSG Translate
csg_triangle

CSG Triangle
csg_torus

CSG Torus
calculate_distance_along_bezier_curve

Get Distance Along Bezier Curve
ellipsoid

Ellipsoid Object
diffuse

Diffuse Material
generate_ground

Generate Ground
generate_cornell

Generate Cornell Box
dielectric

Dielectric (glass) Material
eval_bezier

Evaluate Bezier
disk

Disk Object
flipud

Flip Up-Down
expInOut

Cubic-in-out
generate_camera_motion

Generate Camera Movement
lambertian

Lambertian Material (deprecated)
lerp

Lerp
extruded_polygon

Extruded Polygon Object
get_time

Get time
glossy

Glossy Material
extruded_path

Extruded Path Object
fliplr

Flip Left-Right
light

Light Material
mesh3d_model

`mesh3d` model
new_tibble_row

New Tibble Row
ply_model

`ply` File Object
%>%

Pipe operator
path

Path Object
pig

Pig Object
ray_material

Internal vctrs methods
ray_scene

Constructor for ray_material
metal

Metallic Material
generate_translation_matrix

Generate Translation Matrix
post_process_frame

Post-process Frame
process_point_series

Process Points to Control Points
microfacet

Microfacet Material
get_saved_keyframes

Get Saved Keyframes
init_time

Print time
is_rendering_in_knitr

Determines if rendering in knitr
process_point_series_1d

Process Points to Control Points
csg_rounded_cone

CSG Rounded Cone
obj_model

`obj` File Object
ray_shape_info

Internal vctrs methods
eval_bezier_2nd_deriv

Evaluate Deriv Bezier
csg_scale

CSG Scale
r_obj

R 3D Model
save_png

Save PNG
post_process_scene

Post-process the scene
ray_animated_transform

Internal vctrs methods
raymesh_model

`raymesh` model
generate_studio

Generate Studio
eval_bezier_deriv

Evaluate Deriv Bezier
generate_rotation_matrix

Generate Rotation Matrix (order)
text3d

Text Object
triangle

Triangle Object
tween

Tween
segment

Segment Object
render_scene

Render Scene
quadInOut

Quad-in-out
process_point_series_2d

Process Points to Control Points
render_animation

Render Animation
xy_rect

Rectangular XY Plane Object
run_documentation

Run Documentation
ray_transform

Internal vctrs methods
xz_rect

Rectangular XZ Plane Object
yz_rect

Rectangular YZ Plane Object
render_ao

Render Ambient Occlusion
group_objects

Group Objects
prepare_scene_list

Prepare the scene list
hair

Hair Material
print_time

Print time
sphere

Sphere Object
render_preview

Render Preview
slerp

Slerp
RotateX

Generate Rotation Matrix X
animate_objects

Animate Objects
add_object

Add Object
arrow

Arrow Object
bezier_curve

Bezier Curve Object
RotateY

Generate Rotation Matrix Y
RotateAxis

Generate Rotation Matrix Axis
calculate_control_points

Calculate Control Points
RotateZ

Generate Rotation Matrix Z
add_points_polygon

Add Points to Polygon