Jump to content
garf

L-System Pivot

Recommended Posts

Hello,

 

Does anyone know a way to get the pivot point of each prim from an L-System? I'd like to use this for animating bends and rotations but I'm not sure how I would go about it.

Logically I need to find the nearest point on the previous gen to the 0 point of each primitive but it must also take into account the transforms of the previous gens too. I looked in to matt estela's rotation matrices but this doesn't account for the previous gen's transforms. Any help greatly appreciated.

http://www.tokeru.com/cgwiki/index.php?title=HoudiniVex#Rotate_prims_around_an_edge.2C_alternate_version

 

image.thumb.png.a95a6863d7434175aa4003e9692d533d.png

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×