StRaToX Posted August 1, 2017 Share Posted August 1, 2017 Hello everyone, I've been getting into DOPs recently and i just cant figure out something. I have a SmokeObject and an RBD object. They are both plugged into the Pyro solver. The smoke has a collision relationship with the RBD object, and the Pyro solver's option "Temperature Merge" is set to "Collision Interior". In order for the "Temperature Merge" to happen the RBD object has to have a temperature field. Now what i want is for the RBD object's temperature field is to be just like what the smoke's temperature is but subtracted by a number so that the RBD object is always cooling the smoke. I've Created a fog volume that consists only of value 1 voxels inside the RBD Object and value 0 voxels outside of the RBD Object. I'm planning on using this as a mask for the smoke's temperature field (multiplying these two fields) and then lowering the value for all the kept voxels. Now i don't know what is the best way of achieving this but i thought that I can bring in the mask field (the only 1 or 0 field) into the dop network using the "Sop Scalar Field Node" and then extract the temperature field out of the SmokeObject using the "Fetch Data Node", wiring these two into the "Gas Calculate Node" and then blending and doing post subtraction in there. I don't even know if that is the right way to do it, but anyway once I connect the scalar field (the temperature mask, brought in from sops) into the gas node everything is ok. Once i plug in the data (SmokeObject's temperature field) into the gas node it reports an error saying that the connection to the fetchdata node is the wrong type. How could this be? Both the "SopScalarField" and the "FetchData" nodes output data, how come that the gas calculate will accept data coming from the "SopScalarField" node and not from the "FetchData" node ? I've been trying to resolve this for a while now, if anyone could help out it would be greatly appreciated 1 Quote Link to comment Share on other sites More sharing options...
nigelgardiner Posted August 2, 2017 Share Posted August 2, 2017 Just guessing but I think the fetchdata node will take a mask on the rh greeninput, you're bringing in essentially a mask with your sop scalar field, so I think you can just plug that into the fetchdata node? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.