Hello,
Sorry if my english is not perfect.
I have a creature generator made with Blender and writen in Python. I'm trying to recreate the same generator in Houdini.
I'm facing an issue when it comes to create a Procedural Rig. I want to create bones in the same time that I perform Extrude on the model.
In Blender I just had to create a bone and set the “Head” and “Tail” position and set the parent.
I can't find a similar way to achieve this in Houdini.
Do you have a better workflow that will fit better with Houdini ?
Thank you
[Python] Procedural Rig
1379 2 1-
- fcantet
- Member
- 6 posts
- Joined: May 2019
- Offline
-
- malbrecht
- Member
- 806 posts
- Joined: Oct. 2016
- Offline
Hi, unknown user,
there are several approaches to creating a bone “heading” for the “right” direction. One way is to use a lookat-constraint (pointing to your target position), which would, obviously, limit the way you can handle the rig.
You could, however, use a lookat, grab the world transformation matrix, extract the rotation and put that into your bone's pretransform, then delete the lookat (basically “cheating” your way around constructing the matrix yourself).
Or you construct the transform matrix from head/tail positions, extract rotation values and write them to the bone.
Many ways … the “best” depends on your specific needs.
Marc
there are several approaches to creating a bone “heading” for the “right” direction. One way is to use a lookat-constraint (pointing to your target position), which would, obviously, limit the way you can handle the rig.
You could, however, use a lookat, grab the world transformation matrix, extract the rotation and put that into your bone's pretransform, then delete the lookat (basically “cheating” your way around constructing the matrix yourself).
Or you construct the transform matrix from head/tail positions, extract rotation values and write them to the bone.
Many ways … the “best” depends on your specific needs.
Marc
---
Out of here. Being called a dick after having supported Houdini users for years is over my paygrade.
I will work for money, but NOT for "you have to provide people with free products" Indie-artists.
Good bye.
https://www.marc-albrecht.de [www.marc-albrecht.de]
Out of here. Being called a dick after having supported Houdini users for years is over my paygrade.
I will work for money, but NOT for "you have to provide people with free products" Indie-artists.
Good bye.
https://www.marc-albrecht.de [www.marc-albrecht.de]
-
- fcantet
- Member
- 6 posts
- Joined: May 2019
- Offline
-
- Quick Links