Closed gdagstn closed 3 years ago
Can you provide the mesh data? It looks like there's something unique going on with the mesh that's causing the black spots. Pathtracing is a bit more forgiving of mesh issues, which is why it they might not have appeared in rayrender.
Great, thanks! Do you have the structures.available
data as well for the color? Also, the camera angles I get when I run your code aren't the same in the image—everything is rotated and the mesh is centered at c(-268.5, -235.5, 155.0)
.
If you can find a specific frame j
with the black spots and provide the above, I should be able to determine the cause.
Really sorry about that - I had exported the list before rotating and smoothing the meshes.
You can find both the correct mesh list and the structures data frame here.
The offending frames in the video I made are for j
= 1:53 and 87:90.
Thanks!
Oh, that's shadow acne. Hard to completely avoid in rasterization when using shadow maps. Since the light is parallel to the camera, you don't need shadow maps, so turn them off by setting shadow_map = FALSE
in rasterize_scene()
. Should fix your issue.
Hi!
Thanks for the great package.
I am trying to replicate my brain rendering workflow, porting from
rayrender
torayvertex
, and something weird happened: some dark spots appear in some parts of the image.See video:
https://user-images.githubusercontent.com/21171362/121120034-580ab380-c84f-11eb-801c-4cb14758ee90.mp4
The code I use for this is pretty simple, as every shape is loaded as a
mesh3d_mesh
in the scene and the scene frames are rendered in parallel (takes 2 minutes to render 90 frames)A similar workflow in
rayrender
has no such issue.Any idea if I'm doing something wrong/need to change arguments?