Attribute Combine
Visit the Node Bible
Attribute Combine
The Attribute Combine is great for times when you want to make a new attribute that's the result of combining two existing attributes in some kind of way. It's also great for applying an operation of some kind to an existing attribute in order to generate a new attribute. You can also overwrite existing attributes with the resulting value(s) by specifying so in the destination field. In practice, it's a good idea to keep all the attribute types the same. So, if you'd like to generate a new primitive attribute, then make sure you're feeding in primitive attributes into this node.
General Parameters:
Source Group & Group Type:
-- This allows you to specify which group of points, prims, vertices, or edges you'd like to do the operation on.
Destination:
-- In short, this determines the new attribute to create and/or the attribute that you'd like to override with the combination function. According to the docs, "Name of the destination attribute to write to. This can be an existing attribute, in which case its size and type is maintained. It can also be one of the attributes used as a source.
-- A visualization button is available next to this field if you'd like to visualize the attribute in the viewport. You can also specify what kind of attribute it is through the dropdown menu next to the visualize icon. Keep in mind that, "All the source attributes must be of the same class." meaning that if you're trying to do an operation on points, then make sure the dropdown also says points.
Number of Combines:
-- According to the docs, "For each combination the same layering process is performed. The current value of the destination attribute is read. The source attribute is read and processed with the scale, add, and process parameters to get a source value. The source value and destination attribute then combined with the operation to get a new destination value. Finally, the destination value is blended into the destination attribute using the blend scale and blend attribute."
-- As mentioned before, you can also specify an attribute which does not exist yet in the "destination" field in order to create it.
-- The blend slider will blend between the original value, and whatever value you come up with after the operation. Keep in mind that you can use an attribute to determine how much of the blend occurs.
-- You have the option of scaling, adding, and applying a process to the source attribute before the "Operation" takes place.
Operations:
-- Keep in mind that the "Scale" "Add" and "Process" settings will be applied first before any of these "Operations" take place.
-- Copy = The source value is the candidate, the destination attribute value is ignored.
-- Add = The sum of the source value and the destination attribute.
-- Subtract = Subtract the source value from the destination attribute.
-- Multiply = Multiply the source value with the destination attribute.
-- Divide = Divide the destination attribute by the source value.
-- Maximum = Use the largest of the destination attribute and the source value.
-- Minimum = Use the smallest of the destination attribute and the source value.
Processes:
-- None = No processing is performed.
-- Reciprocal (1/x) = The value is inverted. 1/0 is set to 0.
-- Clamp 0-1 = The value is clamped into the range 0-1. Note that this will clip values that are below or above 1 or 0.
-- Complement and Clamp 0-1 = The value is complemented (subtracted from one) and then clamped to the range 0-1.
-- Threshold 0.5 = If the value is strictly greater than 0.5, it is set to 1. If less or equal, it is set to 0. This can be used to do a hard-mix.
Post Processing:
-- After the Operation takes place, you can further affect the resulting value by adjusting these parameters
Overall Scale:
-- Multiplies this value against the result of the operation.
Threshold:
-- According to the docs, "If the attribute exceeds this threshold value, replace it with the maximum clamp value. If it is below or equal to it, replace with the minimum clamp value. For vector attributes, this is done per component."
Clamp Max/Min:
-- This will prevent values from going above and/or below these values
Create Missing Destination:
-- If the destination attribute doesn’t exist, try to create it by matching the first of the source attributes.
Create Missing Destination as Scalar:
-- If the destination attribute does not exist always create a float attribute. This has the effect of making an implicit length computation for all source vector attributes.
Delete Source Attributes:
-- Remove all the source attributes after processing, unless one of them is also the destination attribute. This is useful for cleaning up temporary attributes that were created to assist in computation.
Error on Missing Attributes:
-- If specified attributes other than the destination are missing, raise an error. If erroring is disabled; missing source attributes will cause that combination to be skipped as if it were disabled. Missing blend attributes will be treated as if the blend attribute was 1.0 everywhere.
Heads up!
#This is a work in progress
Featured links
About Mentorship Calls
To book a call, just visit https://www.cgforge.com/book-consultation
Study Plan Call
Look at the welcome email for further instructions on how to schedule a call if you are a Premium Subscriber.
Premium Member Discord
Unlike the standard discord server, the Premium Member server receives faster replies, feedback on projects outside CG Forge courses, and exclusive discounts on mentorship calls that aren't offered anywhere else.
Houdini Education License
In summary, the educational license of Houdini acts much like Houdini Indie - but at a discounted price. The main difference between Indie and Education is that this version of Houdini cannot be used for commercial projects. It's great, however, for learning and preparing a demo reel without the limitations of Houdini Apprentice.
Unlock Everything
Unlike workshops or individual courses, CG Forge offers an ecosystem of resources that help you forge your skills.
Redshift Discount
https://www.maxon.net/redshift
Aug 28th, 2024 Changelog
General Changes:
• New, simplified website design is now live!
◦ All new particle banner is featured on the home and after login pages
◦ The after-login page now features courses that are sorted by ones that you have recently watched. This makes it easier to continue watching whatever you’ve been working on without scrolling through all the courses to find what you’re looking for.
◦ There is also a new “resources” section that can be found beneath the “Browse Courses” on the after-login page. This makes it easier to bring up the Node Bible, the “Tips + Tricks,” or Weekly wrangle in a new tab
◦ “CG Forge Academy” has been replaced with a “Mentorship Calls” at the top menu (see below for more details)
◦ The resources dropdown now features “Tips + Tricks” (see below for details)
◦ Certification requirements have been slightly re-written to be easier to understand
◦ Subscriptions have been re-designed from the ground up (see below for details)
Subscription Changes:
• Subscriptions have changed to include a "Basic Subscription" and a "Premium Subscription" option. The Basic Subscription renews monthly, and the “Premium Subscription” renews every 4 months. Yearly subscriptions have been removed.
◦ These changes only affect new subscribers. Existing subscribers will not see anything change with their auto-renewal amount.
◦ 10% off a Redshift yearly subscription is now included with the Premium Subscription. (If you are currently a 4 or 12 month subscriber, then just email support@cgforge.com for this)
◦ A new “Study Plan” call has been added to the Premium Subscription. (If you are currently a 4 or 12 month subscriber, then just email support@cgforge.com for this)
◦ A Houdini education license is now available for “Premium” subscribers. (If you are currently a 4 or 12 month subscriber, then just email support@cgforge.com for this)
◦ For more information, visit the subscriptions page.
• CG Forge Academy has been redesigned to be easier to use.
◦ 45 minute calls have been removed. Existing coupons are still valid and can be used towards 90 minute sessions for the amount listed on each coupon.
◦ 8 week mentorships have been removed - Instead, you can book as many 90 minute calls as you’d like.
◦ Free onboarding calls have been removed - Instead, premium subscribers now receive a complimentary “Study Plan Call” that establishes a personalized curriculum moving forward.
◦ The “CG Forge Academy” top menu is now replaced with “Mentorship Calls” and only allows for booking 90 minute calls.
All new “Tips and Tricks” resource page:
• “Tips and Tricks” is now a resource page that holds all quick tips, Houdini update videos, and other miscellaneous videos in one place. If you’re looking for “Quicktips Season One and Two” or "Houdini 19 Updates" they have now migrated over to the “Tips and Tricks” resource section.
Discord changes:
• The CG Forge Discord channel will now be divided into two categories: “Basic Members” and “Premium Members.” The premium member channel will be invite-only to premium subscribers or those who are currently enrolled in a 4 or 12 month subscription. If you eligible to join the premium discord channel, email support@cgforge.com for an invitation.
◦ Basic Discord members will no longer receive support for projects that are outside the topic of CG Forge courses.
◦ Premium Discord members will receive support for projects outside of CG Forge content
◦ Premium members will receive discounts on mentorship calls, and basic members will not.
◦ Premium members will have their questions / posts answered before basic members
◦ Early access to courses will now be exclusively provided to premium members via the discord channel.
If you have any further questions about these changes, feel free to email support@cgforge.com
Cheers,
- Tyler