Volume IOR
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.
Volume IOR
We can't really have any IOR on volumes, right? It's only surface which can have IOR?
CPU Bidir + Metropolis | Core i5-4570
Re: Volume IOR
All volumes have IORs however it is used (i.e. there is refraction) only when the surface between them is glass.
Re: Volume IOR
It is useful (and correct) to have IOR setting on volumes, because then LuxCore can calculate the intermediate IORs of the surfaces around the volumes automatically. E.g. the IOR for a surface that is a water-glass transition.
Re: Volume IOR
Is there the way to simulate hot air for example?
CPU Bidir + Metropolis | Core i5-4570
Re: Volume IOR
IOR is constant over all the volume so it is not possible to simulate hot air for desert-like optical illusions; they are the result of different air temperature => different density => different refraction. It would require to write same ad hoc code to do ray marching over an heterogeneous IOR volume. Not easy to do.
Re: Volume IOR
I see. Then, is it possible to make something like Cycles Refraction node?Dade wrote: ↑Fri Dec 13, 2019 7:04 pmIOR is constant over all the volume so it is not possible to simulate hot air for desert-like optical illusions; they are the result of different air temperature => different density => different refraction. It would require to write same ad hoc code to do ray marching over an heterogeneous IOR volume. Not easy to do.
https://docs.blender.org/manual/en/dev/ ... ction.html
Here's an example https://youtu.be/3UacrK-wngw
CPU Bidir + Metropolis | Core i5-4570
Re: Volume IOR
It is a node working on surfaces (like LuxCore glass, roughglass, etc.), not volumes so it is not applicable to your problem.wasd wrote: ↑Fri Dec 13, 2019 7:55 pm I see. Then, is it possible to make something like Cycles Refraction node?
https://docs.blender.org/manual/en/dev/ ... ction.html
Re: Volume IOR
That's right. I just thought it might be good enough substitution for things like convections flows.
CPU Bidir + Metropolis | Core i5-4570