-
Hi, Thanks for releasing the new version of Mitsuba! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
Hi @saeedhd96 , Regarding using neural networks within the rendering algorithm (e.g. as a BSDF) is something we are very interested in, although currently it isn't supported. This PR will add support for mixing pytorch and drjit AD pipelines. In theory you could use such custom AD operation to implement a neural BSDF in Mitsuba, but this will force the integrator to operate in wavefront as synchronization will be necessary at every BSDF evaluation. Regarding sphere tracing, I suggest you take a look at this repository. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the update and the tutorial.
My question is, right now, the brdf parameters are defined for each object.
In a neural network based brdf, we need to define the brdf parameters as a
function of location on the object. Is it possible to pass such vectors as
brdf params and evaluate it?
Thanks,
-Saeed
…On Fri, Sep 16, 2022, 11:14 AM Max Frei ***@***.***> wrote:
Hi! Yes, it is. I'd start with this tutorial:
https://mitsuba.readthedocs.io/en/stable/src/inverse_rendering/pytorch_mitsuba_interoperability.html
Have fun!
—
Reply to this email directly, view it on GitHub
<#225 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ72WNCQ5AOKSWZXLRIK23DV6SMEPANCNFSM6AAAAAAQA3LJYA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
The paper Neural BRDF now integrates neural BRDF evaluation into mitsuba. While they provide a C++ plugin, it's not meant for mitsuba3 unfortunately. But, do I understand correctly, that if I had a pre-trained MLP then I could quite easily write a python plugin for evaluating BRDF from this MLP? I suppose it should take advantage of the Dr. Jit acceleration as I do not require gradients to be passed on to the neural network. |
Beta Was this translation helpful? Give feedback.
Hi,
I made a notebook for this specific topic, please see #718.