Make Sphere Shape Differentiable? #231
Replies: 2 comments
-
Hi @kimren227, Indeed this is a limitation currently in Mitsuba 3. It is on our TODO list and we will probably take a look at this in the near future. If you want to give this a try, I would start by changing the flag using in |
Beta Was this translation helpful? Give feedback.
-
I will close this discussion as it is already discussed here. |
Beta Was this translation helpful? Give feedback.
-
Summary
Thanks for open sourcing this amazing project!
I wish to optimize the parameters of the sphere shape(sphere center, radius, etc) through inverse rendering. However, after modifying the "object pose estimation" tutorial to use sphere shapes instead of ply, I got "TypeError, expected a differentiable array". A quick go-through of the "sphere.cpp" seems to confirm that (no differentiable flag on sphere radius and center).
Is it possible to make them differentiable and discontinuous? If so, what's the recommended way of implementing it?
Thanks very much.
Daxuan
Beta Was this translation helpful? Give feedback.
All reactions