FAQ FAQ      Search Search      Memberlist Memberlist      Usergroups Usergroups      Register Register      Profile Profile      Check private messages Check private messages      Log in Log in     

AttribComposite operation

 
Post new topic   Reply to topic    Houdini Forum Index -> Technical Discussion
View previous topic :: View next topic  
Author Message
TheUsualAlex
Houdini Master


Joined: 22 Jul 2002
Posts: 586
Location: Hibernation Chamber

usa.gif
PostPosted: Thu Apr 24, 2008 9:54 am GMT    Post subject: AttribComposite operation Reply with quote

Hi, Would it be possible to have the AttribComposite SOP to have Add, Subtract, and Mult operation?

-A

_________________

Because in life, there comes a time,
When one must fight, and one must climb,
When one must rise and take a stand,
Or leave their butt prints in the sand
Back to top
View user's profile Send private message AIM Address
andrewlowell
Houdini Expert


Joined: 28 Dec 2005
Posts: 497
Location: Sydney, NSW

australia.gif
PostPosted: Sun Apr 27, 2008 11:29 pm GMT    Post subject: Reply with quote

Might be useful but sounds like a job for point sops and digital assets Very Happy

Maybe a switch sop to switch between the operations
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Simon
Houdini Guru


Joined: 13 Feb 2003
Posts: 1986
Location: noho

uk.gif
PostPosted: Mon Apr 28, 2008 2:41 am GMT    Post subject: Reply with quote

It's easy enough in attribcreate just use the local variable mapping and basic math

$FOO + $BAR

$BAR - $FOO

But I agree I always think the attribute composite sop should handle this. Maybe an attribute math sop (like the chop one) would be handy.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TheUsualAlex
Houdini Master


Joined: 22 Jul 2002
Posts: 586
Location: Hibernation Chamber

usa.gif
PostPosted: Mon Apr 28, 2008 9:25 am GMT    Post subject: Reply with quote

Hey.

Yeah, I know ADD, SUB, MULT operations are very easy to do via Point SOP or multitude of other methods. It just that I ran into the issue of how do I perform ADD/SUB/MULT on x-number of attributes all in one pass within the SOP Solver DOP... Hence I was hoping that those basic operations would be trivial for SESI to add for the next build or something. Smile

is it? Very Happy

Pleeeasssseee? Mr. Green

_________________

Because in life, there comes a time,
When one must fight, and one must climb,
When one must rise and take a stand,
Or leave their butt prints in the sand
Back to top
View user's profile Send private message AIM Address
Simon
Houdini Guru


Joined: 13 Feb 2003
Posts: 1986
Location: noho

uk.gif
PostPosted: Mon Apr 28, 2008 9:27 am GMT    Post subject: Reply with quote

Ah yes working with multiple attributes at the same time, that would be handy.... hence my reference to the math chop.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
josh3light
Socialite


Joined: 20 Feb 2008
Posts: 66
Location: New York

usa.gif
PostPosted: Mon Apr 28, 2008 9:59 am GMT    Post subject: Reply with quote

It could be nice to whip up a quick vop sop to do this too... might even run faster than the point sop or attribcomposite.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TheUsualAlex
Houdini Master


Joined: 22 Jul 2002
Posts: 586
Location: Hibernation Chamber

usa.gif
PostPosted: Mon Apr 28, 2008 9:40 pm GMT    Post subject: Reply with quote

yeah, VOP SOP will in most cases be faster than point sop for sure. But both VOP and CHOP seems to require that you have a known set of attributes to composite. It's just that if I have an unknown number of attributes to composite, AttribComposite seemed a better solution. If a couple more of those composite operations built into it, that is. Wink
_________________

Because in life, there comes a time,
When one must fight, and one must climb,
When one must rise and take a stand,
Or leave their butt prints in the sand
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Houdini Forum Index -> Technical Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


phpBB component v1.2.4 RC3 by Adam van Dongen. Based on phpBB © 2001, 2002 phpBB Group