Resample
Visit the Node Bible
Resample
The Resample SOP resamples one or more curves or surfaces into even length segments.
Main Parameters:
Group:
- Allows you to isolate the resample to a certain group of points/primitives. Read up on the Group SOP node bible entry if you're not familiar with groups yet.
Level of Detail:
-- If you feed the resample SOP a Bezier or NURBS curve, this "level of detail" refers to the level of detail that ought to be calculated for the incoming Bezier or NURBS curve. If you're finding that the shape isn't quite right with an incoming NURBS or Bezier curve, then turn this up. This will be especially noticeable in areas where the direction changes abruptly.
Resample by Polygon Edge:
-- This setting will help you preserve corners and sharp turns by sampling between poly edges. In other words, the original point positions are preserved and any subdivision will happen between existing points. Keep in mind that you may not get even spacing between points if you go this route. In return though, your corners behave much better.
Method:
-- Even Length Segments = each segment has even spacing.
-- Even X,Y, and Z spacing = When determining the point spacing, look at the x,y, or z direction and make the splits even going in that particular direction.
Measure:
-- Along Arc = Tells the Resample SOP to use the points in space that originally defined the curve as the basis for rebuilding the curve. When you use this mode, it will unlock the ability to use "Even Last Segment Same Length." Another practical difference between Along Arc and Along Chord is if you turn off the Maximum Segment Length parameter. When this is off, you can use the Maximum segments to define how many divisions you'd like in the curve. If the measure is set to "Along Chord" however, you will not be able to use the "segments" to control divisions.
Maximum Segment Length:
-- This parameter defines the distance between each segment. Lower vals = more detail. Higher values = less detail.
Maximum Segments:
-- This caps the number of segments which are allowed to define the curve.
Allow Primitive Attributes to Override Parameters:
-- If you feed the resample sop geometry which contains @segment_length or @num_segments, then the Maximum segment length and maximum segments will be controlled by those attributes.
Even Last Segment Same Length
-- This will make sure that the last segment is the same length as everything else.
Maintain Last Vertex:
-- This will force the resample to keep the last point of the curve. If the curve doesn't have enough segments to reach the end of the curve, then it will just draw a straight line to the last point. If you turn off "Maintain Last Vertex," then that will give you the ability to trim the ends of the curve.
Randomize First Segment Length:
-- This randomizes the length of the first segment. According to the docs, "This option can help to eliminate aliasing when using the resample SOP to convert curves to a point cloud."
Create Only Points:
-- Does just like it says
Treat Polygon As:
-- If you have polylines or polygons, and you'd like to smoothen the flow of those polylines or polygon edges, then you can set this to Subdivision Curves or Interpolating Curves. Subdivision Curves may cause volume loss. Interpolating Curves may cause the edges to expand outwards.
Output as Polygon Curves to be Subdivided Later:
-- This will attempt to push points outward in a way that predicts the impact of subdivision smoothing at render. If you want to subdivide the curve at render while maintaining your sharper corners, then try turning this on.
Distance Attribute:
-- According to the docs, "Creates a point attribute storing the length of output curve that is closest to each point along the curve. This is half the sum of the lengths of all edges connected to each output point. When creating only points, this value can be used to determine how much of the original curve each point represents." In practice, it's unclear what this may get used for.
Tangent Attribute:
-- This attribute is very useful because it creates a vector attribute which points in the direction that a point is traveling along the curve. So, if you want a vector attribute that's pointing along the direction of a curve, you can get this attribute with @tangentu
Curve U Attribute:
-- When the new curve is being generated, think of the beginning of that curve as a value of 0 and the end of the curve as a value of 1. The CurveU attribute will figure out how far along the curve a particular point is. If the value is .72, then it's basically like telling you, "This point is 72% along the original curve." This is useful for control effects which rely on how far along the curve a point is. Put another way - 0% says, "Hey, I'm at the beginning of the curve" and 100% says, "Hey, I'm at the end of the curve now."
Curve Number Attribute:
-- This creates a point attribute storing the curve primitive number for the resampled point. In practice, it's like giving your curves a unique id. If the resample generates four different curves, then the first one will have a curvenum of 0, the second curve will be 1, and so on.
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