Jump to content
MJNorris

Trouble with NaNs

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Here I also attach two cached bgeo.sc with those inf and nan results, if it fits your needs as such.

geo.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×