[Custom Build] Blender Fracture Modifier


(JTA) #1741

always save as you go so you have multiple recent versions. Also there should be a *.blend1 file backup you could use.

Use the + button in the save window to auto increment or use your own system of file naming. I use blabla 1a, 1b, 1c, 2a…every big milestone is a number and just small progress save points are the letters…


#1742

Firstly, thanks for all previous help!

Now, I have a slight visual issue with the ‘Bind’ tool using the BCB and FM.

As the interior concrete structure falls, there is a slight lag with the glass exterior, as can be seen in the images. Is there any way to remedy this? I tried scaling the the concrete shards but it started to look like floating islands.

Thanks!

(Edit: I should note the glass exterior is one single joined object with Fracture applied)


(Kai Kostack) #1743

This is a bug/limitation that is hard to solve within Blender 2.79 but Scorpion81 has committed a fix that should improve the bind behavior a bit. Bound shards now shouldn’t be delayed anymore but free shards connected to bound shards via constraints might still have a visible lag. This will be tackled for 2.8.

Here is an updated build: http://graphicall.org/1148


(jensverwiebe) #1744

New linux dev build:

– PACKAGE-INFORMATION –
Branch: fracture_modifier
Revision: 74d4e4c
Submodules: locale 1bbc9bd addons 2609a10 tools 7695e14
OS: GNU/Linux, Architecture: x86_64, GLIBC: 2.19
Builddate: Fr 11. Jan 18:37:06 UTC 2019
Filesize: 104882364 byte
Sha256sum: 05ea783a760d9816b4e9434847f93f1c533e66a2abdb1121d9755a39814c66c9
URL: https://www.jensverwiebe.de/Blender/blender_fracture_modifier_linux64_latest.tar.xz

CHANGES SINCE 982720c:

-support up to cuda 10 aka rtx 2xxx
-pull animated bind update calls out of loop
-fix attempt for previous rotation fix with bound objects
-fix for bound object lagging behind one frame
-hopefully proper rotation fix for animated mesh bind
-backport of master fix for https://developer.blender.org/T56969
-transform fix for external centroid-based constraints
-small fix for minimum mass and UI float display precision changes
-fixes for dynamic fracture
-crash fix for compound collision + expose constraint rules ui for compound mode
-disabled a verbose print when using many objects

Cheers … Jens

EDIT: small change in build, new upload


#1745

Okay, amazing! Thanks

Edit: The ‘Bind’ update is working… Thank you!


(wolfie138) #1746

I’ve been trying out the E-Cycles builds, and the creator said they might be able to do a 2.79 version of it; how do i get my fracture sims into a stock 2.79 format? i tried baking the sim, thinking the data would be enough rather than the actual Fracture engine which obviously doesn’t work, but Blender’s just closing immediately when i try to load it.


(scorpion81) #1747

Hmm you could either convert the simulation to keyframed objects with the “Convert to Keyframed Objects” button or you could export it to alembic (with this, even topology changes like autohide / automerge will be also taken into account, as in written to the alembic file).
But note, you need to keep a backup of the FM simulation file in case you need to change the sim or re-simulate it.(so you can re-export).
I assume you just want to render out the finished results now. And the keyframed objects and alembic result files should be also useable with 2.8 too.
It is a bit tedious maybe to repeatedly re-export, but off hand there is no good other way to go atm.

Edit, if you choose the alembic path, you will need to append the materials from the FM file into the blend where you did the alembic import to. Alembic only stores the material numbers per face, but does not handle the materials itself as far as i could see.


(wolfie138) #1748

i’ve hit the Convert to Keyframed Objects, given it the range, and saved it as a new file. i try to open it in 2.79 and it closes immediately. opening from the CMD prompt to try and get a en error message, i get
Error: EXCEPTION_ACCESS_VIOLATION
had a look in my Blender folder, was some old folders from 2.77 etc so i deleted those, did a Repair install on Blender 2.79b and just get the same error.
not sure i want to go down the Alembic route, that will mean redoing materials for all my objects etc, doesn’t seem a very good workflow.
EDIT
Tried opening in the E-Cycles 2.8 version, the CMD window gives a lot more stuff than just the one line i got for 2.79. SOme of the stuff is about add-ons not being upgraded to 2.8, then when it gets to the point of loading the keyframed file i get a whole lot of
Dependency cycle detected:
** ‘OBwallNEW.001.GEOMETRY_UBEREVAL()’ depends on 'OBwallNEW.001.TRANSFORM_FINAL(**
)’ through 'Particle Eval’
** ‘OBwallNEW.001.TRANSFORM_FINAL()’ depends on 'OBwallNEW.001.TRANSFORM_OBJECT_U**
BEREVAL()’ through 'Temp Ubereval’
** ‘OBwallNEW.001.TRANSFORM_OBJECT_UBEREVAL()’ depends on 'OBwallNEW.001.RIGIDBOD**
Y_TRANSFORM_COPY()’ through 'RBO Sync -> Uber (Temp)'
** ‘OBwallNEW.001.RIGIDBODY_TRANSFORM_COPY()’ depends on 'SCScene.RIGIDBODY_SIM()**
’ through 'Rigidbody Sim Eval -> RBO Sync’
** ‘SCScene.RIGIDBODY_SIM()’ depends on ‘SCScene.RIGIDBODY_REBUILD()’ through 'Ri**
gidbody [Init -> SimStep]'
** ‘SCScene.RIGIDBODY_REBUILD()’ depends on ‘OBwallNEW.001.GEOMETRY_UBEREVAL()’ t**
hrough 'Object Geom Eval -> Rigidbody Rebuild’
Dependency cycle detected:
** ‘OBwallNEW.001.PARTICLE_SYSTEM_DONE()’ depends on 'OBwallNEW.001.PARTICLE_SYST**
EM_EVAL(SMOKE_PSystem)’ through 'PSys -> Done’
** ‘OBwallNEW.001.PARTICLE_SYSTEM_EVAL(SMOKE_PSystem)’ depends on 'OBground-Fract**
ure.TRANSFORM_FINAL()’ through 'Particle Collision’
** ‘OBground-Fracture.TRANSFORM_FINAL()’ depends on 'OBground-Fracture.TRANSFORM_**
OBJECT_UBEREVAL()’ through 'Temp Ubereval’
then
Detected 4 dependency cycles
loadTile: No noise tile 'C:\Users\KILLER~1\AppData\Local\Temp\blender_a05372\noi
se.wavelets’ found.
Generating new 3d noise tile size=128^3
saveTile: Noise tile file 'C:\Users\KILLER~1\AppData\Local\Temp\blender_a05372\n
oise.wavelets’ saved.
Generating new 3d noise done
Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x0000000140326AA6
Module : E:\Release\blender.exe


(wolfie138) #1749

well i exported the keyframed-objects version as Alembic and it opens in 2.79, but the views are all messed up, the camera is there but i can’t seem to see through it in Camera View, and all the materials are gone. there are no slots, so not only would i have to import all the materials again, i’d have to go through all the objects and re texture/reassign everything - so i must be missing some setting? cos that’s the most pointless export every, otherwise.


(scorpion81) #1750

hrm, maybe i should have tested the object to keyframe approach myself, especially the results in 2.8. Sounds like some depsgraph crap going on there with particles depending on rigidbody and vice versa. Especially that thing with the debris particles is tricky anyway, since object to keyframe has its own set of limitations (no variable topology, particles not responding to dynamic vertexgroups like in FM build)…
And very important, you need to delete the FM object manually after doing a convert to keyframes. I think because this is ALSO saved you cannot open the result in official 2.79b (due to crash). Hrm, maybe i should have added an option to auto-delete the FM object after export…
Additionally, you need to cache or bake the sim first before trying to export to keyframed objects.

But what about just baking the sim and hitting “Export to alembic” directly ? (Do not convert to keyframes before).

This may seem look stuck for a while while the export runs. Grrr, why is the “Object Options” -> “Face Sets” option disabled by default ? that would indeed export the assignments too, but for some reason the order is messed up after import.

Instead it seems to be sorted alphabetically. The slots have dummy materials assigned (with their original names), you need to append the materials from the original blend and put the appended materials onto the slots (so the order matches with the dummy material names)

Furthermore, if you exported the whole scene including cameras, you will need to set your imported camera as active scene camera again.


(Kai Kostack) #1751

You can also try to use .mdd or .pc2 pointcache formats to export your simulation, I’m using it often for larger simulations as it is quite robust and allows for faster loading of the .blend and offers even faster frame seeking than FM itself. You just need to export the initial fractured mesh together with the pointcache.

Steps:

  • Export FM bake to .mdd
  • Apply FM at frame 1 and save under new .blend
  • Append the applied FM object to your project file where you want to use it
  • Add Mesh Cache modifier and point it to your .mdd file
    Done.

There is only one limitation, this won’t work for changing topologies, i.e. Automerge and Dynamic Fracture will produce problems.