-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this truncated sdf? #11
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thank you for your great package. It also works well with complex mesh objects.
Since I had to use the sdf values directly, I took out the values of render texture using the code at HERE.
However, I found that the sdf values are clamped into [0, 1], called truncated sdf (tsdf), that is, the sdf values written in render texture inside the object were not negative but 0, and if the sdf is bigger than 1, the values written in render texture are 1.
(I think there may be a problem with the code in the link above..)
I need the real sdf, so I want to know the parts where to clamp the sdf values and how to modify it.
The text was updated successfully, but these errors were encountered: