<?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/2658" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2010-10-10T12:17:17+00:00</updated>

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

		<entry>
		<author><name><![CDATA[ErikJE]]></name></author>
		<updated>2010-10-10T12:17:17+00:00</updated>

		<published>2010-10-10T12:17:17+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20439#p20439</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20439#p20439"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake,]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20439#p20439"><![CDATA[
<blockquote class="uncited"><div>I got the same problem, when I hit rewind all the active rigidbodies are snapped to 0,0,0 coordinates  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"> <br>Have you found the solution? also sometimes that happens right after I run EasyBake script. I'm using Maya 2010 <br><br>I think the shooting outwards objects happens when the meshes are overlapping each other.<br><br>Couldn't figure out the 0,0,0 thing tho. any help will be greatly appreciated. Thanks!</div></blockquote><a href="http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=12&amp;t=5576" class="postlink">http://bulletphysics.org/Bullet/phpBB3/ ... =12&amp;t=5576</a><br><br>Use these tools instead. They are based of RBDs work but further developed. I have never had the snapping to origo problem with them.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=6965">ErikJE</a> — Sun Oct 10, 2010 12:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dominice]]></name></author>
		<updated>2010-10-08T08:20:12+00:00</updated>

		<published>2010-10-08T08:20:12+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20406#p20406</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20406#p20406"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake, ]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20406#p20406"><![CDATA[
I got the same problem, when I hit rewind all the active rigidbodies are snapped to 0,0,0 coordinates  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_eek.gif" width="15" height="15" alt=":shock:" title="Shocked"> <br>Have you found the solution? also sometimes that happens right after I run EasyBake script. I'm using Maya 2010 <br><br>I think the shooting outwards objects happens when the meshes are overlapping each other.<br><br>Couldn't figure out the 0,0,0 thing tho. any help will be greatly appreciated. Thanks!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=7169">dominice</a> — Fri Oct 08, 2010 8:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[wonton]]></name></author>
		<updated>2010-08-22T23:08:09+00:00</updated>

		<published>2010-08-22T23:08:09+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=19819#p19819</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=19819#p19819"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake, ]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=19819#p19819"><![CDATA[
<blockquote class="uncited"><div>But the objects seem to explode or shoot outward as if expelled by some force , and i dont know whats going on ...........(</div></blockquote>I must be overlooking something as well. Polys were selected, and easybake script applied. Everything goes well until it goes back to frame1, when everything goes to 0,0,0 on the coordinate system, causing the above mentioned "explosion". <br><br>In short, everything works up to the step where you rewind the scene. When the rewind button is hit, the rigidbodies all go to 0,0,0. <br>Assistance would be very much appreciated.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=7006">wonton</a> — Sun Aug 22, 2010 11:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nito]]></name></author>
		<updated>2010-05-18T00:06:14+00:00</updated>

		<published>2010-05-18T00:06:14+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=18587#p18587</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=18587#p18587"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake, etc.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=18587#p18587"><![CDATA[
yeah Hi......<br><br>i'm new to this plugin BulletPhysics and RBD tool............from what i have seen looks awesome. tho i tried it myself with a scene of a basic cube shattered ...... i run the simulation all looks good and works , but when i try and use the easy bake to copy that dynamic information back into the original shattered cube objects ( i'm presuming this is what RBD tool does ????))  then rewind .       But the objects seem to explode or shoot outward as if expelled by some force , and i dont know whats going on .............i tried following your tut on how to use it , but maybe i'm just dumb and cant figure how to do it right .......please if anyone can help, it would be much appreciated.....................<br><br>I just wanna break up my models, and run the simulation and bake that movment information into the original models , so i can render them.............and maybe if anyone knows how to cache it as well??? <br>thanks any help will be appreciated .... <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=6665">nito</a> — Tue May 18, 2010 12:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[curtainsNZ]]></name></author>
		<updated>2010-05-06T10:52:20+00:00</updated>

		<published>2010-05-06T10:52:20+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=18478#p18478</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=18478#p18478"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake, etc.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=18478#p18478"><![CDATA[
Hi, sorry to dig up an old post! <br>But:<br><br>I was wondering if anyone could point me in the right direction for extracting the mass-measuring part of this script, so I can just run it on an object and give it an appropriate mass?<br>Basically the idea is to use it to attribute the right amount of mass after it has been keyed to zero at the start of a sim - and then easily keying it back to zero again when it's not needed.<br><br>Thanks for any help!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=6483">curtainsNZ</a> — Thu May 06, 2010 10:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stooch]]></name></author>
		<updated>2009-11-02T21:38:37+00:00</updated>

		<published>2009-11-02T21:38:37+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=15850#p15850</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=15850#p15850"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake, etc.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=15850#p15850"><![CDATA[
haha. yeah i tried downloading but couldnt, so i ended up making my own script. <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=5792">stooch</a> — Mon Nov 02, 2009 9:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[RBD]]></name></author>
		<updated>2009-11-02T00:58:18+00:00</updated>

		<published>2009-11-02T00:58:18+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=15839#p15839</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=15839#p15839"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake, etc.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=15839#p15839"><![CDATA[
Just re-uploading the same file... seems my previous message's file attachment now responds with "Unable to deliver file"...<dl class="file"><dt><span class="imageset icon_topic_attach"></span> <a class="postlink" href="https://pybullet.org/Bullet/phpBB3/download/file.php?id=355">RBDTools.zip</a></dt></dl><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2743">RBD</a> — Mon Nov 02, 2009 12:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[RBD]]></name></author>
		<updated>2009-07-24T20:05:29+00:00</updated>

		<published>2009-07-24T20:05:29+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14443#p14443</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14443#p14443"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake, etc.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14443#p14443"><![CDATA[
Hi, I've been away for a very long while (long story).  Anyhow... in light of the Voronoi Shatter Python script posted on CGTalk by davegreenwood (see <a href="http://forums.cgsociety.org/showthread.php?f=86&amp;t=437677&amp;page=16&amp;pp=15" class="postlink">CGTalk thread</a> or <a href="http://www.highend3d.com/maya/downloads/mel_scripts/modeling/poly_tools/dg-Voro-Py-5841.html" class="postlink">get script on HighEnd3D</a>, or <a href="http://www.youtube.com/user/Phymec" class="postlink">view some quick tests done with Dynamica</a>), I'm uploading some quick RBDTools updates to allow Dynamica users to easily create and bake using Dynamica (Bullet Physics plugin for Maya).<br><br><strong class="text-strong">I've updated the Bake script</strong> (dynamicaBake.mel).  It will still allow you to bake all Dynamica primitives (spheres, cubes, planes; passive or active, stand-alone or arrays) and now as well it will allow you to bake all hull and mesh rigid bodies, stand-alone or arrays, that have been created using the "EasyBake" script (see below).  I've also added an option to turn off the undo buffer to save memory if needed (use this option with caution).  Make sure the simulation window is in focus during the baking process.  You can stop the baking at any time by pressing Esc, what has baked up to that point will be preserved.<br><br><strong class="text-strong">I've added a new "Create Dynamica Hulls and Meshes for EasyBake" script</strong> (dynamicaHullMeshForEasyBake.mel); it allows you to create hull and mesh rigid bodies that can later be easily baked (using the bake script) and / or rendered.  The principal for "EasyBake" is fairly simple: a copy of the original mesh is used to create the Dynamica collision object and then the original mesh is preserved and made a child of the Dynamica rigid body.  You could also do this yourself, however this script does more: it will shrink the rigid body collision object's shell (all of its vertexes) to effectively eliminate the collision margin from the original mesh's surface.  Therefore when objects are stacked there will not be explosions nor will there be gaps between them.  Also, if you load Maya BonusTools' measure.dll plugin, EasyBake will assign a different mass to each object relative to its volume.  I didn't make a UI prompt for the mass range (more can be done, in fact probably want to prompt for density of the object), if you want to change it, check the script.  (Note: with bullet, try <span style="text-decoration:underline">not</span> to place small mass objects under large mass objects on a floor, that is an explosive recipe.)  <em class="text-italics">This script will only work on discrete <span style="text-decoration:underline">polygon</span> objects, <span style="text-decoration:underline">don't run it on groups / structures or other types of geometry</span></em>.<br><br><strong class="text-strong">I also updated the Toggle Visibility script</strong> (dynamicaToggleVisibility.mel).  It can toggle visibility of both the collision objects or the entire rigid body now.  Note that currently with Dynamica, when no rigid bodies are visible at all the simulation is disabled, this is useful when reviewing baked results.<br><br>To use these scripts, simply source them from Maya's script editor, or place them on a shelf.  I did them fairly quickly, so I haven’t tested every scenario (save your work).  They all have some sort of UI.<br><br>The basic workflow is:<ul><li>Using Dynamica's menu, create the primitive rigid bodies you need (a passive plane for a floor is always a good start).  Do not create hull or mesh rigid bodies using Dynamica's menu.</li><li>Select the poly objects you would like to convert to hull or mesh rigid bodies, then run the "EasyBake" script to convert them to rigid bodies.  (Always favor using a rigid body <strong class="text-strong">hull</strong> over mesh, convex hulls are much faster and much more stable than meshes, convex or not.)</li><li>Rewind the scene (resets Dynamica's state and rigid bodies).</li><li>Play and adjust the simulation until you are satisfied. (Be careful to select and move the rigidbody parents, not the child polys)</li><li>Use the Bake script to bake the simulation.</li><li>Use the Toggle Visibility script to hide all Dynamica rigid bodies while you verify your baked results.</li><li>If you like the results, you can then delete the Dynamica rigid bodies and render; if not, then you can delete the baked results and use the Toggle Visibility script to make all rigid bodies visible again.</li></ul>Here's a quick "how to" use davegreenwood's Voronoi script with Dynamica:<ul><li>Create a poly object (try a simple one at first, like a cuboid).</li><li>You then need to create a group of locators to tell the Voronoi shatter script the location of each shard generated by the shatter.</li><li>Instead you can simply let the script create a group of locators for you from particles using a Maya emitter.  To do this, place a Maya emitter in the scene and shoot particles at / into the poly object you just created.  Don't shoot too many particles or have them packed too densely because each one will represent one shard in the shatter.  To start, keep the number of particles very low.  Run the Voronoi Shatter script UI, set the mesh object (your poly object) and set the particles by selecting them then pressing the set button.</li><li>Select the "Constrained Particles to Locators" button.  The script should create a group of locators from the particles that exist only inside the poly object.</li><li>Set the Crack Width to 0.0.</li><li>Do the Voronoi shatter.</li><li>Place the group where you want it in the scene before converting the shards to rigidbodies.</li><li>Select all of the <em class="text-italics">individual shards</em> (not the group!), then run the "EasyBake" script to create dynamica rigid bodies with all of the shards.  When prompted to "Center pivots?", select yes!</li><li>Rewind the scene (resets Dynamica).</li><li>Play.</li></ul><em class="text-italics">p.s.: Note that the difference between an active Dynamca rigid body and a passive one is simply: if mass = 0 it's passive.</em><br>(edit: re-uploaded fixed dynamicaHullMeshForEasyBake.mel to unparent objects)<dl class="file"><dt><span class="imageset icon_topic_attach"></span> <a class="postlink" href="https://pybullet.org/Bullet/phpBB3/download/file.php?id=307">RBDTools.zip</a></dt></dl><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2743">RBD</a> — Fri Jul 24, 2009 8:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[-heavy-]]></name></author>
		<updated>2009-02-12T22:00:58+00:00</updated>

		<published>2009-02-12T22:00:58+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=12499#p12499</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=12499#p12499"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake, etc.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=12499#p12499"><![CDATA[
Hey RBD supremeWork you dit!  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br><br>what about the mesh bake you wrote and the ImpactShatter ?<br><br>Any progress?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=3320">-heavy-</a> — Thu Feb 12, 2009 10:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[elbiancho]]></name></author>
		<updated>2008-09-28T19:32:51+00:00</updated>

		<published>2008-09-28T19:32:51+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=10659#p10659</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=10659#p10659"/>
		<title type="html"><![CDATA[Re: RBD Tools for Dynamica (Bullet for Maya) = utils, bake, etc.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=10659#p10659"><![CDATA[
Excellent word! Keep going!! I´m looking forward for the mesh bake!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2777">elbiancho</a> — Sun Sep 28, 2008 7:32 pm</p><hr />
]]></content>
	</entry>
	</feed>
