You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry to bother, I'm trying to use bvh ray tracing to calculate the shadow effect, and I'm a little confused about the trace_visibility function here. I have two questions:
Question 1
In the code the ray direction are randomly sampled, what's the reason for this:
rays_d=torch.randn_like(rays_o)
Question 2
My goal is to compute the visibility of all gaussian points under a point light (in order to calculate the shadow effect).
Sorry to bother, I'm trying to use bvh ray tracing to calculate the shadow effect, and I'm a little confused about the trace_visibility function here. I have two questions:
Question 1
In the code the ray direction are randomly sampled, what's the reason for this:
rays_d=torch.randn_like(rays_o)
Question 2
My goal is to compute the visibility of all gaussian points under a point light (in order to calculate the shadow effect).
Hello, thanks for the wonderful work!
Sorry to bother, I'm trying to use bvh ray tracing to calculate the shadow effect, and I'm a little confused about the
trace_visibility
function here. I have two questions:Question 1
In the code the ray direction are randomly sampled, what's the reason for this:
Question 2
My goal is to compute the visibility of all gaussian points under a point light (in order to calculate the shadow effect).
When I set:
rays_o
as the position of the point lightmeans3D
as gaussian positionsrays_d
asmeans3D-rays_o
And add these lines in the trace_bvh_opacity_cuda function (which means the light reaches the targeted gaussians):
I always get an all-zero visibility. I'm wondering if I set the parameters wrong. Could you give me a hint it?
Sorry for the bother again! I'm looking forward to your reply!
The text was updated successfully, but these errors were encountered: