{"id":15995,"date":"2025-04-30T11:39:20","date_gmt":"2025-04-30T02:39:20","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=15995"},"modified":"2025-05-07T08:13:51","modified_gmt":"2025-05-06T23:13:51","slug":"2%ea%b0%9c%ec%9d%98-%eb%aa%a8%ec%96%91-%ed%95%a8%ec%88%98%eb%a5%bc-smooth%ed%95%98%ea%b2%8c-%ec%84%9e%eb%8a%94-%eb%b0%a9%eb%b2%95smooth-min-max","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=15995","title":{"rendered":"2\uac1c\uc758 \ubaa8\uc591 \ud568\uc218\ub97c smooth\ud558\uac8c \uc11e\ub294 \ubc29\ubc95(smooth min\/max)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.gisdeveloper.co.kr\/wp-content\/uploads\/2025\/05\/\u1109\u1173\u110f\u1173\u1105\u1175\u11ab\u1109\u1163\u11ba-2025-05-02-08.34.12.png\" alt=\"\" width=\"3456\" height=\"2158\" class=\"aligncenter size-full wp-image-15996\" \/><\/p>\n<p>\uc704\uc5d0\uc11c a\uc640 b\ub294 \ubaa8\uc591 \ud568\uc218(Shape Function)\uc778\ub370, a\uc640 b\uc758 \uac12\uc5d0 \ub300\ud55c min \ub610\ub294 max \uac12\uc744 \ucde8\ud558\uba74 a\uc640 b\ub97c \ud558\ub098\ub85c \uc11e\uc744 \uc218 \uc788\ub2e4. \uadf8\ub7f0\ub370 a\uc640 b\uc758 \uad50\ucc28\uc810\uc5d0\uc11c \ub9e4\uc6b0 \ub0a0\uce74\ub86d\uac8c \uc11e\uc774\uac8c \ub418\ub294\ub370, \uc774\ub97c \ubd80\ub4dc\ub7fd\uac8c \uc11e\uc740 \uac83\uc774 \uc138\ubc88\uc9f8 \ud568\uc218\uc758 \uacb0\uacfc\uc774\ub2e4. \uc138\ubc88\uc9f8 \ud568\uc218\ub97c \ubcf4\uba74 k, h, m\uc73c\ub85c \uad6c\uc131\ub418\ub294\ub370 \uc774 \uc911 k\uc758 \uac12\uc5d0 \ub530\ub77c \uc5bc\ub9c8\ub098 \ubd80\ub4dc\ub7fd\uac8c \uc11e\uc744 \uac83\uc778\uc9c0 \uacb0\uc815\ud55c\ub2e4. k \uac12\uc774 \uc74c\uc218\uc77c\ub54c max \uac12\uc73c\ub85c \uc11e\uace0 \uc591\uc218\uc77c\ub54c min \uac12\uc73c\ub85c \uc11e\ub294\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"glsl\">\r\nfloat smin(float a, float b, float k) {\r\n  float h = clamp(.5 + .5 * (b - a) \/ k, 0., 1.);\r\n  return mix(b, a, h) - k * h * (1. - h);\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\uc704\uc5d0\uc11c a\uc640 b\ub294 \ubaa8\uc591 \ud568\uc218(Shape Function)\uc778\ub370, a\uc640 b\uc758 \uac12\uc5d0 \ub300\ud55c min \ub610\ub294 max \uac12\uc744 \ucde8\ud558\uba74 a\uc640 b\ub97c \ud558\ub098\ub85c \uc11e\uc744 \uc218 \uc788\ub2e4. \uadf8\ub7f0\ub370 a\uc640 b\uc758 \uad50\ucc28\uc810\uc5d0\uc11c \ub9e4\uc6b0 \ub0a0\uce74\ub86d\uac8c \uc11e\uc774\uac8c \ub418\ub294\ub370, \uc774\ub97c \ubd80\ub4dc\ub7fd\uac8c \uc11e\uc740 \uac83\uc774 \uc138\ubc88\uc9f8 \ud568\uc218\uc758 \uacb0\uacfc\uc774\ub2e4. \uc138\ubc88\uc9f8 \ud568\uc218\ub97c \ubcf4\uba74 k, h, m\uc73c\ub85c \uad6c\uc131\ub418\ub294\ub370 \uc774 \uc911 k\uc758 \uac12\uc5d0 \ub530\ub77c \uc5bc\ub9c8\ub098 \ubd80\ub4dc\ub7fd\uac8c \uc11e\uc744 \uac83\uc778\uc9c0 \uacb0\uc815\ud55c\ub2e4. k \uac12\uc774 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=15995\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;2\uac1c\uc758 \ubaa8\uc591 \ud568\uc218\ub97c smooth\ud558\uac8c \uc11e\ub294 \ubc29\ubc95(smooth min\/max)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-15995","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/15995","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15995"}],"version-history":[{"count":5,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/15995\/revisions"}],"predecessor-version":[{"id":16009,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/15995\/revisions\/16009"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15995"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}