Description
Water layer is currently placed on top of the stack at a fixed position.
If the surface is rough, this produces a sharp scattering contrast, whereas in reality the water would follow the surface profile such as the surface unit cells owned by PoissonSurface.
Possible implementations
- Force water model into the PoissonSurface - it would be just another surface unit cell
- dynamically place additional unit cells onto the stack in the
apply_stacking() function.
The option 2 would be very generic, would require a generic recursive surface / stack building algorithm, that would solve this issue and many other issues, but that would require a major rework.
Option 1 would be the native implementation. Not expandable, which is probably okay for a water model.
Description
Water layer is currently placed on top of the stack at a fixed position.
If the surface is rough, this produces a sharp scattering contrast, whereas in reality the water would follow the surface profile such as the surface unit cells owned by PoissonSurface.
Possible implementations
apply_stacking()function.The option 2 would be very generic, would require a generic recursive surface / stack building algorithm, that would solve this issue and many other issues, but that would require a major rework.
Option 1 would be the native implementation. Not expandable, which is probably okay for a water model.