Page 1 of 1

Ocean: Why are Viewport images and renders different?

Posted: Thu Sep 29, 2016 4:19 pm
by justavisitor
I have a weird problem with an ocean simulation - and it only occurs in Octane; not in Cycles:

Let's say the waves are 1 meters high, at frame 1 in the Viewport, in solid mode.

But when I render (preview as well as F12), they're suddenly 2 meter.

Or perhaps it's more accurate to say that the 'height' of the entire ocean (as opposed to the height of the waves) is much higher in the renders.

Why is that - and is there any way to change it so I get exactly the same render as the image I know from the Viewport?

I've tried rendering in various modes; 'Scattered', 'As is', etc., but that doesn't change anything.

Re: Ocean: Why are Viewport images and renders different?

Posted: Thu Sep 29, 2016 5:02 pm
by justavisitor
I just made a little ocean test here. Try it...

I'll attach Viewport and Render screenshots as well.

As you can see, there's an additional wave in the background of the render that isn't present in the Viewport, and the cube is almost covered in water in the render.

Re: Ocean: Why are Viewport images and renders different?

Posted: Thu Sep 29, 2016 6:51 pm
by grimm
It's been a long time since I have played around with the ocean simulation, but doesn't it use displacement? Depending on your settings for the displacement it could cause these kind of issues.

Re: Ocean: Why are Viewport images and renders different?

Posted: Thu Sep 29, 2016 8:00 pm
by justavisitor
Hi Grimm,
Thank you for your reply.
grimm wrote:doesn't it use displacement?
No, not by default. Good suggestion, though.

Re: Ocean: Why are Viewport images and renders different?

Posted: Fri Sep 30, 2016 5:37 pm
by voon
Did you put blenders viewport "camera" range/clipping on a sufficiently high value?

Image

Re: Ocean: Why are Viewport images and renders different?

Posted: Fri Sep 30, 2016 6:55 pm
by justavisitor
voon wrote:Did you put blenders viewport "camera" range/clipping on a sufficiently high value?
Thank you, voon - good thinking! But yes, I've experimented with all the settings I can think of.

And, as you can see in the attached .blend, the water is higher around the cube in the midground as well.

Btw, judging by the attached .blend, the problem might seem minor (only one additional wave in the horizon and a few inches higher waters in general). But this test version is a very small ocean. I have much larger oceans in my real projects, and the entire horizons are several meter higher in the render than in the viewport.

So this is a serious issue, at least to me.