Skip to content
Discussion options

You must be logged in to vote

Hi,

The argument Float/Point2f are vectors, so all Mitsuba functions are naturally vectorized.
We can get a vector of Point2f sample with mi.Point2f(np.random.rand(1000, 2)) for debug purpose.
In practice we get them from sampler.next_2d() with initialization sampler.seed(seed, wavefront_size). Examples can be found in src/python/python/ad/integrators/common.py

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by luca-morreale
Comment options

You must be logged in to vote
0 replies
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