Skip to content
Discussion options

You must be logged in to vote

Hi @pingpongballz

Dr.Jit has a Complex2f type (which Mitsuba aliases as mi.Complex2f), but we don't have nested structured like a Vector[Complex2f, 3]. I think this could be added fairly easily - it's just a different template specialization in C++, you would just need to add bindings for it in Python. Another solution is to rely on Dr.Jit's handling of Pytrees, where you would define a custom dataclass or just handle your vectors as Python tuples/lists.

Because I am also not sure what problems can arise from this Real and Imaginary decomposition of the integral in the context of inverse rendering.

I have no idea. Ultimately, under the hood these are still decomposed in two arrays, the C…

Replies: 1 comment 1 reply

Comment options

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

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