Re: [script] output triangle count

Date : Tue, 27 Nov 2007 15:18:26 -0000 (GMT)
To : XSI(at)Softimage.COM
From : "Andy Nicholas" <andy(at)andynicholas.com>
Subject : Re: [script] output triangle count
Hi Bernard,
You might want to check out GetApproximatedMeshAndAttributes() from
PolygonMesh. But as the docs state, the  GetGeometryAccessor from the C++
Polymesh class is probably a more optimised way to go. I guess you could
write a C++ command to get the info you need.

Cheers

Andy


> Hello,
>
> Is there a way to find out, in scripting, the "output" triangle count?
> For instance, when I run something like
>
> logmessage( selection(0).activeprimitive.geometry.triangles.count );
>
> no matter how high the geoapprox setting is, it's always returning the
> same value. I'd like to know how many triangles there are *after* the
> geometry approximation.
>
>
> Thanks
> Bernard
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
>


---
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.