Skip to content
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

splat_trilinear() will change value range of colors #37

Open
whiteinblue opened this issue Nov 7, 2024 · 0 comments
Open

splat_trilinear() will change value range of colors #37

whiteinblue opened this issue Nov 7, 2024 · 0 comments

Comments

@whiteinblue
Copy link

i want to generate target_color grid object using the following code:
print(torch.min(src_gpu_colors), torch.max(src_gpu_colors)) #color are loaded by open3d and value of all colors are in range [0, 1]
target_color = target_grid.splat_trilinear(fvdb.JaggedTensor(src_vertices), fvdb.JaggedTensor(src_gpu_colors))
print(torch.min(target_color.jdata), torch.max(target_color.jdata), torch.sum(target_color.jdata > 1))
however the range of target_color.jdata are out of [0, 1], is that right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant