Bump (because somehow the froum didn’t recognize my last post as new)
Hey,
I can’t exactly understand what you’re trying to cut off in your example. Can you explain it in a bit more detail?
Probably you could use the Cutter Geometry option from the rendering rollout.
Sure.
Here are a few rendered frames.
https://drive.google.com/open?id=1HL…9iC8km5Lp55JZZ
As you can see the milk is only visible in the simulation box (because I use 0 smoke as milk)
I wanted to use an additional cache that’s covering the whole thing. And remove everything thats outside the liquid and inside the simulation box from it. So it fills the rest of the liquid with white volume.
But I can’t find a way to subtract the simulation box of the coffee sim from my fill cache.
Oh and while we are on it: How do I get rid of the oscillations and bumps in the liquid geometry where it trouches the glass? Did I use too less fps? Or is it meant to be fixed by using some kind of distance-tex trick?
Is it possible to send us the scene with a few cache files so we could take a look what is going on ? You can send it over the the support mail along with a link to this thread.
Thanks,
I did, this is the ticket ID: **252-026-0294 **
Thanks!
Besides tackling this problem, it would have been better to have a fixed grid size, right? Do you think sim time was that much faster because of the adaptive grid?
how long was it overall?
um.. Around two days maybe 3.
I’m simulating a full version right now to have something to fall back to if need be. But I’m in fear this will change the simulation, so it would be best to get this version right.. In case nothing else works I’ll do it by rendering twice (only milk plus the sim box verson above) and do it in post.
However, I think it didn’t saved me soo much time for the simulation in total. But the first 50-80 frames are alot faster because of this. Which was important, in order to get all the iterations done.
Especially the first 100 frames were important to get right because most technical things are happening there.
Got the scene, thanks! Will let you know when we have more info!
Hey,
After investigating the scenes - for the first issue with the adaptive grid - I’m afraid you will have to resimulate without the adaptation. It’s just that your setup won’t work correctly as you have already noticed.
As for the inverting of the texture - actually it does work, it’s just that the empty space that is generated by the smoke is on the inside of the fill simulator.
If you move the fill simulator downwards so it won’t cover the top part and you move the camera you will notice that there is hole inside of the smoke. I have attached a screenshot how this looks.
Cheers,
So I could maybe make this work I just need to fiddle with the values. Thanks!
How about the oscillations and the bumpiness of the liquid geo? Can I get around that somehow?
Ah, sorry I missed that - you will need to enable the cutter geometry for that. So pick the glass as a Cutter geometry and turn on the the Invert Cutter.
You can try using the Isosurface rendering mode as well as the Mesh mode sometimes might produce artifacts.
You can find more about what each options does here - https://docs.chaosgroup.com/display/…ing-Parameters
I think I found a bug.
There are two intersecting liquid sims (milk and “foam” in my case)
I used the cutter for cutting off the intersecting parts from the foam. But it didn’t look nice, so I disabled the cutter and tried the distance tex instead.
The milk simulator was still in the selection box for the cutter.
I used a distance tex with the milk as distance object and put it in the opacity channel of the foam material.
When I hit render max crashes.
And renders again when I put another object in the selection box for the (disabeled) cutter on the foam.
I settled for the clipper for now. Since it isn’t producing artefacts and the isosurface mode is dead slow.
Hmmm, do you still have this scene? I tried reproducing the same setup here, but it seems to hold up without crashing ![]()
Ok, I’ll sent it to the support.
Im on Max 2020 (latest sp) Vray 4.30.01 and Phoenix FD 3.14.00 btw.
Here is the ticked ID **257-566-0331 **
It crashes on my end when rendering.
I found a solution for this in case somebody else needs it.
I put a ortographic cam above the liquid sim and rendered a zdeph channel which I then used in a displace modifier.
That wouldn’t work in all cases but for me it worked like a charm.
Hey, just gonna ping you here as well - we caught the crash and fixed it - I see you are still using Phoenix 3, so I picked it to the Phoenix 3 nightlies and run a new batch of nightlies - they should be ready about an hour from now and you can grab one with the fix
Please ping us in case there are any issues.
Cheers!
Thanks for your great work! ![]()
Wow, is the motion blur this long? Is this at the last moment before the liquid stops being emitted, or is it this way throughout the animation?
Unlike other scenarios, I don’t think we currently have tools to hack the motion blur in a certain area at render time, so it might need handling during simulation. Since the fluid cannot be emitted standing still and be left to fall down, in which case you would not be able to get a straight vertical shape of that is not thinning out while going down, you might have to place the emitter higher and have the liquid flow through a longer path, going outside the render image.
In Phoenix for Maya there is a concept for a velocity texture, which can replace the motion blur from the grid. In order to get the same result as the regular motion blur, you could use a grid texture to route the grid velocity into the velocity texture slot, and in order to suppress it towards the top, you could multiply it by a gradient. This is not yet available in 3ds Max though, and would not be too quick to port…
It’s half-way through the animation.
There is much milk coming out since It needed to be faster then the real thing.
I think that’s why its so long.. I will try to copy the sim, disable mb, on the copy and use the distance tex to hide unhide parts of the liquid on both. The transition could take place in the foam so I don’t have to fiddle that much with the settings to make it invisible.
I should have enough ram across my farm to do that..
I can’t render it on GPU anyways, since neither the isosurface mode nor the clipper in mesh mode is supported (which is a shame).
I’m having problems with the grid tex not being loaded some times.
Happens only at the beginning of the render. Which is strange… after two tests I’m under the impression it happens on the first or second frame a node picks up and then everything runs smoothly.
It’s not the fault of the caches since it renders fine on a second try.
Nothing else is not beeing loaded. Check for missing assets is checked.
It also doesen’t seem to be related to the computer. Nodes that rendered wrong frames also rendered right frames.
Is this known? Should I send you a scene?
