{"id":169,"date":"2016-06-28T23:43:26","date_gmt":"2016-06-29T06:43:26","guid":{"rendered":"http:\/\/www.artifisizzler.com\/?p=169"},"modified":"2019-07-18T01:15:55","modified_gmt":"2019-07-18T01:15:55","slug":"the-thing-about-rings","status":"publish","type":"post","link":"http:\/\/www.decscroll.com\/blog\/2016\/06\/28\/the-thing-about-rings\/","title":{"rendered":"The Thing About Rings"},"content":{"rendered":"<p>It&#8217;s worth pointing out that I&#8217;m showing you one\u00a0way that <strong>I&#8217;ve<\/strong> created wood shaders, but the Cycles nodes are so flexible that there are often many ways to accomplish the same thing.\u00a0\u00a0For example, in the first post in the Procedural Wood series (<a href=\"http:\/\/www.decscroll.com\/?p=6\">The Beginning<\/a>), I showed how to create rings based on the <img decoding=\"async\" src=\"http:\/\/s0.wp.com\/latex.php?latex=x%5E2+%2B+y%5E2+%3D+r%5E2&#038;bg=ffffff&#038;fg=000&#038;s=0&#038;c=20201002\" alt=\"x^2 + y^2 = r^2\" class=\"latex\" \/> equation of a circle. However, there are definitely other ways to get something resembling rings. For example, there is even a &#8220;Ring&#8221; pattern for the Wave texture. If you just remove the Y-component of the Vector as we&#8217;ve done in previous posts:<br \/>\n<a href=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-01.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-173\" src=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-01.png?resize=640%2C207\" alt=\"rings01-01\" width=\"640\" height=\"207\" srcset=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-01.png?w=1037 1037w, https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-01.png?resize=300%2C97 300w, https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-01.png?resize=768%2C249 768w, https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-01.png?resize=1024%2C332 1024w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\n&#8230;you get a nice pattern for a lot fewer nodes:<br \/>\n<a href=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-02.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-172\" src=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-02.png?resize=513%2C404\" alt=\"rings01-02\" width=\"513\" height=\"404\" srcset=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-02.png?w=513 513w, https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-02.png?resize=300%2C236 300w\" sizes=\"auto, (max-width: 513px) 100vw, 513px\" \/><\/a><br \/>\nIt&#8217;s probably hard to find a faster way to get rings! Another way is to use the Color output of the Normalize Vector node, like this:<br \/>\n<a href=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-03.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-171\" src=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-03.png?resize=640%2C217\" alt=\"rings01-03\" width=\"640\" height=\"217\" srcset=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-03.png?w=958 958w, https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-03.png?resize=300%2C102 300w, https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-03.png?resize=768%2C261 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\n&#8230;and this is the resulting ring pattern:<br \/>\n<a href=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-04.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-170\" src=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-04.png?resize=484%2C397\" alt=\"rings01-04\" width=\"484\" height=\"397\" srcset=\"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-04.png?w=484 484w, https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-04.png?resize=300%2C246 300w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/a><br \/>\nI encourage you to experiment with different nodes and see what kind of effects you can get. In my opinion, neither of these two methods are as easy to manipulate as the Circle Equation method we explored before. However, depending on the particular look you want to create, these might work better for you.<\/p>\n<p>If you find more methods, I&#8217;d love to hear about them!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s worth pointing out that I&#8217;m showing you one\u00a0way that I&#8217;ve created wood shaders, but the Cycles nodes are so flexible that there are often many ways to accomplish the same thing.\u00a0\u00a0For example, in the first post in the Procedural Wood series (The Beginning), I showed how to create rings based on the equation of&#8230;<\/p>\n","protected":false},"author":2,"featured_media":170,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[3],"tags":[4,8,13,15,16],"class_list":["post-169","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-blender","tag-cycles","tag-shader","tag-tutorial","tag-wood"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.decscroll.com\/blog\/wp-content\/uploads\/2016\/06\/rings01-04.png?fit=484%2C397","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paMavh-2J","_links":{"self":[{"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":2,"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":737,"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions\/737"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/media\/170"}],"wp:attachment":[{"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.decscroll.com\/blog\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}