Search - User list
Full Version: Never working pyro collisions still an issue ???
Root » Houdini Lounge » Never working pyro collisions still an issue ???
Nikodim Fomich
Can anyone explain to me why collisions with PYRO absolutely never work and no one is addressing that? Like evrybody is complaining about this and youtube is full of videos about the issue,Google is full of people asking why is it not working. Only this forum has like 1000 threads with same question so HOW is this still a thing ?? I found ton of videos online with people claiming it doesn't work but how come no one has solved this yet. I am faking it all in post but it would be great to have it work in any of the 3 or 4 pyro solvers. I had some cars falling off the bridge in a shot recently and they were suppose to disturb the cloud of smoke when they are falling which I of course did in post because Houdini couldn't solve it because it's a pyro collision and those don't work yet in Houdini but how else to do it. Idk, I tried turning collider geo in VDB but VDBs can't have velocity so I thought ok I will use Convert node to make it a standard volume but that didn't do it either. Like is there a special plugin or a feature or anything? I am willing to give it a try once again but I just don't see this working. Maybe in Houdini 19. Did you guys ever try to do a pyro collision? If you did you know exactly what I am talking about, how did you solve it (except by masking in post)?.
Is there a way to throw stuff through a smoke sim in houdini and get it disturbed ? And how? And yes we all know it's possible for smoke to hit the wall but that's easy it;s just a box, what if you have a complex object moving through it? Is there a solution for these complex collisions in 18.5 yet? SideFX can we please have WORKING COLLISIONS in Houdini 19? That would be really useful so I don'y have to spend 3 hours in Nuke to fake all the collisions.
Thanks
tamte
you may be happy to hear, that no, this is not an issue in general and never has been as far as I know
Pyro collisions definitely take velocity of the collider into account in both of the common methods you can source them

1. when using Static Object in DOPs (or Collision Source mode if using Pyro Solver SOP), by default pyro samples velocity automatically from geo's v attribute and uses volumetric representation for actual collision
so as long as you have correct v on your geo and reasonable sdf representation of the collider (vdb or not) it should work predictably

2. when sourcing directly into collision and collisionvel using Volume Source DOP (or SDF+Volume Velocity mode in Pyro Solver SOP) you just make sure you are feeding it both correct sdf volume and velocity volume (VDB or not)
and yes contrary to your claim that you can't have velocity vdb you may be also happy to hear that of course you can and always could, just make sure you have correct v on your geo and then VDB From Polygons allows you to create vdb volume from any attribute

attached simple example using sparse pyro in SOPs with both methods, but even building this in DOPs and with older pyro solvers would use the same types of sources
there are also other ways to source collisions, like you can also use Static Object with just transforming objects and therefore use static sdf and rigid velocity, but exhausting all options is beyond the point
Soothsayer
I've always found them tricky. They work but rarely out-of-the-box. One thing I find annoying is that the default volumesource is looking for incoming velocity volumes to be called v, whereas usually it is vel, or sometimes collisionvel. And then it's easy to miss setting it to vector, or not enlarge fields correctly, etc. Sometimes collisions are too thin, or don't exist inbetween frames, etc. There's like a hundred little gotchas.

Sometimes with fast moving stuff all you need to do is add vel from the object, forget about correct collisions. Just disturb it a little.
mrCatfish
Also, as per the docs here: https://www.sidefx.com/docs/houdini/pyro/background.html#collisions [www.sidefx.com]

The IOP Iterations parameter on the Advanced ▸ Collisions tab of the pyro solver controls the number of times this process is iterated. By default, this is only done once However, if your colliders are fast or you notice smoke tunneling through them, consider increasing the number of IOP Iterations.
lewis_T
The volume source as collision, when made from the vdb from polygons is my preferred method.

Object > pointvel sop > vdb from poly: make the sdf name collision, and create a new field called
collisionvel that uses the point v you calculated earlier.

The main advantage of piping in your collision through this, is that you can keyframe the vel multiplier
at any point during the sim. To exaggerate or play down the influence of the collider.


L
clintond
This thread was extremely helpful for me.

I was adding a collider that consisted of a non-uniform ground plane. The poly ground was extruded and used as a volume. Collisions 'kind of' worked, but there was a lot of pyro still passing through the plane.

My good friend Fez suggested I 'thicken' the ground plane extrusion so it was wider than the distance travelled by the pyro on each time-step. This solved my issues.

Hot tip to the OP: If you create a forum thread and receive a tonne of useful responses (as you did here), then reply to the thread to a; thank them b; let others know it helped you.

Those responses required not only their expertise, but also their time, and they offered it to you for nothing. Saying thanks is the least you can do.
tamte
clintond
I was adding a collider that consisted of a non-uniform ground plane.
if possible (depending on shape) you can convert your nonuniform ground into heightfield
and then use Terrain DOP with Use Heightfield checked to source it into the sim

Heightfields are very efficient as colliders for many sim types, and you should be able to avoid messing with thickness that way
Nikodim Fomich
@tamte Thanks man. That sounds like what I was looking for but I did try to take an object that contained velocity and turned it into VDB and it didn't work for some reason. Does velocity stay on VDB after it's turned from object with velocity into SDF version of the same object? Thank you for explaining it.

@Soothsayer Oh I know. Many things in Houdini would not work straight out of the box but I never used collisionvel usually "v" or 'vel". What is collision vel for? Thank you


@tinyhawkus Thank you for sharing that. Can you please further explain what did you mean by creating new field called collisionvel?
I would like you mentioned take an object, make sure it's "water-tight" geo, add Point Velocity SOP, turned it into VDB from Polygons (SDF) and try to use that as a Volume Collision Source in the solver. I know it's v on SOP level and vel in DOPS. Not sure where collisionvel comes in.

Thank you everybody.
Daniel Lefebre
clintond
My good friend Fez suggested I 'thicken' the ground plane extrusion so it was wider than the distance travelled by the pyro on each time-step. This solved my issues.

This is some great advice for thin collision objects. like a piece of paper I am working with.
CaueR
Hello there, great topic indeed. I´d like to ask if there a reasonable explanation why I got a wrong behavior using Pyro source wind, on other hand if I use attr V as initial vel it working properly.



Thx for this amazing topic.
bumba
Hi,
studying Tamte`s file helped me.
my problem was:
The name of the vdbfrompolygons-> Distance VDB (default is surface)
did not match the the name of the pyrosolver-> Collision->Collision SDF (default is collision).
If the name attribute does not match, it still works on creation, but not after working with it.

Just set both name fields to collision ...
THX and Cheers
TheLEDStudio
bumba
Hi,
studying Tamte`s file helped me.
my problem was:
The name of the vdbfrompolygons-> Distance VDB (default is surface)
did not match the the name of the pyrosolver-> Collision->Collision SDF (default is collision).
If the name attribute does not match, it still works on creation, but not after working with it.

Just set both name fields to collision ...
THX and Cheers
I am using H19.5.640 and the only options I can find in the PyroSolver is "SDF + Volume Velocity" and "Collision Geometry", I assume you are refering to "SDF + Volume Velocity" as the option to choose?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB