Skip to content
Discussion options

You must be logged in to vote

(Please format your answers with code blocks for error messages, and answer in the same thread. It makes it easier to read and to follow for myself and anyone else coming across this thread).

I don't understand why you have duplicate scene parameters. Please follow the tutorials, they serve as a great starting point.

I put together a minimal texture optimisation script here:

import mitsuba as mi
import drjit as dr

mi.set_variant('cuda_ad_rgb')

# Low resolution reference
reference_tex = mi.Bitmap('mitsuba3/resources/data/common/textures/flower.bmp')

scene_description = mi.cornell_box()
scene_description['integrator'] = mi.load_dict({
    'type': 'prb',
})
scene_description['red-wall']['…

Replies: 4 comments 2 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

Answer selected by njroussel
Comment options

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

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