| View previous topic :: View next topic |
| Author |
Message |
TheUsualAlex Houdini Master

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

|
Posted: Thu Apr 24, 2008 9:54 am GMT Post subject: AttribComposite operation |
|
|
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 |
|
 |
andrewlowell Houdini Expert

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

|
Posted: Sun Apr 27, 2008 11:29 pm GMT Post subject: |
|
|
Might be useful but sounds like a job for point sops and digital assets
Maybe a switch sop to switch between the operations |
|
| Back to top |
|
 |
Simon Houdini Guru

Joined: 13 Feb 2003 Posts: 1986 Location: noho

|
Posted: Mon Apr 28, 2008 2:41 am GMT Post subject: |
|
|
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 |
|
 |
TheUsualAlex Houdini Master

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

|
Posted: Mon Apr 28, 2008 9:25 am GMT Post subject: |
|
|
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.
is it?
Pleeeasssseee?  _________________
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 |
|
 |
Simon Houdini Guru

Joined: 13 Feb 2003 Posts: 1986 Location: noho

|
Posted: Mon Apr 28, 2008 9:27 am GMT Post subject: |
|
|
| Ah yes working with multiple attributes at the same time, that would be handy.... hence my reference to the math chop. |
|
| Back to top |
|
 |
josh3light Socialite
Joined: 20 Feb 2008 Posts: 66 Location: New York

|
Posted: Mon Apr 28, 2008 9:59 am GMT Post subject: |
|
|
| 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 |
|
 |
TheUsualAlex Houdini Master

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

|
Posted: Mon Apr 28, 2008 9:40 pm GMT Post subject: |
|
|
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.  _________________
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 |
|
 |
|