Replies: 1 comment
-
@DWin233, this if-branch is related to our SVMC algorithm implemented by @ShijieYan. In the SVMC volume data structure, one voxel can contain two labels - thus split-voxel - separated by an sub-voxel interface. the the above statement is simply retrieving the "current" medium label and test if it is 0 - if in a single-medium voxel, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm reading the source code to learn VMC and have a little doubt.
In the device function
reflectray(...)
, when judging whether to enter the background medium, is there an implicit assumption that the upper medium is not the background medium? If so, I would like to understand why this assumption is made?Beta Was this translation helpful? Give feedback.
All reactions