Jump to content

Is bulllet rbd solver deterministic with constraint network relationship?


rgblues

Recommended Posts

Hi all,

Last night after fiddling around for days on a rbd sim using constraints and bullet solver, I ended with some happy results! Saved my scene twice, then cached bgeos of everything excepted the Hires mesh that depends on the low res sim...
I then start flip and white water sims for the night that uses my previous cached geos as inputs. Everything computed as expected for the next morning.
I took for granted that after restarting my computer the next day, doing a resim of my initial low res rbd sim would undoubtedly yield the exact same results...I was wrong, it's not even close :(

So there are a few questions I would like to clear out of my mind:
1- How deterministic bullet sims are (+ with a few constraint net relationship) across Houdini sessions ?
2- Was the only safe way to go about it was to cache the dopnet .sim???
3- Am I missing something?? Could stuff like a memory leaks or something (Windows 10) start doing Art Direction on my sims????:blink:
4- As a last resort question, is there any other way I can use my lo res cached mesh (bgeo) to drive my hirez mesh??  (I usually plug hirez mesh in a Dop Import with transform mode selected)

Thanks in advance

Link to comment
Share on other sites

Hi,

I have asked this question before on bullet forum... if I remember correctly, the "standard" bullet solver is not deterministic, i.e. each time you run the simulation you might get different results, I remember also that has nothing to do with memory leaks, it's related to the order of which equations are solved, so if between runs you have the same constraints but the engine tries to solve the equations in different order then this will yield to deviation in the answer (actually, I wrote a small bullet/maya integration earlier, and this was one of biggest problems, each run might produce different result!). However, I remember also, there is/was a new solver or a setting that "fixes" this "problem" (or it might be simply something like: add your constraints in the same order you do each time you run the simulation... sorry my memory is really hazy here...). So, I think you could check Houdini docs, maybe it clarifies this behavior...Otherwise, I think your best bet is to store the simulation result and use it later on...

 

Link to comment
Share on other sites

As per "4- As a last resort question, is there any other way I can use my lo res cached mesh (bgeo) to drive my hirez mesh??  (I usually plug hirez mesh in a Dop Import with transform mode selected)", I don't know much about it, but I remember there is a tutorial on sidefx that shows how to do that... if you cannot find it, let me know and I will look for it...

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...