<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/10883" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2016-08-16T04:08:50+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/10883</id>

		<entry>
		<author><name><![CDATA[hyyou]]></name></author>
		<updated>2016-08-16T04:08:50+00:00</updated>

		<published>2016-08-16T04:08:50+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=38023#p38023</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=38023#p38023"/>
		<title type="html"><![CDATA[Re: Blender Fracture Modifier - Compound Fracture Support]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=38023#p38023"><![CDATA[
Hello, scorpion81<br><br>I have played the plugin.  It is great and thank for your help in the forum!<br><br>Now, I am interested in your code and still digging it.<br><br>Besides the code itself, do you have some document / more description about your modification of Bullet?<br>It will really help my digging process.<br><br>If you don't reply, I will stalk you in Blender's forum instead.   <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11659">hyyou</a> — Tue Aug 16, 2016 4:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scorpion81]]></name></author>
		<updated>2015-10-29T15:58:39+00:00</updated>

		<published>2015-10-29T15:58:39+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36515#p36515</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36515#p36515"/>
		<title type="html"><![CDATA[Blender Fracture Modifier - Compound Fracture Support]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=36515#p36515"><![CDATA[
Hello,<br><br>i am the developer of the Fracture Modifier in Blender. For some time it has been using rigidbodies and fixed constraints to simulate connections between shards inside a fractured object.<br>But as this method becomes very slow with say, 5000+ rigidbodies and a lot of constraints, i was looking to add compound fracture support to the modifier.<br>For this purpose i took and modified the "FractureDemo" of bullet and added it into a branch of blender, and the basic principle works already.<br>But i have some kind of problems to control the fracture simulation as accurate as with simulating real constraints.<br><br>In my modification i use a new dummy "btCompoundConstraint" type, a "btFractureDynamicsWorld" subclass and a "btFractureBody" subclass. I calculate / build the connections inside the compound based on those <br>dummy constraints, which are not added to the world base class and thus are not really simulated by a solver (so this performs faster than using say, fixed constraints). I had to replace the "recomputeConnectivity"<br>function which operates on N^2 of the collision object count by this method, because it slowed down simulation of larger amounts of shards massively.<br><br>The construction of the compounds as well as the weakening of connections / breaking off shards happens manifold-based. (with gluecallback called once at sim start, and fracturecallback from solveConstraints())<br><br>I see that this connection calculation atm cant replace a full blown constraint solver.... but now my question (especially to Erwin)<br><br>Is there a way to let compounds be destroyed nearly as controllable as with constraints, but without losing the performance gain and the bomb-proof glueing between compound children ?<br>I was experimenting with weaker thresholds at constraints with smaller masses (both partner masses added), but i cant let small shards break off before bigger shards (the bigger ones create bigger forces due to higher (volume dependent) fractions of the total object mass).<br><br>So again (especially Erwin), do you maybe have some suggestions about how to improve the control ?  <br>And.. everyone is invited to test the build (or compile it first, the provided builds are outdated) and give some feedback either here or in the according BlenderArtists Thread.<br><br><a href="http://blenderartists.org/forum/showthread.php?343637-Custom-Build-Blender-Fracture-Modifier" class="postlink">http://blenderartists.org/forum/showthr ... e-Modifier</a><br><br><br><br>A build of the Fracture Modifier can be downloaded here:<br><a href="http://df-vfx.de/fracturemodifier/" class="postlink">http://df-vfx.de/fracturemodifier/</a> (older version, still without compound support)<br><a href="https://drive.google.com/folderview?id=0Bwkun-jSiZ-RMjhmQUlSR3JZTms&amp;usp=sharing#list" class="postlink">https://drive.google.com/folderview?id= ... aring#list</a> (only the ubuntu version has an outdated version of the compound code inside)<br><br>Source code is here:<br><a href="http://git.blender.org" class="postlink">http://git.blender.org</a> (branch: fracture_modifier)<br><a href="https://git.blender.org/gitweb/gitweb.cgi/blender.git/shortlog/refs/heads/fracture_modifier" class="postlink">https://git.blender.org/gitweb/gitweb.c ... e_modifier</a><br><br>the main modifications of bullet are here:<br><a href="https://developer.blender.org/diffusion/B/browse/fracture_modifier/extern/bullet2/src/BulletDynamics/Dynamics/" class="postlink">https://developer.blender.org/diffusion ... /Dynamics/</a>  (btFractureBody, btFractureDynamicsWorld)<br><a href="https://developer.blender.org/diffusion/B/browse/fracture_modifier/extern/bullet2/src/BulletDynamics/ConstraintSolver" class="postlink">https://developer.blender.org/diffusion ... aintSolver</a> (btCompoundConstraint)<br><a href="https://developer.blender.org/diffusion/B/browse/fracture_modifier/intern/rigidbody/" class="postlink">https://developer.blender.org/diffusion ... rigidbody/</a> (changes in rb_bullet_api.cpp, RBI_api.h)<br><br>Furthermore, there is a MOD_fracture.c here:<br><a href="https://developer.blender.org/diffusion/B/browse/fracture_modifier/source/blender/modifiers/intern/" class="postlink">https://developer.blender.org/diffusion ... rs/intern/</a><br><br>and a fracture.c and a modified rigidbody.c here:<br><a href="https://developer.blender.org/diffusion/B/browse/fracture_modifier/source/blender/blenkernel/intern/" class="postlink">https://developer.blender.org/diffusion ... el/intern/</a><br><br>Hope to hear some feedback <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9237">scorpion81</a> — Thu Oct 29, 2015 3:58 pm</p><hr />
]]></content>
	</entry>
	</feed>
