Conversation
|
Hi @belcour , Thanks for opening this PR and looking into this. IIRC the reason for not supporting textured roughness in this plugin is that the precompute tables We currently do not have a good way to deal with this problem, and are open to suggestions! |
|
Hi @Speierers, I see your point. Right now, my way of handling it is to feed the mean value of the roughness texture to the preintegrated transmittance and reflectance. Visually, the dieletric coating's roughness is the most important cue. Mitsuba 0.6 did precompute the tabulated versions using 3D data tables. Anything preventing to use the 'old' method? A more proper way would be to stochastically evaluate the rough refractions and diffuse bounce in the BSDF. Given that the outcoming importance will be angularly very low frequency, that shouldn't be too much of an issue with respect to increasing variance in the integrator. |
|
Hi @belcour, Those are indeed viable solutions. We orgininally thought of fitting polynomials to this high dimentional table that could then be evaluated analytically. This would be more elegant than precomputing a table and more accurate than the solution you proposed here. Any interest in giving this a shot? |
|
Hi @Speierers, Sure, I can take a lot at that (might take a while though). Still, the polynomial might not be the most efficient way to handle this given the dimensionality of the data. |
|
Hi @Speierers! Is there a way to compute |
|
It would be nice if there was. Do let us know if you can think of something @waytobehigh ;-). A student at EPFL is also currently looking into this, we'll see.. |
Adding textured roughness to the
roughplasticplugin.This is done similarly to the
roughconductorplugin.