Skip to content
Discussion options

You must be logged in to vote

There's no plan to work on this anytime soon. It would either require a lot of refactoring of the exisiting AOV integrator, or rewriting it entirely in Python.

The cost for the extra rendering shouldn't be that large. Basically the one that uses the AOV integrator doesn't need to do a full-depth rendering. All you want is the shape_index so this should be enough

integrator_aov = mi.load_dict({ 'type' : 'aov', 'aovs': 'si:shape_index'})
mi.render(scene, integrator=integrator_aov, spp=1) 

This is basically width x height more ray intersections which should be marginal.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
5 replies
@jensenzhoujh
Comment options

@njroussel
Comment options

Answer selected by jensenzhoujh
@jensenzhoujh
Comment options

@njroussel
Comment options

@njroussel
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
2 participants