DavidBrainard / RenderToolbox3

Matlab toolbox for managing graphics rendering for psychophysics
MIT License
11 stars 4 forks source link

Example wanted, RGB/monochrome rendering #46

Closed DavidBrainard closed 9 years ago

DavidBrainard commented 10 years ago

The toolbox as we have demonstrated it is set up for spectral rendering. For some applications, features of the render toolbox may be highly useful, but spectral rendering will not be needed. The use of spectral rendering then takes up time.

It would be nice to have examples that illustrate RGB or even monochromatic rendering, perhaps with the generically compiled versions of the renderers.

gzmk commented 9 years ago

Hi David, I am actually trying to do exactly this right now (monochromatic rendering) as I am fitting rendered images to some photos I took. This requires me to update the parameters of rendering at every step and re-render, which takes a very long time with spectral rendering. Is there a quick way of getting only monochromatic output that you might know of?

-edit: I figured it out by building Mitsuba from source and setting the spectral sampling to 1 which results in monochromatic outputs. Would be happy to provide an example code/walkthrough. @DavidBrainard