Re: Getting SITransform objects from component clusters

Date : Sat, 6 Oct 2007 15:32:36 -0700
To : XSI(at)Softimage.COM
From : "Bradley Gabe" <withanar(at)gmail.com>
Subject : Re: Getting SITransform objects from component clusters
Clusters do not have a kinematic node or attached center, but they do have a local reference frame. When you apply a constrain to cluster, that local reference frame must be a full transform matrix which is calculated very quickly, and drives the position, tangency, and up vector of the constraint.
 
I could write my own method that converts a component cluster into a point collection, and then there are a number of ways to churn out a transformation from that data, but the performance is probably going to be sluggish.
 
 
There is a command that takes objects as input and spits out a bounding box. I was hoping for an analog that does that for local reference frames (whatever code the SRT box is using internally to do that).
 
 
On 10/6/07, squid <squid(at)3d-palace.com> wrote:
if the cluster has a center then :  (
myCluster.CenterReference).Kinematics.Local.Transform

or ( myCluster.Parent3DObject).Kinematics.Local.Transform

both seem as nippy as each other to me.

i have a sneaking suspicion i've not understood the question though

Bradley Gabe wrote:
> If I have a pointer to, say, a polygon cluster, what is the quickest
> way performance-wise to get an SITransformation object for that
> cluster's local reference frame?
>
> I'm having no luck hunting this down in the SDK docs.
>
> Thanks!
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.2/1052 - Release Date: 05/10/2007 18:53
>

--
Jon Swindells
squid(at)3d-palace.com

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.