A couple of Workflow Questions

Still couldn´t get the foam/splashes in the render element, renders only black, no idea what I´m doing wrong. Am I supposed to just add a vray atmospheric render element and be done with it? Can´t find a way to pick the phoenix atmospheric effect anywhere…
But due to the limited time we have for rendering, I think wel´ll have to go the route with rendering foam/splashes separately and do the coloring in post.
That way we can also lower sampling settings for foam/splashes pass and get even faster renderings.
I noticed that the frame I was trying to render was already at 9M foam particles, so that might have been a bit overkill…
Too bad I can´t have more time for R&D to get a feeling for the different settings and how they affect the particles, i do realize that there is probably no proper way to predict the particle count in advance…phoeni would have to be able to predict it´s own simulation future…:wink:

But maybe you could shed some light on how to get longer foam trails…?
Do I have to up the Foam Half life value (it´s at 0.5 in the demo ship scene)?
Do I have to increase the “outside of grid” life of foam or splashes?
Or do I have to increase birth rate or threshold?
Or do I just have to let the simulation run longer (right now I have a “preroll” of 150 frames before the actual shot begins) do see longer trails?
Like you said: I could get away with fewer particles, if I just shade them as bigger sizes for shots that aren´t too close up…i just need the particles to stay alive longer…

i found it, there is an option “filtering” in the render element, it must be enabled, i will investigate why it renders black with it, but for now this is your solution

about the foam - if you render it in separate pass with no water, 9M is pretty good, you can render even 50M for time less than 5M in water. beware of the foam size - it affects the final look very strong. smaller foam size leads to thin string like patterns, the bigger size leads to foam that looks like floating islands. see the image, it shows the difference. for a good simulation the foam particles must be in contact to make possible the b2b process. if they are not in contact, the foam looks like dust over the water. thats why the foam size does matter. the foam size depends on the particle count, the bigger is the count, the lower must be the size for the same appearance. this means if you need to increase/decrease the count, you have to change the size too.
you can also try to use the liquid-like option of the splash. see the help (you can find it at help/additional help menu) and there are image showing the difference between normal splash and liquid-like splash. keep in mind that this option makes the simulation slower, it is similar to the b2b option of the foam and all the rules are the same. i see some flying foam particles in your simulation, that is disturbing. can’t say the reason without animation preview.
in general, the foam/splash control is the most complicated part of the simulation, the liquid is easy, in the most cases you need only to enable the liquid checkbox and already have good looking liquid :slight_smile:

oh great, I´ll uncheck the filtering then and see what we get!

I was really wondering about the drastic render time improvement of foam/splashes, if rendered as a separate pass. I guess its the reflections and refractions interaction between foam/splashes and water, that make the render time explode if rendered together…

The demo scene was a very good start to get a basic setup, that only needs to be tweaked for those kind of sims, since the system units of the file was different than ours, it was hard to figure out which settings need to be multiplied and whish settings needed to be reduced in order to give a similar look.
That also explains the flying particles: They are due to the fact the falling spped was set to 25m (I multiplied the value in the demo scene by 5…).

So once again to recap the foam size:

I do need to take care of the foam size during simulation, because of the pattern they are forming , if they are in contact.
What would be a good range for foam and particles at a Unit scale of 1m?
Last sim ran with 0.1m size and already looked ok, I´m trying with 0.05m now.
The hardes part is still predicting the particle count, I was already at 4m foam particles after 20 frames and I´m not sure which parameters to lower first for lower particle count, because Simmulation times would get really slow after only 100 frames i guess…
Any advice on that?
Unfortunately at the time we can only worry about getting everything done and not about how good it looks in the end…

the splash count is controlled by the birth rate, the foam count is controlled by the foam on hit option of the splash. they affect the birth in linear way, if you need to double the splash, double the birth rate

Ok, great,now i know how to control the particle count.

One last question for today, not sure if it is because of the inertia: At the border the liquid seems to “sink in” a little bit, maybe it is because of the shockwave created at the beginning from the moving grid and will disappear after some frames (haven´t simulated the scene past 100 frames yet).
Just checking if you know abuot the problem and if I just need to wait more frames for the “border wave” to disappear.

hm, not looking too good after 200 frames…I can still see a visible seam at the grid border.

You can see it below, together with some settings…is there any way to avoid those borders?

I guess the fall off option in the rendering tab only applies to the grid mesh, and not the particles, right? otherwise we might be able to blur out the borders without having to resim.
On the bright side…we are getting nice long trails now…:wink:

seems like your have the self arising waves, the reliable cure is to increase the spf, but you can test to use ft advection, i noticed that it does not suffer from this disease.

Ah, sorry, now I remember you already answered this question in another thread…I´ll try both options on the next sim then, depending on the framing of some shots we might get away with the sim right now.

Still no luck…Increasing the SPF Value still produces that initial sink in. Using forward transfer produced even worse results. I noticed, that the initially specified Z size of the grid doesn´t stay the same, if I increase the resolution, but slightly changes, so I was wondering if the initial fillup level might be wrong?
For example: My grids Z size is 3m, I placed it at -1.5 meters, so I thought an initial fill up of 50% should make the ocean level at exactly 0m in Z direction.

Like I said, I think we can get awy with it, phoenix does at pretty good job at blending the borders, the only issue are splash and foam particles, because they are forming straight patterns at the borders this way.

I attached another image, its taken in the front viewport and you can clearly see the surface bend atthe borders.

It does seem like that border is linked to the initial fillup level.
By simply playing around with it, i almost got the surface to be completely flat. i´ll still have to simulate for an hour or so, to see if that flatness at the borders stays that way, so maybe I can decrease the SPF value again (right now it´s at 8 with 20m cells).

no, the border is not linked to the init fill up, it’s controlled by the ocean level parameter.

Yeah, I figured that out after a couple of frames simulating.
I upped the SPF to 20, but the initial sink in or “self arising” wave is still visible. Do i need to up the SPF even more to get ridof it, or is there another way?
Forward Transfer made thinks even worse, don´t know if it is because, the grid is linked to the moving boat or anything else.
or do I need to increase the grid size even more to get rid of it?
Both will come at the prize of bigger simulation times, so probably no option for this project I´m afraid, but clever compositing…

the initial wave is not avoidable, you have just to wait it to pass through. can you post image? on spf 20 self arising waves are not very plausible

Yeah, the initial wave is not that bad, just the fine border, that seems to stay past the initial wave. But at the borders (I attached a screengrab in a post below) the foam forms straight patterns, because he can´t go through.
maybe I still haven´t simulated enough frames as a preroll and that border would completely disappear and without it the foam could float past the grid borders on the sides without forming those straight lines along its sides. The SPF settings for the scene I already simulated were only at 6, not at 20.
the screenshot I posted above shows the surface of the grid on frame 1, it should be competely flat, but it´s sides are bending up a bit. It´s not very much, maybe a couple of millimiters, but still enough to keep the foam from leaving the grid borders at the side.

On a sidenote:
The problem with the grid not having enough detail to match the displacement of the infinite ocean can be worked around by lowering the detail in the ocean texture.
Right now we´re only simulating with around 20-30m cells due to our lack of time, and that seems to work pretty well.

ah the foam, it is not a good idea to have foam that leaves the grid through the left and right borders, let the foam to leave the box only through the back side. why the back side is good but the left and right side are bad? because the foam’s movement is highly related to the water’s movement. if you have waves that push the foam outside the grid, the foam switches from the wave’s velocity to zero, and this produces visible line. the force that pushes the foam is present only in the grid, this is the water, there is no force outside that continues the waves force, and the foam just stops its outgoing movement in the moment when is no more in the grid. in our video this happens at sec 18, the foam touches the right border and produces line. the back side is not a problem because the intertial forces are directed to the back side, and they continue to push the foam away regardless of the grid. of course small line is visible in the backside too, but is very hard to see it.

Oh, I see. So, as a rule of thumb and if you are short on simulation time, it is better to make the grid wider for boat trails, rather than larger?
I doubt I´ll find the time after the project, but I´d really like to make a good tutorial about all of this, I´ve learned a great deal via this forum in a very short time…

By the way, there is one more thing bothering me:
Due to the much shorter render times, our workflow is now like this:

1. Render all other geometry and grid surface with good lighting (HDRI Dome light).
2. Change Vray Properties of these to Matte object and set Alpha to -1.
3. Turn of HDRI dome light and environment background.
4. Turn on Special Light rig for foam and splashes.
5. Add Vray atmospheric render element.
6. Hide Foam object and render splashes.
7. Hide splashes element and render foam.

We also had to lower the fog multiplier, because we are loosing the fog coloring through the underwater bubbles.
But now we have every element separetely and can do all our color correction and DoF blurring (by manually blurring the different elements) in post, by turning of the environment we can also get the foam/splashes reflections on the water surface.
At least in theory this gives us very short render times and lots of power in post.

Now for the part, that is bothering me:
We have some scenes setup with multiple grids, and doing the whole process several times, can be quite time consuming.
Is there a way to add several atmospheric render elements and select the different foam/splashes with it?
If not so, it would definitely be on my wish list!

And last but not least:
I know the infinite ocean is kind of a trick solution, because it is not actually interacting with the simulation, and if you are using higher wind speeds, you are bound to get some strange results. But is one of the very few things i found during my stress testing of Phoenix, that might be worth giving some more thought for future developments.
Some of the strange results I saw might also be because we insanced the same grid in the scene. We rendered one in ocean mode and the other one cap mode, all in all they blended together pretty well, just sometimes, when the waves are at their lower peak, the splashes look like they are displaced wrong.

You guys must probably be some of the very few people that were happy to hear, that autodesk didn´t announce the implementation of Naiad into Max…

Actually, the weird displacement might be a problem I caused myself, because I set the displacement to “Surface” instead of vector. I´ll see after rerendering…

And one more point for my wishlist:
At towards the horizon the ocean surface gets quite noisy. Not sure if this is fixable, I already tried increasing the Vray Image sampler, but that didn´t work either.

And now another problem occured, I hope you can shed some light on what I´m doing wrong.
To save time, I wanted to reuse the same simulation in different scenes.
SO I imported the Simulation object into my new scene, positioned and rotated it into the desired place and set the input path to the cached sim from my other scene.
But when i hit render, it just rendered black, and the updated viewport mesh showed just one huge displaced mess…

when the rendering is in mesh mode (mesh,ocean, or cap) the displacement is always in vector mode, the other displacement options are valid for the implicit surface and the volumetric modes.
about the noisy horizon - you have to increase both the skyline subdivisions and the image sampler. apparently this will lead to high render times, so i recommend to find some fake solution , why not blending with real image in post?
you can create very easy a blending mask, just blur the alpha of the ocean.
about the reused cache rendering problem - i suppose you have velocity exported right? just few days ago we have a bug fixed, that occurs when you have velocity exported and use some play offset. so, if this is the case, (i hope it is!) just download the latest build and it is fixed