NVlabs / nvdiffmodeling

Differentiable rasterization applied to 3D model simplification tasks
Other
455 stars 30 forks source link

some question about the complex material, such as that ray marching snail #8

Closed myshiop closed 2 years ago

myshiop commented 2 years ago

Hi, Thank you very much for your research. I'm trying to use your framework to approximate complex materials, but the blender complex material dataset I made with my own is not very good, because I encountered many problems with camera and light settings in my own rendering, Is the ray marching snail used in this paper directly rendered with shadertoy, or is the ray marching process written in Python?

jmunkberg commented 2 years ago

Hello, The (ray marched reference ) shadertoy models were rendered in a GLSL pixel shader in PyOpenGL so essentially the shadertoy code directly (modified to isolate the main object). The ray marching process was all in pixel shader code, following the shadertoy example. Our approximation is a rasterized triangle mesh with deferred shading, supervised only by loss on the rendered images.