Hi all,
I have a smoke sim in dop. I can visualize the smoke velocity in dop using ‘streamers’ (see Smoke Object > Guides).
I would now like to import these streamers back into SOP. Is it possible?
Patrick
Importing smoke streamers into SOP
3556 5 2- phtj
- Member
- 224 posts
- Joined: 6月 2009
- Offline
- animatrix_
- Member
- 4528 posts
- Joined: 2月 2012
- Offline
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=20990&view=previous&sid=fb224695fccbd3a85bd72d61156645a6 [sidefx.com]
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- phtj
- Member
- 224 posts
- Joined: 6月 2009
- Offline
Thanks pusat. I took a look at that discussion, and I am getting closer, but not quite there yet. Your link helped me find this page in the docs:
http://www.sidefx.com/docs/houdini14.0/dyno/io [sidefx.com]
DopImport seems to be the right node. I have tried a few things that have not worked. They key part seems to be this:
network path[:name]
But I am not sure where to entre this to get my streamers. See attached file. Any help would be much appreciated.
http://www.sidefx.com/docs/houdini14.0/dyno/io [sidefx.com]
DopImport seems to be the right node. I have tried a few things that have not worked. They key part seems to be this:
network path[:name]
But I am not sure where to entre this to get my streamers. See attached file. Any help would be much appreciated.
Patrick
- phtj
- Member
- 224 posts
- Joined: 6月 2009
- Offline
- old_school
- スタッフ
- 2540 posts
- Joined: 7月 2005
- Offline
It's all namespace to fetch data out of DOPs.
Don't worry about the expressions that are put in place by the shelf tools.
The key is to open up the Geometry Spreadsheet (Details View) while in your DOP network. There you will see the DOP objects. Lets say your smoke object is called pyro (default from shelf setup).
Inside the pyro smoke object, there is a list of data. Some of this data is actual geometry. Any geometry bound to any simulation object can be fetched by the DOP Import SOP.
In the case of a smoke object, you may want to fetch the fields/volumes name (very important to note that it is the “name” of the data that is important, namespace it is).
density
temperature
vel
In the DOP Import SOP, your path could be (remember it's just a path to the sim network):
/obj/pyro_sim
and the object name would be:
pyro
and then the geometry would be:
density
temperature
vel
That's it.
Again you can data mine anything out of a simulation object, no matter what it is, as long as the data you are fetching is actual geometry that can be read in to SOPs geometry.
Using the Geometry Spreadsheet takes the mystery out of all of this.
Don't worry about the expressions that are put in place by the shelf tools.
The key is to open up the Geometry Spreadsheet (Details View) while in your DOP network. There you will see the DOP objects. Lets say your smoke object is called pyro (default from shelf setup).
Inside the pyro smoke object, there is a list of data. Some of this data is actual geometry. Any geometry bound to any simulation object can be fetched by the DOP Import SOP.
In the case of a smoke object, you may want to fetch the fields/volumes name (very important to note that it is the “name” of the data that is important, namespace it is).
density
temperature
vel
In the DOP Import SOP, your path could be (remember it's just a path to the sim network):
/obj/pyro_sim
and the object name would be:
pyro
and then the geometry would be:
density
temperature
vel
That's it.
Again you can data mine anything out of a simulation object, no matter what it is, as long as the data you are fetching is actual geometry that can be read in to SOPs geometry.
Using the Geometry Spreadsheet takes the mystery out of all of this.
There's at least one school like the old school!
- phtj
- Member
- 224 posts
- Joined: 6月 2009
- Offline
-
- Quick Links