owl-project / NVISII

Apache License 2.0
327 stars 28 forks source link

material setting #121

Closed ctxqlxs closed 3 years ago

ctxqlxs commented 3 years ago

how to set plastic material? like this: image

natevm commented 3 years ago

I suggest checking out examples 17 and 18 to learn how to create the material that you
want. We render a bunch of different objects with different materials there, and you can pick which configuration looks closer to what you’re after.

https://github.com/owl-project/NVISII/blob/master/examples/17.materials_visii_interactive.py

https://github.com/owl-project/NVISII/blob/master/examples/18.materials.py

in general, a plastic material can be made by creating and assigning a material component with roughness = 0, metallic = 0, and transmission = 0.