asztr / Neural-BRDF

Code repository for the paper "Neural BRDF Representation and Importance Sampling" (CGF 2021)
MIT License
28 stars 5 forks source link

Applying NBRDF with Mitsuba3 #2

Open charlieppark opened 1 year ago

charlieppark commented 1 year ago

Dear Dr. Sztrajman

I'm Now trying to use this NBRDF with Mitsuba3, because old version of Mitsuba is not supported to be installed on recent environments.

There are two problems for applying NBRDF to Mitsuba3.

  1. xml format is different Since Mitsuba3 has different dependencies and components, xml format is different with that of NBRDF

  2. cannot directly import npy Since nbrdf_npy is only compatible with Mitsuba3, there is no known way to directly import npy for Mitsuba3

So I'm having these problems for applying NBRDF to Mitsuba3, and applying NBRDF for further research.

I hope you can help me with this :)

Thank You

Sincerely, Chanho

asztr commented 1 year ago

Hi Chanho, Thanks for the interest in the project. I have plans to update the code to be able to run in Mitsuba 3, but I don't know when I'll have the time for this unfortunately.

  1. xml format is different Since Mitsuba3 has different dependencies and components, xml format is different with that of NBRDF

My guess is that this should not be hard to adapt for the new Mitsuba version. But let me know if you find specific issues and I'll try to help.

  1. cannot directly import npy Since nbrdf_npy is only compatible with Mitsuba3, there is no known way to directly import npy for Mitsuba3

This is harder since it will likely require a rewrite of the plugin. As I said: I will try to do it when I have the time, but can't anticipate when. If you make any progress with the translation to Mitsuba3 I'll be happy to add it to the repo.

Best, Alejandro

charlieppark commented 1 year ago

Thank you for your reply. I currently succeeded rendering with mitsuba3 and have some problems with autoencoder training and backpropagation through NBRDF. I think it will be a great help if I can refer autoencoder of NBRDF, but I think I cannot find any in this repository. Is there any reference or code that I can refer for this problem?

nailtu30 commented 3 months ago

Thank you for your reply. I currently succeeded rendering with mitsuba3 and have some problems with autoencoder training and backpropagation through NBRDF. I think it will be a great help if I can refer autoencoder of NBRDF, but I think I cannot find any in this repository. Is there any reference or code that I can refer for this problem?

I successfully installed mitsuba0.6 on Ubuntu20.04 following https://github.com/dat-boi-lux/mitsuba-0.6.0-modern-linux.