Learn R Programming

rayvertex (version 0.12.0)

3D Software Rasterizer

Description

Rasterize images using a 3D software renderer. 3D scenes are created either by importing external files, building scenes out of the included objects, or by constructing meshes manually. Supports point and directional lights, anti-aliased lines, shadow mapping, transparent objects, translucent objects, multiple materials types, reflection, refraction, environment maps, multicore rendering, bloom, tone-mapping, and screen-space ambient occlusion.

Copy Link

Version

Install

install.packages('rayvertex')

Monthly Downloads

2,876

Version

0.12.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Tyler Morgan-Wall

Last Published

February 3rd, 2025

Functions in rayvertex (0.12.0)

cone_mesh

Cone 3D Model
cube_mesh

Cube 3D Model
displace_mesh

Displace a Mesh
displacement_sphere

Construct Displacement Sphere
convert_color

Convert Color
convert_rgb_to_ansi

Convert RGB to ANSI Color
cylinder_mesh

Cylinder 3D Model
construct_mesh

Manually construct a mesh
directional_light

Generate Directional Lights
generate_rot_matrix

Generate Rotation Matrix
cross_prod

Cross Product
flip_orientation_mesh

Flip Orientation
fliplr

Flip Left-Right
generate_rotation_matrix_from_direction

Generate Rotation Matrix from Direction
material_list

Material List
generate_surface

Generate Surface
init_time

Print time
generate_cornell_mesh

Cornell Box 3D Model
generate_line

Generate Lines
mesh3d_mesh

Mesh3d 3D Model
merge_scene

Merge scene
get_mesh_center

Get Mesh Center
get_time

Get time
flipud

Flip Up-Down
format_pillar_shp

Format ray_shape for pillar
r_obj

R 3D Model
rasterize_lines

Rasterize Lines
ply_mesh

PLY Mesh 3D Model
pillar_shaft.ray_shape_list

Pillar shaft for ray_shape_list
ray_shape

Define the ray_shape class
read_obj

Load an OBJ file
ray_vertex_data

Define the ray_vertex_data class
obj_mesh

OBJ Mesh 3D Model
rotate_mesh

Rotate Mesh
print.ray_vertex_data

Print method for ray_vertex_data
ray_shape_list

Define the ray_shape_list class
pillar_shaft.ray_shape

Pillar shaft for ray_shape
print_time

Print time
generate_toon_outline

Add Outline
rasterize_scene

Rasterize Scene
save_png

Save PNG
scale_lines

Scale Lines
run_documentation

Run Documentation
smooth_normals_mesh

Calculate Smooth Mesh Normals
set_material

Set Material
scene_from_list

Scene From List
segment_mesh

Segment 3D Model
get_mesh_bbox

Get Mesh Bounding Box
print.ray_shape

Print method for ray_shape
get_file_type

Check Filename
point_light

Point light
scale_mesh

Scale Mesh
translate_mesh

Translate Mesh
scale_unit_mesh

Scale Mesh to Unit Bounding Box
validate_mesh

Validate Mesh Data
vec_ptype_abbr.ray_shape_list

Abbreviate the ptype of ray_shape_list
translate_lines

Translate Lines
yz_rect_mesh

YZ Rectangle 3D Model
xz_rect_mesh

XZ Rectangle 3D Model
torus_mesh

Torus 3D Model
subdivide_mesh

Subdivide Mesh
sphere_mesh

Sphere 3D Model
verify_vertex_shader

Verify Vertex Shader
read_ply

Load an PLY file
remove_duplicate_materials

Remove Duplicates
swap_yz

Swap Y/Z Axis
rotate_lines

Rotate Lines
text3d_mesh

Text Object
xy_rect_mesh

XY Rectangle 3D Model
write_scene_to_obj

Write the scene to an OBJ file
vec_ptype_abbr.ray_shape

Abbreviate the ptype of ray_shape
ray_mesh

Constructor for ray_mesh
validate_scene

Validate Scene
rescale

Rescale
add_lines

Add Line
add_sphere_uv_mesh

Add Sphere UV Mapping to Mesh
arrow_mesh

Arrow 3D Model
change_material

Change Material
cat_color

Print out the color
center_mesh

Center Mesh
add_plane_uv_mesh

Add Plane UV Mapping to Mesh
add_light

Add light
color_lines

Color Lines
add_shape

Add Shape