unisurf icon indicating copy to clipboard operation
unisurf copied to clipboard

Some qusetions on the variables of the project.

Open Impuuuuuu opened this issue 3 years ago • 1 comments

Thanks a lot for your contribution of the work! And here are some qusetions when I read your code. First, what dose the parameter "radius" of rendering mean in the config file? Second, what dose the variable "depth_intersect" mean, which is the output of function "get_sphere_intersection" in rendering.py? Looking forward to your reply, thanks again!

Impuuuuuu avatar Dec 24 '21 09:12 Impuuuuuu

Thanks a lot for your contribution of the work! And here are some qusetions when I read your code. First, what dose the parameter "radius" of rendering mean in the config file? Second, what dose the variable "depth_intersect" mean, which is the output of function "get_sphere_intersection" in rendering.py? Looking forward to your reply, thanks again!

I think the function get_sphere_intersection is used to decide the depth of how ray should reach. More intuitively, the parameter "radius" defines a sphere which contains the Occ field, and the get_sphere_intersection calculate the intersectional points between rays and sphere and the closer one is truncated to zero (etc. from 0 to 5),which decide how depth will the rays should sample.

SienChen1997 avatar Jan 19 '22 08:01 SienChen1997