abpy / improved-sapling-tree-generator

A new version of Blenders sapling tree generator addon with improvements, new features, and bug fixes
GNU General Public License v2.0
140 stars 24 forks source link

ramification of the armature #1

Closed ealfonsov89 closed 8 years ago

ealfonsov89 commented 9 years ago

Hello, there is a feature that I think is missing, the depth of ramification of the armature, this would optimize models for use in video games

abpy commented 9 years ago

Thank you for your feedback, I appreciate it. By ramification I'm guessing you mean reducing the number of bones in each branch. I agree, the trees have too many bones in the armature. Perhaps if there was 1 bone per stem up to a limited number of levels. I will look into it but It may be difficult to change.

ealfonsov89 commented 9 years ago

i would try to do it, but for now i am very busy, if i do something y would make you know.

abpy commented 9 years ago

I dug into the code a bit and found the armature uses bone envelopes for binding. So if bones were removed the bezier points wouldn't be attached. It can't be done with curves, but it could be done with a mesh. I intend to add meshing eventually, but i'm waiting to see if the new skin modifier will work https://developer.blender.org/D1465

ealfonsov89 commented 9 years ago

Hi, can you use the sum of the weight maps of childrens?

2015-09-27 11:55 GMT-07:00 Aaron notifications@github.com:

I dug into the code a bit and found the armature uses bone envelopes for binding. So if bones were removed the bezier points wouldn't be attached. It can't be done with curves, but it could be done with a mesh. I intend to add meshing eventually, but i'm waiting to see if the new skin modifier will work https://developer.blender.org/D1465

— Reply to this email directly or view it on GitHub https://github.com/abpy/improved-sapling-tree-generator/issues/1#issuecomment-143587087 .

ealfonsov89 commented 9 years ago

i made several experiments merging bones, it could be a starting point

2015-09-28 6:11 GMT-07:00 Ernesto Alfonso ealfonsov89@gmail.com:

Hi, can you use the sum of the weight maps of childrens?

2015-09-27 11:55 GMT-07:00 Aaron notifications@github.com:

I dug into the code a bit and found the armature uses bone envelopes for binding. So if bones were removed the bezier points wouldn't be attached. It can't be done with curves, but it could be done with a mesh. I intend to add meshing eventually, but i'm waiting to see if the new skin modifier will work https://developer.blender.org/D1465

— Reply to this email directly or view it on GitHub https://github.com/abpy/improved-sapling-tree-generator/issues/1#issuecomment-143587087 .

ealfonsov89 commented 9 years ago

if you get all bones that have only one child and merge?

2015-09-28 9:18 GMT-07:00 Ernesto Alfonso ealfonsov89@gmail.com:

i made several experiments merging bones, it could be a starting point

2015-09-28 6:11 GMT-07:00 Ernesto Alfonso ealfonsov89@gmail.com:

Hi, can you use the sum of the weight maps of childrens?

2015-09-27 11:55 GMT-07:00 Aaron notifications@github.com:

I dug into the code a bit and found the armature uses bone envelopes for binding. So if bones were removed the bezier points wouldn't be attached. It can't be done with curves, but it could be done with a mesh. I intend to add meshing eventually, but i'm waiting to see if the new skin modifier will work https://developer.blender.org/D1465

— Reply to this email directly or view it on GitHub https://github.com/abpy/improved-sapling-tree-generator/issues/1#issuecomment-143587087 .