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

Load tranparent/glass 3d model in nvisii #235

Open
utsavrai opened this issue Mar 25, 2022 · 1 comment
Open

Load tranparent/glass 3d model in nvisii #235

utsavrai opened this issue Mar 25, 2022 · 1 comment

Comments

@utsavrai
Copy link

Hi,

I have been trying to load transparent objects in nvisii data generation script, but so far unable to get transparent property in the final output images. It would be a great help, if anyone could provide an example of loading any 3d transparent object in nvisii script.

thanks

@TontonTremblay
Copy link
Collaborator

Transparent objects are hard. You might need double wall in the mesh. Have you tried to load it in https://github.com/owl-project/NVISII/blob/master/examples/17.materials_visii_interactive.py and change the model it loads for yours, then play around with the material. I think I gave a quick intro to the materials in the tutorial video for nvisii. You can use alpha to make it transparent or you can use transmission (I am not sure if it is the right one) and change ior as well. You might also have to change the ray depth and number of samples.

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

2 participants