RE: Texture Support neutral pose

Date : Fri, 1 Feb 2008 13:07:44 -0600
To : <XSI(at)Softimage.COM>
From : "Matt Lind" <mlind(at)carbinestudios.com>
Subject : RE: Texture Support neutral pose
I didn't like that, so I changed it.
 
I modified Texture.spdl by changing the "UnInspectable" tag to "ReadOnly" for the GeoX, GeoY, and GeoZ parameters and made them visible in the Texture Support PPG in a group called "Neutral Pose".  Now I can access the parameters via the Object Model like anything else (eg: var GeoX = Parameter( "GeoX" ).value ).  Setting them to ReadOnly prevents non-technical users from toying with the values.
 
thanks,
 
 
Matt
 
 


From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of kim aldis
Sent: Friday, February 01, 2008 1:47 AM
To: XSI(at)Softimage.COM
Subject: RE: Texture Support neutral pose

They’re not exposed to the OM. Getvalue picks them up. Or use the items method of a collection.

 

From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Matt Lind
Sent: 31 January 2008 22:30
To: XSI(at)Softimage.COM
Subject: RE: Texture Support neutral pose

 

Ah, I saw those properties in the SDK docs, but when I tried to access them XSI throws an error claiming they don't exist.

 

BTW - using XSI v6.01, upgrading not an option.

 

 

Matt

 

 

 


From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of kim aldis
Sent: Thursday, January 31, 2008 2:22 PM
To: XSI(at)Softimage.COM
Subject: RE: Texture Support neutral pose

GeoX, GeoY, GeoZ are properties of the texture support that give its size when the projection is applied. The support acts as the child of the geometry when the geometry is scaled so you’ll need to take that into account possibly.

 

From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Matt Lind
Sent: 31 January 2008 02:06
To: xsi(at)Softimage.COM
Subject: SDK: Texture Support neutral pose

 

Question for those who've dug under the hood of XSI:

 

When a new texture support and projection are created on a mesh, XSI does some math to figure out the bounding box of the mesh, resizes the texture support to fit, then resets (freezes) the SRT values to the identity matrix.  Great, but where do I find the size (dimensions) of the texture support when it was first created and assigned to the mesh?   Assume you're looking for this data after the mesh and texture support have been modified quite a bit by one or more artists.  For example, get a primitive polygon mesh torus and immediately assign an XY planar projection to it.  Where can I dig up the information that tells me the texture support is 2 units tall by 8 units wide?  The SRT is the identity, so it's useless.  I can't use the bounding box because it tells me the current dimensions, not the dimensions of the support at the time it was assigned to the mesh (which is what I want).  In short, I need the equivalent of a neutral pose of the texture support.

 

Anybody?

 

thanks

 

 

Matt

------------------------------
Matt Lind
Animator / Technical Director
SOFTIMAGE certified instructor:
SOFTIMAGE|3D
SOFTIMAGE|XSI
Matt.Lind(at)Mantom(dot)net

 


Connect and share in new ways with Windows Live. Get it now!


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.