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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2015-07-09T17:23:27+00:00</updated>

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

		<entry>
		<author><name><![CDATA[RBD]]></name></author>
		<updated>2015-07-09T17:23:27+00:00</updated>

		<published>2015-07-09T17:23:27+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=35906#p35906</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=35906#p35906"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=35906#p35906"><![CDATA[
khaled, showing off use of V-HACD in an animation:<br><br>YouTube video: <span style="font-size:150%;line-height:116%"><a href="https://www.youtube.com/watch?v=klLI5skuwj4" class="postlink">Homemade Hydraulic Cylinders, Excavator Arms, Hexapod - Bullet Blender</a></span><br><br>I ran V-HACD on Blender extruded curve objects (before bevelling) with a collision margin set to the bevel depth, then bevelled the curve objects after, so collision margins are factored into the visual display meshes.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2743">RBD</a> — Thu Jul 09, 2015 5:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Flix]]></name></author>
		<updated>2015-01-28T09:38:19+00:00</updated>

		<published>2015-01-28T09:38:19+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34924#p34924</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34924#p34924"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34924#p34924"><![CDATA[
I've updated RBD's Blender addon to support VHACD version 2.2.<br>Here it is:<div class="inline-attachment"><dl class="file"><dt><span class="imageset icon_topic_attach"></span> <a class="postlink" href="https://pybullet.org/Bullet/phpBB3/download/file.php?id=1277">object_vhacd.py.zip</a></dt></dl></div>P.S. My knowledge of python is minimal and I tested the plugin on Ubuntu only. Hope it works on other systems as well.<br>P.S.2 There's a visual artifact in the GUI when loading presets: the GUI does not update properly until the mouse is moved to the modified fields.<br>I don't know how to fix it and if it affects only Linux systems or not: however I think we can live with it.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2180">Flix</a> — Wed Jan 28, 2015 9:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[khaled]]></name></author>
		<updated>2015-01-22T06:59:31+00:00</updated>

		<published>2015-01-22T06:59:31+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34880#p34880</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34880#p34880"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34880#p34880"><![CDATA[
A new faster version of V-HACD is available. Check the following link for details <a href="http://kmamou.blogspot.ca/2015/01/opencl-acceleration-for-v-hacd.html" class="postlink">http://kmamou.blogspot.ca/2015/01/openc ... -hacd.html</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8112">khaled</a> — Thu Jan 22, 2015 6:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[RBD]]></name></author>
		<updated>2014-12-19T15:10:22+00:00</updated>

		<published>2014-12-19T15:10:22+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34656#p34656</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34656#p34656"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34656#p34656"><![CDATA[
That's excellent, I like it a lot.  And, great, simply decreasing the maximum allowed concavity fixed the above example issue.<br><strong class="text-strong">edit</strong>: Yeah... as you get used to the params, the way it works, and a little patience, it's very good stuff.  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool">  Lots of fun to be had...<img src="http://i.imgur.com/9lxvUbQ.jpg" class="postimage" alt="Image"><br><br>Thanks.<br><strong class="text-strong"><span style="font-size:200%;line-height:116%">→ </span><a href="http://blenderartists.org/forum/showthread.php?357513" class="postlink">Link to V-HACD posted on Blender Artists.</a></strong><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2743">RBD</a> — Fri Dec 19, 2014 3:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[khaled]]></name></author>
		<updated>2014-12-19T03:00:11+00:00</updated>

		<published>2014-12-19T03:00:11+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34655#p34655</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34655#p34655"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34655#p34655"><![CDATA[
@RBD Thanks for the feedback and for the updated script. Please find below some comments:<br><br>- In order to reduce execution time, the current version of V-HACD considers only axes-aligned clipping planes. Therefore, to get optimal decomposition results, the user should apply transformations to the input mesh such that the best cutting planes are along the x, y and z directions. I’ll try improve the algorithm by extending the search to include more clipping directions.<br><br>- In the example you shared, more precise decompositions could be obtained by increasing the resolution and decreasing the maximum allowed concavity.<br><br>- Yes, open meshes are considered as surfaces and not as volumes and the ACD is computed on the surface, which may be the desired behavior for some use-cases (e.g., CAD models). If this later behavior is not desired, it is the responsibility of the user to close the holes before submitting the mesh to V-HACD.<br><br>- V-HACD (without capping the number of vertices per convex-hull) generates convex-hulls that are guaranteed to encapsulate the original mesh (i.e., bigger that the original mesh). The distance between the convex-hulls and mesh is controlled by the precision (or resolution) of the voxelization stage. For now, in order to produce more precise results, a higher resolution is needed, which comes at the cost of a higher computation time. I’ll try to fix this in future versions.<br><br>- I have added a new parameter that controls the adaptive sampling of the convex-hulls<br><img src="http://2.bp.blogspot.com/-Wrw4itGWGMo/VJORVUZJAVI/AAAAAAAACQs/7P7f1jTzMUQ/s1600/vhacd_minVolume.png" class="postimage" alt="Image"><br><br>- I have updated your latest script to include the new parameter in the UI. The latest version is available here <a href="https://code.google.com/p/v-hacd/source/browse/add-ons/blender/object_vhacd.py" class="postlink">https://code.google.com/p/v-hacd/source ... t_vhacd.py</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8112">khaled</a> — Fri Dec 19, 2014 3:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[RBD]]></name></author>
		<updated>2014-12-18T14:11:03+00:00</updated>

		<published>2014-12-18T14:11:03+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34649#p34649</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34649#p34649"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34649#p34649"><![CDATA[
From playing with V-HACD, I have to say that overall it's been working very well.  For some objects with diagonal parts it appears to perform better when they are rotated... so I've added a pre-processing option to the plug-in to apply transformations to the generated / exported mesh.  (hopefully last update  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> )<br><img src="http://i.imgur.com/y7GwHvO.jpg" class="postimage" alt="Image"><br><br>I've noticed that V-HACD is sensitive to holes in meshes, closed meshes generally need to be water tight, otherwise it will do ACD of the skin (does a good job of that) rather than the shape.  I don't think this really is a problem, because in some situations, such as a vase with a small opening, that might be the desired result.  We just have to patch holes.<br><br>Still not done playing with the many parameters, but here are some thoughts: would be nice if hulls were not larger than the original geometry as this adds an extra gap for physics collision detection.  For real-time simulation, we want the least number of convex hulls possible, but also the least number of vertices per convex hull.  V-HACD sometimes produces hulls with more vertices than the original part it encompasses... it has the <em class="text-italics">maxNumVerticesPerCH</em> param, which is great, however, it will use that number for small and large convex parts equally.  So a small part that could use fewer vertices gets more than needed, and a large part that could use more might not get enough.<br><br>Thanks.<dl class="file"><dt><span class="imageset icon_topic_attach"></span> <a class="postlink" href="https://pybullet.org/Bullet/phpBB3/download/file.php?id=1259">object_vhacd_py_v0_2.zip</a></dt></dl><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2743">RBD</a> — Thu Dec 18, 2014 2:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[khaled]]></name></author>
		<updated>2014-12-16T21:16:05+00:00</updated>

		<published>2014-12-16T21:16:05+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34635#p34635</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34635#p34635"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34635#p34635"><![CDATA[
Thanks RBD for the updated version. I have just submitted your add-on to the V-HACD git repository <a href="https://code.google.com/p/v-hacd/source/browse/add-ons/blender/object_vhacd.py" class="postlink">https://code.google.com/p/v-hacd/source ... t_vhacd.py</a><br><br>Please, let me know if you would like me to add you as a contributor to the V-HACD.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8112">khaled</a> — Tue Dec 16, 2014 9:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[RBD]]></name></author>
		<updated>2014-12-18T13:50:31+00:00</updated>

		<published>2014-12-16T17:55:20+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34634#p34634</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34634#p34634"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34634#p34634"><![CDATA[
<blockquote class="uncited"><div>is it possible to release the script under a more permissive license (e.g., BSD license)?</div></blockquote>Done.<blockquote class="uncited"><div>On Linux 64bit and Blender 2.72b (and maybe on other POSIX systems), I had to change[...]</div></blockquote>Thanks for testing and reporting!  I've applied the change, thank you.<br><br>I've updated the add-on (attached)<br><span style="font-size:125%;line-height:116%">Changes</span>:<ul><li>Now creates BGE (Blender Games Engine) compound active rigid body physics structure for each object from the convex hulls.</li><li>Option to calculate physics mass and change center of mass from object's volume and specified density</li><li>Option to use / keep mesh generated for V-HACD (e.g. for game engine visuals)</li><li>Fixed executable and data path browsers (and now has separate Presets from operator)</li></ul>I think I'm done with this add-on, barring any bugs.  If it works, hopefully we'll get more people testing V-HACD v2.<br><br><strong class="text-strong"><em class="text-italics">* updated below</em></strong><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2743">RBD</a> — Tue Dec 16, 2014 5:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Flix]]></name></author>
		<updated>2014-12-16T11:50:56+00:00</updated>

		<published>2014-12-16T11:50:56+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34631#p34631</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34631#p34631"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34631#p34631"><![CDATA[
<strong class="text-strong">@RBD:</strong> Thanks for posting it  <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> !<br><strong class="text-strong">P.S.</strong> On Linux 64bit and Blender 2.72b (and maybe on other POSIX systems), I had to change:<div class="codebox"><p>Code: </p><pre><code>            vhacd_process = Popen(cmd_line, bufsize=-1)     </code></pre></div>to<div class="codebox"><p>Code: </p><pre><code>            vhacd_process = Popen(cmd_line, bufsize=-1, executable=None,            stdin=None, stdout=None, stderr=None,            preexec_fn=None, close_fds=True, shell=True)     </code></pre></div>to make it work. Don't know if this change breaks the Windows version or not.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2180">Flix</a> — Tue Dec 16, 2014 11:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[khaled]]></name></author>
		<updated>2014-12-15T18:11:50+00:00</updated>

		<published>2014-12-15T18:11:50+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34626#p34626</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34626#p34626"/>
		<title type="html"><![CDATA[Re: Simple and Efficient Approximate Convex Decomposition]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=34626#p34626"><![CDATA[
Great job RBD!<br>Thanks for sharing the add-on. Please, is it possible to release the script under a more permissive license (e.g., BSD license)?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8112">khaled</a> — Mon Dec 15, 2014 6:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
