Learn R Programming

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

rayrender (version 0.34.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,106

Version

0.34.3

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Morgan-Wall

Last Published

August 1st, 2024

Functions in rayrender (0.34.3)

convert_color

Convert Color
csg_object

Constructive Solid Geometry Object
csg_cone

CSG Cone
csg_onion

CSG Onion
csg_capsule

CSG Capsule
csg_combine

CSG Combine
csg_box

CSG Box
csg_plane

CSG Plane
csg_cylinder

CSG Cylinder
csg_round

CSG Round
csg_pyramid

CSG Pyramid
csg_rotate

CSG Rotate
csg_ellipsoid

CSG Ellipsoid
csg_torus

CSG Torus
csg_translate

CSG Translate
csg_group

CSG Group
csg_sphere

CSG Sphere
csg_elongate

CSG Elongate
cube

Cube Object
csg_scale

CSG Scale
eval_bezier

Evaluate Bezier
ellipsoid

Ellipsoid Object
csg_rounded_cone

CSG Rounded Cone
csg_triangle

CSG Triangle
eval_bezier_2nd_deriv

Evaluate Deriv Bezier
cubicInOut

Cubic-in-out
dielectric

Dielectric (glass) Material
cylinder

Cylinder Object
diffuse

Diffuse Material
disk

Disk Object
eval_bezier_deriv

Evaluate Deriv Bezier
expInOut

Cubic-in-out
generate_cornell

Generate Cornell Box
generate_ground

Generate Ground
fliplr

Flip Left-Right
extruded_polygon

Extruded Polygon Object
generate_rotation_matrix

Generate Rotation Matrix (order)
generate_studio

Generate Studio
lambertian

Lambertian Material (deprecated)
flipud

Flip Up-Down
glossy

Glossy Material
generate_camera_motion

Generate Camera Movement
get_saved_keyframes

Get Saved Keyframes
get_time

Get time
generate_translation_matrix

Generate Translation Matrix
lerp

Lerp
group_objects

Group Objects
hair

Hair Material
extruded_path

Extruded Path Object
path

Path Object
init_time

Print time
is_rendering_in_knitr

Determines if rendering in knitr
obj_model

`obj` File Object
mesh3d_model

`mesh3d` model
ply_model

`ply` File Object
light

Light Material
metal

Metallic Material
process_point_series

Process Points to Control Points
new_tibble_row

New Tibble Row
pig

Pig Object
%>%

Pipe operator
process_point_series_2d

Process Points to Control Points
microfacet

Microfacet Material
r_obj

R 3D Model
prepare_scene_list

Prepare the scene list
post_process_scene

Post-process the scene
quadInOut

Quad-in-out
post_process_frame

Post-process Frame
render_animation

Render Animation
render_ao

Render Ambient Occlusion
process_scene

Process a scene
render_scene

Render Scene
render_preview

Render Preview
print_time

Print time
raymesh_model

`raymesh` model
ray_transform

Internal vctrs methods
process_point_series_1d

Process Points to Control Points
ray_scene

Constructor for ray_material
ray_material

Internal vctrs methods
ray_animated_transform

Internal vctrs methods
run_documentation

Run Documentation
xz_rect

Rectangular XZ Plane Object
xy_rect

Rectangular XY Plane Object
ray_shape_info

Internal vctrs methods
save_png

Save PNG
segment

Segment Object
yz_rect

Rectangular YZ Plane Object
sphere

Sphere Object
slerp

Slerp
triangle

Triangle Object
tween

Tween
text3d

Text Object
RotateY

Generate Rotation Matrix Y
add_object

Add Object
arrow

Arrow Object
bezier_curve

Bezier Curve Object
animate_objects

Animate Objects
cone

Cone Object
create_instances

Create Instances of an Object
RotateAxis

Generate Rotation Matrix Axis
calculate_control_points

Calculate Control Points
calculate_control_points_straight

Calculate Control Points (straight)
add_points_polygon

Add Points to Polygon
check_image_texture

Check Image Texture
calculate_final_path

Linearize and Calculate Final Points (with constant stepsize)
calculate_distance_along_bezier_curve

Get Distance Along Bezier Curve
RotateX

Generate Rotation Matrix X
RotateZ

Generate Rotation Matrix Z
calculate_final_twist

Calculate Final Angle
clamp

Clamp Values
cross_prod

Cross product (vec)