Good day, everyone.
I’m starting to learn about the raytracing and rendering possibilities in ParaView to make my OpenFOAM results prettier. They usually involve water and free surfaces for my part, so to have a sort of realistic rendering of water would be great. I have looked into this thread, but I’m not able to reproduce the nice colours they get.
This is what I do:
Clip with alpha.water set to 0.5
Extract surface filter
Surface normals filter
To the surface normals I enable raytracing, select OSPray pathtraces, and set the samples per pixel to 100 or so. The material is selected as Glass_Water.
My issue is that the water is super dark. The data set I’m playing with is a cylinder in some waves. It is pretty much pitch black. I have tried to go to the material editor, and the light inspector, but I can’t figure it out. If the water looked like it does for the shader ball in the material editor I would be happy, but it’s not at all what I see. I suspect it could have something to do with the amount of water I have. When the depth is shallow, I get more colour, as the closeup of the cylinder. I have tried to change the attenuationColor of the material, and it helps a bit, but I don’t get it looking as the shader ball, still.
That’s strange, I copy your pipeline with a dummy scene (box + cylinder) and I definitively not have such dark water result (tested with PV 5.13.0 on Linux):