andyp123 / blender_vhacd Goto Github PK
View Code? Open in Web Editor NEWBlender 2.80 add-on that enables the use of V-HACD inside Blender to generate accurate convex hulls quickly.
License: GNU General Public License v3.0
Blender 2.80 add-on that enables the use of V-HACD inside Blender to generate accurate convex hulls quickly.
License: GNU General Public License v3.0
Currently the collision meshes returned from VHACD are a bit on the "baggy" side of things. Is it possible to adjust settings and get a tighter collision by adjusting the settings? Should the default settings be changed?
Hi there!
Is it possible to update the addon so it can work with latest Blender version 2.90 and up?
Thanks
Hi, don't know why this addon is broken now (i used it a lot before and haven't got any problems before), but after having installed Blender again, and so the addon to, it messes up.
I got this error after launching VHACD and the process ended up with that :
Traceback (most recent call last):
File "C:\Users\pc\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\object_vhacd.py", line 366, in execute
bpy.ops.import_scene.x3d(filepath=outFileName, axis_forward='Y', axis_up='Z')
File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\modules\bpy\ops.py", line 201, in __call__
ret = op_call(self.idname_py(), None, kw)
AttributeError: Calling operator "bpy.ops.import_scene.x3d" error, could not be found
location: <unknown location>:-1
If anyone has an idea, it would help a lot ;)
Hi there,
I am trying to install this add-on in Blender 2.80 (also tried 2.83) but the preferences in preferences>add-ons are missing so i cannot connect to the executable. I am running MacOs 10.15.6. Also seems to be strange that the executable is called testHACD, shoudl I make it executable then with chmod
?
How to install this plugin in Mac please?
Hello, i install it, but i can't run in mac. It tips 'no meshes to process. I use it in mac by blender 2.83. Could you help me? Thanks a lot.
Will there be an update for this tool to work with blender 2.81?
getting this error when I try to run it:
Traceback (most recent call last):
File "C:\Users\user1\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\object_vhacd.py", line 366, in execute
row = col.row()
File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\modules\bpy\ops.py", line 201, in call
ret = op_call(self.idname_py(), None, kw)
AttributeError: Calling operator "bpy.ops.import_scene.x3d" error, could not be found
location: :-1
Unfortunately I am unable to use the plugin with MacOS. I get only the orange error: "No meshes to process". I have followed the instruction in this repository.
I tried the decomposition of the same mesh under Windows and there was no problem.
Is there anything else I can do to make this issue more tractable?
I am running into a problem with poor collision hull representation for objects that have largely convex shapes.
As an extreme example consider the case of a sphere. When using V-HACD on a high resolution spherical mesh but limiting the vertex count to 64 (as is needed for GPU collisions in PhysX for example), what happens for me is that no matter what settings I use I always get just one convex hull that has a surface that is largely within the original sphere's bounds. In the image below for instance notice the gap between an icosphere in orange and the associated convex hull in black. The magenta arrow indicates a location where the sphere's surface extends a significant distance beyond the outer edge of the convex hull as indicated by the yellow arrow.
In principle the sphere could be represented with greater fidelity if we used multiple convex hulls rather than just one (e.g., 10 hulls could provide 10 times the maximum resolution).
In my application the objects that I am working with are not spheres although they do suffer from the same problem illustrated here.
Is anyone aware if V-HACD has a built-in mechanism for allowing multiple convex hulls to be applied to a single convex region?
Here by, the way, is the configuration I used for the example:
Many thanks in advance for your advice (and patience with me if I am missing something that should be obvious!).
Hello. Thank you for add-on! I am trying to get it into current 2.8x . Am i doing something wrong? Maybe i look in wrong place? I have it installed, and exe path added, but there is no entry in "Object" menu for selected object (i attach screens). What us my mistake here, please? :)
Thank you.
EDIT: i am getting it thru F3 menu, and it is working. So, kind of "never mind" my question :) It works.
I followed the very simple installation documentation, but it seems it won't work on my system. I downloaded the latest ZIP, installed it through the UI in Blender, downloaded the testVHACD.exe and dropped it on the desktop. Linked it in preferences and saved it. When I press F3 and hit enter to: Object - V-HACD, I get a message saying:
Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.91\2.91\scripts\startup\bl_operators\wm.py", line 1655, in execute
owner_id = workspace.owner_ids[self.owner_id]
KeyError: 'bpy_prop_collection[key]: key "object_vhacd" not found'
location: :-1
I added the exe as an exception to my Anti Virus, executed the exe to see the log and saw that OpenCL is fine. I have Win 10 64bit installed. I also ran Blender as an Admin, but didn't change anything.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.