Attribute From Volume
Visit the Node Bible
Attribute From Volume
The Attribute From Volume SOP allows you to use voxel values to determine an attribute value along the points of a mesh.
The Attribute From Volume SOP is great for effects that you'd like to control using volumes. Keep in mind that it is much faster to use the volumesample() function in vex instead of this node. So, if you are dealing with a large number of points, then it is better to use vex. Otherwise, this SOP offers a quick and easy way of reading voxel values, remapping them if you'd like, and putting those values into point attributes.
This node will work with both VDB and traditional volumes. To make this work properly, you'll need to plug in something with points into the first input, and your volume goes into the second input. If you're not sure what the voxel values are, then check out the Volume Slice Node Bible entry.
Main Parameters:
Group:
-- This allows you to isolate which points will go out to read the volume. If you are unfamiliar with what groups are, then please visit the Group SOP Node Bible entry.
Volume:
-- This specifies which volumes will be sampled. You don't need to type out @name=foo or anything like that. Instead, just type out "foo" and this parameter will recognize that field. If you're trying to sample from any vector fields, then you'll need to say "foo.*" The "*" will grab each component of the vector.
Attribute Name:
-- This is asking you what attribute you'd like to modify or create for the points of the mesh.
Local Variable:
-- This gives you the ability to store the values into a custom variable. For more information about variables, please visit the Attribute Create Node Bible entry.
Attribute Type:
-- This allows you to specify what kind of point attribute you'd like to make. If you don't know the difference between Float, Integer, and Vector, please visit the Data Types video on Houdini For The New Artist II.
Attribute Size:
-- This parameter only works when the Attribute Type is set to either float or integer. In Houdini For the New Artist II, we talk about vectors and how they are collection of 3 values. Well, you can build a collection of ___ values with this parameter. In other words, if the Attribute Type is float and you set the attribute size to 4, then you're essentially saying, "I would like a collection of 4 float values assigned to attribute 'foo.'"
-- This might be confusing because in the Attribute Type parameter, you can also say vector. So... if you set the Attribute Type to Vector, then that will be the same thing as setting the Attribute Type to Float and the Attribute Size to 3. In practice, the attribute size gets useful if you'd like a collection of 2 or 4 values instead of three, and there aren't many situations which require that when using the attribute from volume node.
Default:
-- The Default Value is what the point attribute will be if it does not sample from the volume.
Mapping:
--------------------------------
Map Volume to Value & Map Volume to Vector:
-- These checkboxes are asking you whether you want to remap float data or vector data. If you're using a vector volume/field, then use the "Map the Volume to Vector." Otherwise, "Map Volume to Value" is what you want.
Mode:
-- Clamped = If a voxel value goes beyond the input range, then it gets clamped to the max input value. If a voxel value goes under the min input value, then it gets clamped to the min.
-- Periodic Ramp = If a voxel value goes beyond the input range, then the ramp starts all over again at the beginning and essentially repeats itself. The same thing happens if a value gets below the input range.
Density:
-- The name of this parameter is a bit strange. These are basically ramp presets for different shapes you could make.
Output Range:
-- The Input Range is asking you how you would like to interpret the incoming voxel values. The output range is asking you how you'd like to assign the point attribute values. Use this parameter to remap the result of what was read on the voxels.
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