I need some help with this part. Getting this data out of Softimage has been a challenge for me.
For a given PolygonMesh, how do you export the UV values?
Exporting UV Values
-
face
- Posts: 57
- Joined: 10 Jan 2010, 11:28
Re: Exporting UV Values
Use the CGeometryAccessor.
There are some samples in the SDK.
face
There are some samples in the SDK.
face
-
csaez
- Posts: 253
- Joined: 09 Jul 2012, 13:31
- Skype: csaezmargotta
- Location: Sydney, Australia
Re: Exporting UV Values
This only works in a very simple scenario, if it's not a complete cluster you should match the indices with the geometry 
Code: Select all
oObj = Application.Selection(0)
for oCls in oObj.ActivePrimitive.Geometry.Clusters:
for oProp in oCls.Properties:
if oProp.Type != "uvspace":
continue
Application.LogMessage(oProp.FullName)
Application.LogMessage(oProp.Elements.Array)-
TwinSnakes007
- Posts: 316
- Joined: 06 Jun 2011, 14:00
Re: Exporting UV Values
Thanks guys...that worked.
