Visualizing Pyro Cache in render

   8662   14   2
User Avatar
Member
13 posts
Joined: 3月 2017
Offline
I have created a pyro sim that I've cached out to disk and then imported back in using a FileImport node inside of a Geo node. This works fine in the scene view, I can scrub back and forth through my sim, and in conjunction with a volumevisualization node the whole thing looks just like I want it in the viewport. However, when I render my scene, my sim just shows up as a grey cube. Does anyone know how I should go about fixing this?

Attachments:
SceneView.PNG (474.2 KB)
RenderView.PNG (158.9 KB)

User Avatar
Member
2625 posts
Joined: 6月 2008
Offline
Did you apply a volume based material to your new looping_cache?
You may also have to populate the material with the correct field name contained within your cached smoke, such as density or temperature.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
13 posts
Joined: 3月 2017
Offline
Could you explain in further detail how I assign a volume based material to my cache? I tried assigning a material to the Cache by dragging out a material node from it and then used the default smokelessflames shader, but that doesn't seem to do anything. Am I using the wrong node?

Sorry for the newb questions, I'm fairly new to Houdini
Edited by coolkalle - 2017年7月1日 11:39:15

Attachments:
MatCapture.PNG (675.1 KB)

User Avatar
Member
8039 posts
Joined: 9月 2011
Offline
Why assign the material just to heat? That won't work.
User Avatar
Member
13 posts
Joined: 3月 2017
Offline
It doesn't seem to matter which variables I pass into the material node; I've plugged every single parameter from the cache (Density, Fuel, Heat, Temperature, etc) into the material and the cache still looks the same in the viewport. The render view is also completely black.

Attachments:
matApplication.PNG (172.6 KB)

User Avatar
Member
64 posts
Joined: 7月 2005
Offline
Did you find a solution for this?
I'm having the exact same issue with a cached simulation and I can't find the problem. I'll convert to vdb and see what happens.
User Avatar
Member
2625 posts
Joined: 6月 2008
Offline
No, no you don't specify @density in the group, that will exclude everything. There is no group named @density. Leave the group field blank and dive inside the material and type density in to the field provided in the material.

Or just use the shelf tools, they set all that up for you.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
236 posts
Joined: 3月 2015
Offline
If you used shelf tools, have you tried using the original pyro import DOP I/O node? (Check the Load from Disk box)

To do it from scratch. Create a geo node go to material tab and assign material, dive in and delete file node. Create a DOP I/O node, set Geometry file location, check load from disk and select all the fields you need.

Rob
User Avatar
Member
13 posts
Joined: 3月 2017
Offline
I got back to this issue today, but unfortunately I've yet to figure it out. I've attempted both solutions posted by Enivob and robsdesign, but my fire still doesn't get affected by the material I give it.

I can import the cached data using a DOP I/O inside of an empty geo node - It is possible to scrub back and forth through the timeline when I do this, but assigning the smokelessflames material still doesn't do anything in the viewport or the render view. I've tried changing what fields to import in the DOP I/O node, but it doesn't seem to matter which ones i pick. Any ideas?

Attachments:
DOP_IO_LoadFile.JPG (110.4 KB)
DOP_IO.JPG (110.0 KB)

User Avatar
Member
253 posts
Joined: 7月 2006
Offline
You need to post a scene so we can take a look
User Avatar
Member
13 posts
Joined: 3月 2017
Offline
Here's the scene.

Attachments:
fireLooping.hipnc (910.9 KB)

User Avatar
Member
2625 posts
Joined: 6月 2008
Offline
Under the Smoke TAB Density Volume field type ‘density’, not heat.

You may want to open up a new scene. CTRL-Click on the sphere then click on the PyroFX tab and click on Flames. This will produce a working renderable pyro scene. Inspect that scene to see how to setup your scene to render correctly.
Edited by Enivob - 2017年9月1日 16:36:25
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
64 posts
Joined: 7月 2005
Offline
Smokeless Flame from the Pyro FX doesn't have density. Just take a look at the dop import and smoke object. The pyro shader is using heat as density volume.
User Avatar
Member
13 posts
Joined: 3月 2017
Offline
I finally got the cache rendering like I wanted. I think the issue was that my cache wasn't storing the parameters I needed to recreate the simulation. What I had done was create a standard Smokeless flames sim and then cached it out using the “Pyro” preset inside of a Dop Import fields node. It seems that the Pyro preset does not export the needed values to render a smokeless flames sim correctly (Assuming you try to render it using a Smokeless flames material)

What I did to fix this was go to my DOP import fields node, and choose the preset “Fire (DSD)” instead. This gave me a cache that I could plug the standard Smokeless flames material into and it rendered out just fine.
User Avatar
Member
2 posts
Joined: 11月 2017
Offline
coolkalle
I finally got the cache rendering like I wanted. I think the issue was that my cache wasn't storing the parameters I needed to recreate the simulation. What I had done was create a standard Smokeless flames sim and then cached it out using the “Pyro” preset inside of a Dop Import fields node. It seems that the Pyro preset does not export the needed values to render a smokeless flames sim correctly (Assuming you try to render it using a Smokeless flames material)

What I did to fix this was go to my DOP import fields node, and choose the preset “Fire (DSD)” instead. This gave me a cache that I could plug the standard Smokeless flames material into and it rendered out just fine.
Hi! I have the same problem. Can you upload an example file bacause I only see a cube in my render. I marked Fire DSD in my import but i only see the same.
Thx!

https://imgur.com/a/EWmGt [imgur.com]
Edited by rutenio3 - 2017年11月29日 04:22:51
  • Quick Links