tySplineMesher orientation from knots
#3
(11-21-2019, 11:29 PM)tyFlow Wrote: Hi Geoff, in "from knots" mode...the forward vector of the matrix comes from the knots, the up vector is the tangent of the spline at that knot, and the right vector is the cross product of the two. Once the vector is formed it is also made orthogonal so that the forward vector is ensured to be 90 degrees from the other vectors.

The Spline Paths operator itself has an "orientation" setting that allows you to set which axis of a particle's transform will be used as that forward vector in the knot. From there you can basically customize the orientation of each knot cross section however you wish.

Im not sure to understand...maybe my question was not so clear... It can be difficult to express myself in a foreign language sometimes ? I’m French don’t blame me! Wink
What I want is to control and insure the cross sections of generated splines (tySplines+tySplinemesher) to match the particles orientation over time so I can maintain consistency of section rotations or face/point distances of neighbor splines (or branch connections) or let say just keep the uvs in place with other attached splines. Imagine I want to control the twist along the spline like in loft objects with the curve editor but with particles or Imagine I have a tree generated using tySplines and want it to get collided, bended, or what ever I can do with particle bindings or PhysX bindings, but I want to use displacement maps and don’t want to feel like the branches can slide over their parent branches because of twisting cross section occurring during dynamic behaviors... do you mean the orientation option in the spline path operator is intend to generate correct spline sections TM?
Because I tried all the possible matrix and axis order but I’m still not able to control the exact (and I mean all axis) spline meshes cross section orientation, or at least the sections twist angle..
  Reply


Messages In This Thread
tySplineMesher orientation from knots - by Geoff - 11-21-2019, 04:52 PM
RE: tySplineMesher orientation from knots - by Geoff - 11-22-2019, 12:51 AM

Forum Jump: