Set the initial FOV=0. This ensures that bricks, no matter their position in relation to the camera, are all the same size.

This commit is contained in:
ryantimpe
2019-10-27 17:22:29 -04:00
parent 9a26902437
commit cd9aae52d7
+3
View File
@@ -248,4 +248,7 @@ build_bricks <- function(brick_list,
rgl::bg3d(color = background_color)
rgl::rgl.viewpoint(userMatrix = rgl::rotate3d(rgl::par3d("userMatrix"), 0, 0, 0 ,1) ,
fov=0) #All bricks, regardless of Z, are perceived as same size
}