Replies: 2 comments
-
Hi @ttzytt, There was a previous discussion here similar to the issue you're encountering. The summary is that across render calls, the A shape has an |
Beta Was this translation helpful? Give feedback.
-
I find that substantiating the objects in the order separately with
do the following instead:
such that the index of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently learning TAA algorithms and want to use Mitsuba to generate some testing scenes for my implementation. Since reprojections in TAA requires the motion of objects in different pixel, it is necessary to know the objects (shapes in Mitsuba) at different pixels.
I then found that AOV integrator can output this if
shape_index
is set when constructing it. However, the outputshape_index
seems unrelated to the order of shapes in scene XML files.For example, the following txt file is the
shape_index
output by the AOV integrator forcbox
example scene.obj_id.txt
It seems like the value of these ids is greater than the shapes in the Cornell box scene.
So I'd like to ask if there is any way to obtain shapes in a scene by the
shape_index
generated by AOV integrator.The following is the code I use AOV integrator to generate
shape_index
map, not sure if this is the correct way to use it:Beta Was this translation helpful? Give feedback.
All reactions