Skip to content
Discussion options

You must be logged in to vote

Hi @sapo17

This is indeed a bit complicated in Mitsuba. Here are a few things that come to mind:

  • Mitsuba/Dr.Jit doesn't have matrix-matrix multiplications for arbitrary sizes. You would need to implement something like matrix_mutiply(a: mi.TensorXf, b: mi:TensorXf) using Dr.Jit operations only (to preserve automatic differentiation).
  • The matrix initialization in unfirom_laplacian is awful to do in Mitsuba. Since it's only computed once per mesh/topology you can safely build it with some other framework and convert it to a Mitsuba/DrJit type.
  • When using mi.traverse() on a Mesh, you'll get vertex_positions, faces as flattened arrays. Internally the vertex_positions parameter is a bit un-co…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@sapo17
Comment options

Answer selected by sapo17
Comment options

You must be logged in to vote
4 replies
@sapo17
Comment options

@DoeringChristian
Comment options

@sapo17
Comment options

@GuangyanCai
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants