Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1cfb26b
Showing
527 changed files
with
95,047 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Package: rayvertex | ||
Type: Package | ||
Title: 3D Software Rasterizer | ||
Version: 0.2.3 | ||
Date: 2021-06-05 | ||
Authors@R: c(person("Tyler", "Morgan-Wall", email = "tylermw@gmail.com", | ||
role = c("aut", "cph", "cre"), comment = c(ORCID = "0000-0002-3131-3814")), | ||
person("Syoyo", "Fujita", role=c("ctb", "cph")), | ||
person("Vilya", "Harvey", role = c("ctb", "cph")), | ||
person("G-Truc Creation", role = c("ctb", "cph")), | ||
person("Sean", "Barrett", role = c("ctb", "cph"))) | ||
Maintainer: Tyler Morgan-Wall <tylermw@gmail.com> | ||
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. | ||
License: GPL (>= 3) | ||
Copyright: file inst/COPYRIGHTS | ||
Imports: magrittr, Rcpp (>= 1.0.6), grDevices, rayimage, png, digest | ||
Suggests: Rvcg, magick, raster | ||
LinkingTo: Rcpp, spacefillr, RcppThread | ||
RoxygenNote: 7.1.1 | ||
URL: https://www.rayvertex.com, | ||
https://github.com/tylermorganwall/rayvertex | ||
BugReports: https://github.com/tylermorganwall/rayvertex/issues | ||
NeedsCompilation: yes | ||
Packaged: 2021-06-15 18:08:36 UTC; tyler | ||
Author: Tyler Morgan-Wall [aut, cph, cre] | ||
(<https://orcid.org/0000-0002-3131-3814>), | ||
Syoyo Fujita [ctb, cph], | ||
Vilya Harvey [ctb, cph], | ||
G-Truc Creation [ctb, cph], | ||
Sean Barrett [ctb, cph] | ||
Repository: CRAN | ||
Date/Publication: 2021-06-17 07:20:02 UTC |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
export("%>%") | ||
export(add_light) | ||
export(add_lines) | ||
export(add_shape) | ||
export(arrow_mesh) | ||
export(center_mesh) | ||
export(change_material) | ||
export(color_lines) | ||
export(cone_mesh) | ||
export(construct_mesh) | ||
export(cube_mesh) | ||
export(cylinder_mesh) | ||
export(directional_light) | ||
export(generate_cornell_mesh) | ||
export(generate_line) | ||
export(material_list) | ||
export(mesh3d_mesh) | ||
export(obj_mesh) | ||
export(ply_mesh) | ||
export(point_light) | ||
export(r_obj) | ||
export(rasterize_lines) | ||
export(rasterize_scene) | ||
export(rotate_lines) | ||
export(rotate_mesh) | ||
export(scale_lines) | ||
export(scale_mesh) | ||
export(segment_mesh) | ||
export(set_material) | ||
export(sphere_mesh) | ||
export(text3d_mesh) | ||
export(torus_mesh) | ||
export(translate_lines) | ||
export(translate_mesh) | ||
export(xy_rect_mesh) | ||
export(xz_rect_mesh) | ||
export(yz_rect_mesh) | ||
importFrom(Rcpp,evalCpp) | ||
importFrom(grDevices,col2rgb) | ||
importFrom(magrittr,"%>%") | ||
useDynLib(rayvertex, .registration = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Generated by using Rcpp::compileAttributes() -> do not edit by hand | ||
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
load_obj <- function(inputfile, basedir) { | ||
.Call(`_rayvertex_load_obj`, inputfile, basedir) | ||
} | ||
|
||
load_ply <- function(inputfile, basedir) { | ||
.Call(`_rayvertex_load_ply`, inputfile, basedir) | ||
} | ||
|
||
rasterize_lines_rcpp <- function(line_mat, nx, ny, model_color, lookfrom, lookat, fov, near_clip, far_clip, bounds, camera_up, alpha_line, line_offset, ortho_dims, aa_lines) { | ||
.Call(`_rayvertex_rasterize_lines_rcpp`, line_mat, nx, ny, model_color, lookfrom, lookat, fov, near_clip, far_clip, bounds, camera_up, alpha_line, line_offset, ortho_dims, aa_lines) | ||
} | ||
|
||
rasterize <- function(mesh, lightinfo, line_mat, nx, ny, model_color, lookfrom, lookat, fov, typevals, has_shadow_map, calc_ambient, tbn, ambient_radius, shadow_map_bias, numbercores, max_indices, has_normals_vec, has_tex_vec, has_texture, has_ambient_texture, has_normal_texture, has_specular_texture, has_emissive_texture, block_size, use_default_material, near_clip, far_clip, shadow_map_intensity, bounds, shadowdims, camera_up, alpha_line, line_offset, ortho_dims, is_dir_light, aa_lines, has_vertex_tex, has_vertex_normals, has_reflection_map, reflection_map_file, background_sharpness, has_refraction, environment_map_hdr, has_environment_map) { | ||
.Call(`_rayvertex_rasterize`, mesh, lightinfo, line_mat, nx, ny, model_color, lookfrom, lookat, fov, typevals, has_shadow_map, calc_ambient, tbn, ambient_radius, shadow_map_bias, numbercores, max_indices, has_normals_vec, has_tex_vec, has_texture, has_ambient_texture, has_normal_texture, has_specular_texture, has_emissive_texture, block_size, use_default_material, near_clip, far_clip, shadow_map_intensity, bounds, shadowdims, camera_up, alpha_line, line_offset, ortho_dims, is_dir_light, aa_lines, has_vertex_tex, has_vertex_normals, has_reflection_map, reflection_map_file, background_sharpness, has_refraction, environment_map_hdr, has_environment_map) | ||
} | ||
|
||
tonemap_image <- function(routput, goutput, boutput, toneval) { | ||
.Call(`_rayvertex_tonemap_image`, routput, goutput, boutput, toneval) | ||
} | ||
|
||
wireframe <- function(verts, inds, nx, ny) { | ||
.Call(`_rayvertex_wireframe`, verts, inds, nx, ny) | ||
} | ||
|
Oops, something went wrong.