DavidBrainard / RenderToolbox3

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

PBRT output partially garbled, occasionally #2

Closed benjamin-heasly closed 9 years ago

benjamin-heasly commented 11 years ago

Sometimes PBRT outputs look garbled. When this happens, the lower left corner of the rendering has stripes and black parts, as though the data were written or read from a buffer with incorrect element size, stride, alignment, etc.

I've only noticed this with small renderings, about 100x100 pixels or smaller.

As far as I can remember, this only happens on my 2008-era Mac Book.

This would be a pain to debug, since the problem could happen as far upstream as the pbrt-v2-spectral Film implementation, and as far downstream as RenderToolbox3 MakeMontage()!

This bug is not yet problematic for any particular use case.