Adam Ferestad Posted November 20, 2017 Share Posted November 20, 2017 I am trying to get some temperature data that I have calculated on the output of a particle simulation to make it work with the pyro shader, but I can't seem to get it to transfer. I am using Volume Rasterize Points to get the particles into being a volume, which is working really well, but I can't seem to get anything but the density field filled. The node supposedly takes point attributes and fills a volume field with the data if it exists as both a field and a point attribute, which these do, but I keep coming up with empty fields. Failing that, I tried to brute force them over using Volume from Attribute, which I had successfully used elsewhere in the scene, but to no avail. Still giving me empty fields. This has started to become quite vexing, as I think it should be working how I have it setup, and it isn't. particleTest1.hip Quote Link to comment Share on other sites More sharing options...
rbowden Posted November 20, 2017 Share Posted November 20, 2017 Looks like all you need to do is change the name of your field from temp to temperature in your "empty_fields" vdb going into the volume rasterize points sop. Doing that, I was able to get the temperature field to populate correctly. Unless you had a specific reason to name the empty field temp instead of temperature? Quote Link to comment Share on other sites More sharing options...
Adam Ferestad Posted November 20, 2017 Author Share Posted November 20, 2017 (edited) I had done that to try to get it working, I had temperature there before and it didn't do anything. Trying it now to see if it will work. Also, that doesn't explain why the velocity field isn't populating. Or did it work from the Volume from Attrib? *edit* Yeah, I just fixed the names to all match and I still get a volume with a field size of [0 0 0], which means it isn't populating, on both the Volume Rasterize Points and the Volume from Attrib. I have to be missing something else. Edited November 20, 2017 by Adam Ferestad Quote Link to comment Share on other sites More sharing options...
rbowden Posted November 20, 2017 Share Posted November 20, 2017 Nothing to miss really. Temperature is going to be brought in just fine if you have it as a point attribute going into the volume rasterize points. I did a simple file showing that it works and I also did it in your file aswell. You have some custom OTLs in your file so, I had to bypass those and I didn't have the patience to wait for your vel field to cook so I just bypassed the pop advect in your pop net. I also moved your dop net for your particles down into the sop level. Attached is the simple file and where I modified it in your file. particleTest1_RB.hip temperature_rasterize_RB.hip Quote Link to comment Share on other sites More sharing options...
Adam Ferestad Posted November 20, 2017 Author Share Posted November 20, 2017 Thanks, I will take a look at them now. Yeah, the extra OTLs are for cloud farm use, makes it a lot easier to cache those vel fields and stuff when i can have 30 computers doing it at once. Hopefully I can see what's going on in these and stop banging my head against the wall with them. 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.