MJNorris Posted December 4, 2019 Share Posted December 4, 2019 Hi There, I'm currently working on some general purpose scene debugging stuff and one of the things I wanted to test for is nans in my geometry, fairly straight forward using isnan(), however I am struggling to come up with a sure fire method for generating nans inside my test scene! Does anybody know of a guaranteed way of creating a nan in your geometry? Thanks in Advance. M Quote Link to comment Share on other sites More sharing options...
ikoon Posted December 4, 2019 Share Posted December 4, 2019 Hi Matt, I have and older scene, which throws -nan(-ind) even now in 18.0.287. Unfortunately it is a simulation, so maybe somebody has a better example, maybe loading a corrupted geo? If you want to test my scene, I attach it. 1. play the timeline 2. check for this attrib @vdb_float in this node /obj/pyro_import/vdbvisualizetree1 Now I tried it and I see -nan at frame 290. There were also some -inf values earlier (for example at frame 287) pyro_cd.zip Quote Link to comment Share on other sites More sharing options...
ikoon Posted December 4, 2019 Share Posted December 4, 2019 Here I also attach two cached bgeo.sc with those inf and nan results, if it fits your needs as such. geo.zip Quote Link to comment Share on other sites More sharing options...
MJNorris Posted December 4, 2019 Author Share Posted December 4, 2019 Thanks a lot for sharing Jiri! Very useful 1 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.