Never working pyro collisions still an issue ???
12196 12 3- Nikodim Fomich
- Member
- 70 posts
- Joined: 11月 2017
- Offline
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
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
Edited by Nikodim Fomich - 2021年9月6日 19:05:47
- tamte
- Member
- 8795 posts
- Joined: 7月 2007
- Offline
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
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
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- Soothsayer
- Member
- 874 posts
- Joined: 10月 2008
- Offline
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.
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.
Edited by Soothsayer - 2021年9月7日 05:42:31
--
Jobless
Jobless
- mrCatfish
- Member
- 732 posts
- Joined: 12月 2006
- Offline
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.
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
CG Supervisor
Machine FX - Cinesite MTL
- lewis_T
- Member
- 250 posts
- Joined: 3月 2013
- Offline
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
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
I'm not lying, I'm writing fiction with my mouth.
- clintond
- Member
- 5 posts
- Joined: 2月 2016
- Offline
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.
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.
Edited by clintond - 2021年10月30日 05:51:40
- tamte
- Member
- 8795 posts
- Joined: 7月 2007
- Offline
clintondif possible (depending on shape) you can convert your nonuniform ground into heightfield
I was adding a collider that consisted of a non-uniform ground plane.
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
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- Nikodim Fomich
- Member
- 70 posts
- Joined: 11月 2017
- Offline
@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.
@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
- Member
- 1 posts
- Joined: 7月 2015
- Offline
- CaueR
- Member
- 1 posts
- Joined: 10月 2018
- Offline
- bumba
- Member
- 4 posts
- Joined: 6月 2008
- Offline
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
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
- Member
- 5 posts
- Joined: 3月 2022
- Offline
bumbaI 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?
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
Edited by TheLEDStudio - 2023年12月7日 04:39:32
- jwverde
- Member
- 5 posts
- Joined: 3月 2024
- Offline
-
- Quick Links