[Sidefx-houdini-list] rounding off in expression
Robert D.M. Smith
robert.dm.smith at gmail.com
Fri Feb 13 12:48:09 EST 2009
On Fri, Feb 13, 2009 at 5:36 AM, John Coldrick <jc at axyzfx.com> wrote:
> You've lost me there...if $CUSTOM is *greater* than 90, it should be
> added to
> the group...and it's *not* in tests I've done with 89.9564, which is
> correct - true then '1', false then '0' according to your if. I've fiddled
> around with creating a float attribute using that value and membership to
> point groups based on > < work for me, as expected. If I've missed the
> actual question, please reiterate. ;) If I've not and you're getting
> different results, there must be something different between our specific
> methods...
Yes, sorry ... after some sleep & coffee, I now see the method I described
earlier does work the way it's suppose to. The problem is actually a
tolerance one which is easily fixed by changing the expression to *if($CUSTOM
> 89, 1, 0)*. We are trying to delete points that lie behind the camera
plane.
Sorry for the confusion.
Rob
More information about the Sidefx-houdini-list
mailing list