Jump to content

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

Link to comment
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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...