I have little trouble with how to do camera lens material, that would cast only very slight hologram/reflection shape of camera sensor on the glass surfaces.
Seems very hard to get light to go from environment -> through lenses -> hit the sensor -> reflect and refract back out to environment -> to the render camera which is not directly visible to the mesh sensor.
Simple clear glass works the fastest, only rough glass is insanely slow, and mix of clear and rough has some brightness issues.
I set the sensor to mesh emitter (0.3W, gain 1, lumen 1).
Single lens
Single lens with clear glass:
Single lens with rough glass:
Single lens with mix glass:
The brightness gets stronger the more i duplicate lens elements, i test with 3 lenses:
3 lenses with clear glass:
3 lenses with rough glass
3 lenses with mix glass
The blend file:
Camera lens sensor setup?
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Re: Camera lens sensor setup?
I use pure rough glass and this seems to work.
Now i must figure out how to balance environment reflections against sensor reflections without blowing color values out
Sun sky is pretty strong.
Glass Rough 0.0015, Reflection 0.0001, Transmission 1
Now i must figure out how to balance environment reflections against sensor reflections without blowing color values out
Sun sky is pretty strong.
Glass Rough 0.0015, Reflection 0.0001, Transmission 1
Re: Camera lens sensor setup?
How do the real life reference of what you want to achieve look like ?
Re: Camera lens sensor setup?
It doesn't really matter, some colorful reflections with no thin film.
If you are lens aperture wide open and shutter curtain open, then there is little color when you shine light in, can't find related image.
Re: Camera lens sensor setup?
Mixing glass and rough glass for lens elements was bad idea.
The overnight render was all blown out, the BlendLuxCore recommended clamping value of e+36 or was it e+38.
The pure rough glass seems very sensitive to too small gaps (0.0001m) between lens elements.
Looks like LuxCore ui supports roughness as low as 1e-9, but even this was too slow.
Only option for now is clear glass.
The overnight render was all blown out, the BlendLuxCore recommended clamping value of e+36 or was it e+38.
The pure rough glass seems very sensitive to too small gaps (0.0001m) between lens elements.
Looks like LuxCore ui supports roughness as low as 1e-9, but even this was too slow.
Only option for now is clear glass.
Re: Camera lens sensor setup?
The mix material should work when i use the mix factor with new math option "greater than" 0.5 via Blender noise texture.
So it only selects rough glass or only clear glass (using mix factor 1 or 0).
But Blender tells "unknown texture type greaterthan"
So it only selects rough glass or only clear glass (using mix factor 1 or 0).
But Blender tells "unknown texture type greaterthan"
Re: Camera lens sensor setup?
You have probably only updated the Blender addon, but not the LuxCore binaries in the "bin" folder of the addon.
Follow the steps here: viewtopic.php?f=9&t=736#p9704
Re: Camera lens sensor setup?
I did full clean install, it works now.B.Y.O.B. wrote: ↑Sun Apr 14, 2019 3:18 pmYou have probably only updated the Blender addon, but not the LuxCore binaries in the "bin" folder of the addon.
Follow the steps here: viewtopic.php?f=9&t=736#p9704
Re: Camera lens sensor setup?
Indeed, this mixing factor works. No blown out render.
And i can weight around between rough and clear glass in Blender noise brightness tab.
And i can weight around between rough and clear glass in Blender noise brightness tab.
Re: Camera lens sensor setup?
I created an issue here: https://github.com/LuxCoreRender/LuxCore/issues/187