Re: [script] output triangle count

Date : Tue, 27 Nov 2007 16:25:47 +0100
To : XSI(at)Softimage.COM
From : Guillaume Laforge <guillaume(at)alamaison.fr>
Subject : Re: [script] output triangle count
Hi Bernard,

The GetApproximatedMesh method gives you the description of the sudivided mesh. Maybe you can find triangles count from there ?

My non subdived 1/2


Guillaume Laforge | La Maison



Bernard Lebel a écrit :
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.