-
Notifications
You must be signed in to change notification settings - Fork 0
/
.Rhistory
46 lines (46 loc) · 1.47 KB
/
.Rhistory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
library("readobj")
install.packages("readobj")
library("readobj")
arquivo = 'meshes/camel-poses/camel-reference.obj'
el_ref <- readobj::read.obj()
el_ref <- readobj::read.obj(arquivo)
shade3d(readobj::tinyobj2shapelist3d(el_ref), color = "gray")
library("readobj")
shade3d(readobj::tinyobj2shapelist3d(el_ref), color = "gray")
install.packages("anglr")
devtools::install_github("tylermorganwall/rayshader")
library(rayshader)
render_obj(arquivo)
moss_landing_coord = c(36.806807, -121.793332)
montereybay %>%
sphere_shade() %>%
plot_3d(montereybay,zscale=50,water=TRUE,
shadowcolor="#40310a", background = "tan",
theta=210, phi=22, zoom=0.20, fov=55)
t = seq(0,2*pi,length.out=100)
circle_coords_lat = moss_landing_coord[1] + 0.3 * sin(t)
circle_coords_long = moss_landing_coord[2] + 0.3 * cos(t)
sphere_shade()
montereybay
install.packages("rgl")
library(rgl)
arquivo = 'meshes/camel-poses/camel-reference.obj'
open3d()
shade3d( icosahedron3d())
plot3d(arquivo)
open3d()
open3d(); shade3d(readOBJ(arquivo))
open3d(); mesh3d(readOBJ(arquivo))
open3d(); shade3d(readOBJ(arquivo))
?shade3d.mesh3d
open3d(); shade3d(readOBJ(arquivo))
open3d(); wire3d(readOBJ(arquivo))
open3d(); wire3d(readOBJ(arquivo))
arquivo = 'meshes/cat-poses/cat-02.obj'
open3d(); wire3d(readOBJ(arquivo))
arquivo = 'meshes/cat-poses/cat-03.obj'
open3d(); wire3d(readOBJ(arquivo))
arquivo = 'meshes/cat-poses/cat-04.obj'
open3d(); wire3d(readOBJ(arquivo))
arquivo = 'meshes/cat-poses/cat-reference.obj'
open3d(); wire3d(readOBJ(arquivo))