Under ocean close to surface issue

I’m doing a sim based on the submarine. But the camera starts under the surface and ends up way above. However, the suface looks horrible from underneath. The facetting of the ocean mesh is horrible but as soon as I’m above it looks pretty much perfect.
Is there a fix to this?


really the ocean is not working when the camera is under the water, we will fix this

Is that something we’ll see soon (weeks) or in the future (months)?
I’m creating this for a 4K shot to be delivered in January. So should I create a work around in the meantime?

i hope so, even in one week is possible

ok, thy with the next nightly build, it should be fixed.
it also adds automatically “underwater glasses” to the camera, in case if you have fog color of the water.

I guess I dont understand how this relates to the rendering seeing as it is changing the surface itself.
from the manual: an isosurface is a set of points where the value of the field is equal to certain constant, this parameter is the constant itself.
…which I dont really understand anyway…:slight_smile: sorry!

Anyway, in the long run the place of an option doesnt bother me as long as I understand what it is doing. :sunglasses:

Well, in the simulator, water and smoke basically behave almost the same way, it’s just that water pours down and smoke pours up :slight_smile:
With smoke, each cell in the container keeps a value that says how much smoke there is inside it this frame - for example: 0 - no smoke, 1 - thin smoke, 2 - dense smoke. So, when you render, these numbers basically become the opacity and it looks good :slight_smile:
However, when you render water, you need to show some exact surface. So if you have the same container again, 0 means no water, 1 means little water, and 2 means that the cell is full of water.
If you set your level to 2, you will render a shape that has only the cells with 2s inside it - the 0s and 1s will be invisible. It would look like it came from minecraft and would be made of cubes, but we filter it first and it looks smooth :slight_smile:
Now, if you set the level to 1, this time your water will be made of all the cells with 1s and 2s inside - it will become bigger, and will render as if the density inside is all the same (no matter that some cells are full, and others are half-full).
So the level in fact does not touch the simulation - it’s just a way to draw it. In Phoenix water content actually is a fractional number between 0 and 1, and so is the surface level, but the principle is the same :slight_smile:

I am very sorry. Somehow my post turned up in this thread, but was intended to be posted into my thread about pouring water into a glass and the isosurface option relating to it. strange..

BUT, your answer was most interesting nevertheless and the some insight into the coding is very much appreciated!
thank you!

Sweet! I have been given access to to the nightly builds but are they not listed in the regular download section?
Jul 16, 2013, 2.10.10 Is the last dated build I can find. Or should I look at a different address?

The nightlies are downloable at a separate site: nightlies.chaosgroup.com
You need the password that you got by email to open the packed installer!

Bummer. maybe I had access to nightlies way back and they just confirmed in the mail that I have access. They didn’t include any login details.
I’ll mail them back and ask them for a new one. Thanks Manuel for your quick reply

yes,ask for nightly access details they should provide a link and archive password

i’ve tryed nightly build and underwater is really strange, looks like there’s a fog in water


why you find this strange? this is the fog specified in the water material

Up and running :slight_smile:

But I when I activate mesh in the Preview I also got mesh for Foam and Splash (after a while, don’t know exactly when). Offset and looking like default mesh without shader.
I had to delete it to get rid of it but that also removed the Foam and Splash from render. The helpers are still there.
It has now happened twice so I should be able to make it happen again.
Is there a way to disable the in cam glas that renders the fog in the water shader? (I can do it in the material)

well, this bug was already reported, but we still can’t figure out how it happens.
just delete the copy and reselect the particle group in the foam shader again.
you have to disable the fog color in the water material, no other possibility. if you are afraid that this will remove the appearance above the water, just decrease the fog, don’t disable it. the water will look still dark (because there is no bottom) but under the water the fog will disappear.

Yes the material isn’t really a problem. I’ll keep my mind awake and report what triggers the mesh generation on my end.

I get a system lockup while “tranforming vertices” so bad that Max goes down when I render with a VrayDomeCamera. at a size 400x400. Renders in a snap at HD VrayCam. Is this the ocean surface getting calculated?
I guess this could relate to lack of ram but I’d like to have that confirmed. I only have 12 at the moment. High time to upgrade?

- Fixed - Sorry, dynamic memorysettings was way low!

Is there a way to lock the oceangeneration to a specific camera?
I have multiple cameras in the scene.

- Work around was to set the correct view, save, re-open the scene.

It seems as the Ocean does not include the entire fov for the VrayDomeCamera. Is that adjustable or should I fix that with a separate render and make it look good in Post?

To make the water surface look good I added a bump to the shader. But it appears to show up on the camera lens.
I’d really like to keep the bump since it makes a world of difference to the rendering.
I’d like to see a option to assign material to the camera so that it’s not default the same as the “water”

Is there a way to calculate the amount of ram needed to render a specific sim?
That DoomeCamera of mine is eating every RAM I have when “transforming vertices”.

i suppose not the dome camera, but some mapped GI eats the ram.