<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6995465190464295681</id><updated>2011-11-27T17:02:52.425-08:00</updated><category term='PFTrack'/><category term='after effects'/><category term='Nuke'/><category term='Shave and a Haircut'/><category term='RenderMan'/><category term='3Delight'/><category term='tracking'/><category term='Pixar'/><title type='text'>Artslan</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>52</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-1942389286390425940</id><published>2011-09-19T03:21:00.000-07:00</published><updated>2011-09-19T03:24:55.628-07:00</updated><title type='text'>Crop Comp To Region Of Interest</title><content type='html'>ในกรณีที่เราใช้ Crop Comp To Region Of Interest มักจะทำให้ตัวละครของเราขยับออกจาก Compose เดิม&lt;br /&gt;ดังนั้นก่อนที่จะ Crop Comp To Region Of Interest ควรย้าย Anchor Point ก่อนก็จะทำให้ Compose ไม่เปลี่ยนไปมากครับ&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://www.youtube.com/embed/KJ1pX0fSChU" allowfullscreen="" frameborder="0" height="315" width="560"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-1942389286390425940?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/1942389286390425940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=1942389286390425940' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1942389286390425940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1942389286390425940'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2011/09/crop-comp-to-region-of-interest.html' title='Crop Comp To Region Of Interest'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/KJ1pX0fSChU/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-9162035697238255704</id><published>2011-04-29T23:54:00.001-07:00</published><updated>2011-04-29T23:55:48.301-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PFTrack'/><category scheme='http://www.blogger.com/atom/ns#' term='tracking'/><title type='text'>Tracker, Pattern area, Search area</title><content type='html'>&lt;p style="clear: both"&gt;มารู้กันก่อนครับว่าแต่ละคำมันคืออะไรทำงานแบบไหน&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/TbuyKbc333I/AAAAAAAAAcA/fp4rgraonNg/s800/trkr.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/TbuyJnFlUAI/AAAAAAAAAb8/qCjpkrLLhjY/s800/trkr-thumb.jpg" height="302" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;Tracker ก็คือจุดที่เราจะติดตามการเคลื่อนที่ของมันควรเป็นจุดที่ high-contrast หรือก็คือจุดที่มันต่างกันมากๆน่ะเอง&lt;br /&gt;Pattern area ก็คือบริเวณพื้นที่สี่เหลี่ยมที่คลอบคลุมจุด Tracker&lt;br /&gt;Search area ก็คือบริเวณพื้นที่สี่เหลี่ยมที่คลอบคลุม Pattern area อีกทีนึง&lt;/p&gt;&lt;p style="clear: both"&gt;จะเห็นว่ามันสัมพันธ์กันจากจุด track แล้วกระจายพิ้นที่คำนวณออกด้านนอก&lt;br /&gt;ดังนั้น เมื่อจากรูปด้านบนควรวาง Pattern กับ Search area ใหม่จะได้เป็นแบบนี้&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/TbuyLzhh1dI/AAAAAAAAAcI/eFYMU3n41BA/s800/trkr2.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/TbuyLX41U0I/AAAAAAAAAcE/YGQ_q6vZlec/s800/trkr2-thumb.jpg" height="360" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;จะทำให้คำนวณได้แม่นแล้วก็ไวด้วยครับ&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-9162035697238255704?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/9162035697238255704/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=9162035697238255704' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/9162035697238255704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/9162035697238255704'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2011/04/tracker-pattern-area-search-area.html' title='Tracker, Pattern area, Search area'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_Zg02Bij5lSU/TbuyJnFlUAI/AAAAAAAAAb8/qCjpkrLLhjY/s72-c/trkr-thumb.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-3877530918333713918</id><published>2011-02-15T06:03:00.000-08:00</published><updated>2011-02-17T21:27:00.218-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='after effects'/><title type='text'>Skip Frames</title><content type='html'>&lt;p style="clear: both"&gt;การทำอะไรที่คล้ายๆการทำ Stop Motion ในหลายๆวิธี ไม่ว่าจะลด frame rate ฯลฯ&lt;/p&gt;&lt;p style="clear: both"&gt;ถ้าจะไม่ไปยุ่งกับ Frame rate ของ Comp ที่ทำงานอยู่ มีวิธีหนึ่งคือการ Skip frame&lt;/p&gt;&lt;p style="clear: both"&gt;ให้ skipFrame คือ เฟรมที่เราจะยกทิ้ง หรือไม่ rander ออกไป หน่วยเป็น frame&lt;br /&gt;เรารู้ว่า &lt;/p&gt;&lt;blockquote style="clear: both"&gt;&lt;p style="clear: both"&gt;fps * thisComp.frameDuration = 1.0 frame ----------&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="clear: both"&gt;fps มีหน่วยเป็น frame/sec&lt;br /&gt;thisComp.frameDuration มีหน่วยเป็น sec&lt;/p&gt;&lt;p style="clear: both"&gt;ดังนั้น cD = skipFrame * thisComp.frameDuration ก็จะได้เวลาทั้งหมดเป็น frame.sec หรือเฟรม.วินาที&lt;/p&gt;&lt;p style="clear: both"&gt;หรือก็คือ cD คือ จำนวน เฟรมคูณกับเวลา ทั้งหมด&lt;/p&gt;&lt;p style="clear: both"&gt;Math.round() คือเอาค่าที่ใกล้ที่สุดที่เป็นจำนวนเต็มได้มาใช้เช่น&lt;br /&gt;คำนวนออกมาได้ วิที่ 1.7 วินาที เราก็จะเอา วิที่ 2 มาใช้ หรือ ได้วิที่ 5.2 เราก็จะเอาวิที่ 5 มาใช้ เป็นต้น นี่คือหน้าที่ของ Math.round ภาษาคนก็คือเอาค่าที่ใกล้จำนวนเต็มน่ะแหละ&lt;br /&gt;&lt;br /&gt;ให้ Result คือผลลัพท์ทั้งหมดก่อนที่เราจะไปทำ timeRemap&lt;br /&gt;time มีหน่วยเป็น sec. หรือ วินาที&lt;br /&gt;cD มีหน่วยเป็น frame.sec&lt;br /&gt;ก็จะได้&lt;/p&gt;&lt;blockquote style="clear: both"&gt;&lt;p style="clear: both"&gt;Result = Math.round(time/cD)*cD หน่วยเป็นวินาที&lt;/p&gt;&lt;p style="clear: both"&gt;ต่อมาก็เอาใส่ timeRemap = Result;&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="clear: both"&gt;เบ็ดเสร็จก็จะได้ Expression ดังนี้&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;blockquote style="clear: both"&gt;&lt;p style="clear: both"&gt;skipFrame = 3;&lt;/p&gt;&lt;p style="clear: both"&gt;cD = skipFrame* thisComp.frameDuration;&lt;/p&gt;&lt;p style="clear: both"&gt;Result = Math.round(time/cD)*cD;&lt;/p&gt;&lt;p style="clear: both"&gt;timeRemap = Result;&lt;/p&gt;&lt;/blockquote&gt;&lt;p style="clear: both"&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://www.mediafire.com/?103hyfry4gc08ov" title="StopMotionLike" target="_blank"&gt;Download&lt;/a&gt; ตัวอย่างไปดูคู่กันด้วยนะ อันนี้เป็น CS5 นะ&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-3877530918333713918?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/3877530918333713918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=3877530918333713918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3877530918333713918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3877530918333713918'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2011/02/skip-frames.html' title='Skip Frames'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-2412454555382681368</id><published>2011-01-15T13:29:00.000-08:00</published><updated>2011-01-14T22:31:31.160-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='after effects'/><title type='text'>เข้าใจเรื่อง Expressions กับ JAVAScripts บน After Effects อีกสักนิด</title><content type='html'>&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/TTE-0RhO8zI/AAAAAAAAAbs/4KDlObIgUG4/s800/Screen_shot_2011-01-15_at_1-full.06.55_PM.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/TTE-zYZA-TI/AAAAAAAAAbo/QPnpYBk229M/s800/Screen_shot_2011-01-15_at_1-thumb.06.55_PM.jpg" height="346" align="left" width="379" style=" display: inline; float: left; margin: 0 10px 10px 0;" /&gt;&lt;/a&gt;&lt;br /&gt;ขึ้น topic มาแบบนี้เพราะเห็นว่าหลายคนเข้าใจผิดอย่างรุนแรงเลยว่า&lt;br /&gt;" ถ้าใช้ Expressions หรือ JAVAScripts หรือทั้งคู่ จะทำให้ เครื่องใช้พลังคำนวณมากกว่าการใช้ Keyframe ในการเปลี่ยนค่า parameter (เช่น position, rotation ฯลฯ) จากเวลาหนึ่งไปสู่เวลาหนึ่ง "&lt;br /&gt;&lt;br /&gt;ที่จริงมันเป็นการทำให้ After Effects คำนวณได้เร็วขึ้น ดังนั้นใน Shot ที่เหมาะสม สามารถใช้ได้เท่าที่อยากจะใช้เลยไม่ว่าจะเป็น Expressions หรือ JAVAScripts หรือทั้งคู่&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;Shot ที่เหมาะสมเป็นยังไง ?&lt;br /&gt;ก็เช่น Shot ที่ต้องการให้มีการหมุนไป-กลับ ทำมุม 45 ̊ เรื่อยๆก็ใส่ transform.rotation = Math.sin(time)*45;&lt;/p&gt;&lt;p style="clear: both"&gt;แบบนี้ดีกว่าไป keyframes ซึ่งนอกจากจะช้าแล้วยังเป็นการเพื่มภาระในการคำนวณของ After Effects และเครื่อง(รวมไปถึงตัวเราเองด้วย) ด้วย เพราะมันต้องคำนวณไปตลอด timeline&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;ยกตัวอย่างอีกอันนึงให้ Polygon Mesh เป็นการทำ Keyframe&lt;br /&gt;ให้ NURBS เป็นการใช้ Expressions หรือ JAVAScripts&lt;/p&gt;&lt;p style="clear: both"&gt;ถ้า Model ที่เราปั้นแบบละเอียดสุดๆยิบๆๆเลย ตอนหมุน Viewport จะเห็นว่า Polygon ไปยากกว่า NURBS&lt;br /&gt;ยิ่งถ้าเป็นคนที่อยู่ในยุค 3D แรกๆแล้วจะเห็นว่า ปั้น freeform บน NURBS ง่ายกว่า Polygon เพราะจุดมันน้อยกว่า&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;** Animation = การเปลี่ยนค่า parameter(s) (เช่น position, rotation ฯลฯ) จากเวลาหนึ่งไปสู่เวลาหนึ่ง **&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-2412454555382681368?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/2412454555382681368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=2412454555382681368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2412454555382681368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2412454555382681368'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2011/01/expressions-javascripts-after-effects.html' title='เข้าใจเรื่อง Expressions กับ JAVAScripts บน After Effects อีกสักนิด'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_Zg02Bij5lSU/TTE-zYZA-TI/AAAAAAAAAbo/QPnpYBk229M/s72-c/Screen_shot_2011-01-15_at_1-thumb.06.55_PM.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-1393196178824419608</id><published>2010-11-15T18:59:00.000-08:00</published><updated>2010-11-14T19:47:41.226-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nuke'/><title type='text'>DepthGenerator</title><content type='html'>การใช้ Depth Gen. Node และ Displace 2D image ใน Nuke's 3D space&lt;br /&gt;&lt;br /&gt;&lt;object height="385" width="480"&gt;&lt;param name="movie" value="http://www.youtube.com/v/GkmyGXpr8Qw?fs=1&amp;amp;hl=en_US&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/GkmyGXpr8Qw?fs=1&amp;amp;hl=en_US&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="385" width="480"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height="385" width="480"&gt;&lt;param name="movie" value="http://www.youtube.com/v/jeVh98mjv34?fs=1&amp;amp;hl=en_US&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/jeVh98mjv34?fs=1&amp;amp;hl=en_US&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="385" width="480"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-1393196178824419608?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/1393196178824419608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=1393196178824419608' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1393196178824419608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1393196178824419608'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/11/depthgenerator.html' title='DepthGenerator'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-7841649527902336735</id><published>2010-11-01T01:19:00.000-07:00</published><updated>2010-11-01T01:19:00.265-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='after effects'/><title type='text'>การใช้ JAVAScript Math เบื้องต้น</title><content type='html'>&lt;object width="960" height="745"&gt;&lt;param name="movie" value="http://www.youtube.com/v/iqjDFXnbdbU?fs=1&amp;amp;hl=en_US&amp;amp;rel=0&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&amp;amp;hd=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/iqjDFXnbdbU?fs=1&amp;amp;hl=en_US&amp;amp;rel=0&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6&amp;amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-7841649527902336735?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/7841649527902336735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=7841649527902336735' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7841649527902336735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7841649527902336735'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/11/javascript-math.html' title='การใช้ JAVAScript Math เบื้องต้น'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-4494882053151033862</id><published>2010-10-15T01:17:00.000-07:00</published><updated>2010-10-15T01:17:00.210-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='after effects'/><title type='text'>การใช้ animate wiggle value และการใช้ temporalWiggle</title><content type='html'>&lt;object width="960" height="745"&gt;&lt;param name="movie" value="http://www.youtube.com/v/8_OZ3yjsIMA?fs=1&amp;amp;hl=en_US&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01&amp;amp;hd=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/8_OZ3yjsIMA?fs=1&amp;amp;hl=en_US&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01&amp;amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-4494882053151033862?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/4494882053151033862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=4494882053151033862' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4494882053151033862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4494882053151033862'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/10/animate-wiggle-value-temporalwiggle.html' title='การใช้ animate wiggle value และการใช้ temporalWiggle'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-3408363520823456770</id><published>2010-10-01T04:07:00.000-07:00</published><updated>2010-10-01T04:07:00.086-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><category scheme='http://www.blogger.com/atom/ns#' term='Pixar'/><title type='text'>Occlusion ใน PRMan</title><content type='html'>&lt;p style="clear: both;"&gt;หลังจากเราทำ Raytrace บน 3Delight ไปแล้ว ก็ลองมาทำบน PRMan ดูบ้าง&lt;br /&gt;ในที่นี้จะเป็นการใช้ Slim สร้างขึ้นมา&lt;/p&gt;&lt;p style="clear: both;"&gt;ตอนแรกก็สร้าง Scene ง่ายๆขึ้นมา&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4Jlts9GIxI/AAAAAAAAASc/jcO_fGYBDcI/s800/01-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4JltMHVR0I/AAAAAAAAASY/EMY4KyCUKSY/s800/01-thumb.jpg" style="text-align: center; display: block; margin: 0pt auto 10px;" width="380" height="285" /&gt;&lt;/a&gt;ต่อมาก็สร้าง Ensamble ขึ้นมา แล้วก็ Connect Constant&amp;gt;Spline&amp;gt;Occlusion ดังรูป&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4JlxwKwIWI/AAAAAAAAASk/eygN_iIc34k/s800/02-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4JluW0k_eI/AAAAAAAAASg/VbsvdeB7wTA/s800/02-thumb.jpg" style="text-align: center; display: block; margin: 0pt auto 10px;" width="380" height="285" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4JlzGJghvI/AAAAAAAAASw/459cGFrS09U/s800/03-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4JlyrUMvcI/AAAAAAAAASs/WZV9t_xdTZ4/s800/03-thumb.jpg" style="text-align: center; display: block; margin: 0pt auto 10px;" width="380" height="285" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4Jl0MtQW-I/AAAAAAAAAS4/qMxpUT74XrE/s800/1-full1.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S4Jlzv5p0rI/AAAAAAAAAS0/jl_PLQzozdY/s800/1-thumb1.jpg" style="text-align: center; display: block; margin: 0pt auto 10px;" width="380" height="285" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4Jl1Nds4EI/AAAAAAAAATA/oOga6aodsy8/s800/05-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S4Jl0q49oxI/AAAAAAAAAS8/bTsKCYsRwgg/s800/05-thumb.jpg" style="text-align: center; display: block; margin: 0pt auto 10px;" width="380" height="285" /&gt;&lt;/a&gt;ปรับ Sample สัก 1024 แล้วก็เปิด Raytracing&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4Jl2c5KxpI/AAAAAAAAATI/VbslfP2Kw-s/s800/06-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4Jl1yK-U_I/AAAAAAAAATE/whVwAyJ8MCM/s800/06-thumb.jpg" style="text-align: center; display: block; margin: 0pt auto 10px;" width="380" height="285" /&gt;&lt;/a&gt;ที่ Reyes ปรับ Shading Rate เป็น 1 ลอง Render ดูก็จะได้ Occ เนียนๆแบบนี้&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4Jl3PHr3gI/AAAAAAAAATQ/bHNxCRKd9NY/s800/08-full1.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4Jl264vXnI/AAAAAAAAATM/L3njFMDbD84/s800/08-thumb1.jpg" style="text-align: center; display: block; margin: 0pt auto 10px;" width="380" height="285" /&gt;&lt;/a&gt;ถ้าเราลองปรับ สีของ Spline ดู ก็สามารถทำ Fake Diffuse Global Illumination (Colour Bleeding) ได้ด้วยนะ&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4Jl4XY6ZFI/AAAAAAAAATY/U3uwAqKbpX0/s800/09-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4Jl3xYriCI/AAAAAAAAATU/5zfs9BmIgSY/s800/09-thumb.jpg" style="text-align: center; display: block; margin: 0pt auto 10px;" width="380" height="285" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4Jl5furR8I/AAAAAAAAATg/-VNlTDaxun4/s800/10-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S4Jl4zKsv3I/AAAAAAAAATc/SBhqldbzDU4/s800/10-thumb.jpg" style="text-align: center; display: block; margin: 0pt auto 10px;" width="380" height="285" /&gt;&lt;/a&gt;Occlusion ใน PRMan&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-3408363520823456770?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/3408363520823456770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=3408363520823456770' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3408363520823456770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3408363520823456770'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/10/occlusion-prman.html' title='Occlusion ใน PRMan'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_Zg02Bij5lSU/S4JltMHVR0I/AAAAAAAAASY/EMY4KyCUKSY/s72-c/01-thumb.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-4751261571719097528</id><published>2010-09-15T09:01:00.000-07:00</published><updated>2010-09-15T09:01:01.005-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3Delight'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><title type='text'>การ Render RIB files</title><content type='html'>&lt;p style="clear: both;"&gt;ก็จะเป็นการแนะการ render RIB files ที่เรา save เอาไว้ ก็สามารถนำไป render เครื่องใดก็ได้ที่ลง 3Delight เอาไว้ ก็ค่อนข้างสะดวกเลยทีเดียว ตอน render ก็สามารถใช้พลังเครื่องได้อย่างเต็มสูบ&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/O6PUBymHlMc&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/O6PUBymHlMc&amp;amp;hl=en_US&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both;"&gt;** กรณีตรงที่มันฟ้องที่ Command Line ว่า&lt;/p&gt;&lt;p style="clear: both;"&gt;3DL WARING D2045: PixelFilter reset to 'box' 1x1 (display driver requirement)&lt;/p&gt;&lt;p style="clear: both;"&gt;เนื่องจากใน scene ผมมีการใช้ Shadow แบบ Deep Shadow มันจึงต้อง render shadowmap ด้วย แต่มันจะไม่ reset ที่ Beauty ครับ ดังนั้นถ้าเราเลือก Catmull-Rom ก็จะใช้ Catmull-Rom&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-4751261571719097528?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/4751261571719097528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=4751261571719097528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4751261571719097528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4751261571719097528'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/09/render-rib-files.html' title='การ Render RIB files'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-1829585031058062832</id><published>2010-09-01T06:51:00.000-07:00</published><updated>2010-09-01T06:51:00.199-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3Delight'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><title type='text'>การใช้ Coordinate System ใน 3delight</title><content type='html'>&lt;p style="clear: both;"&gt;หลังจาที่เราได้ลองทำ IBL กันไปแล้วที่ บทความ Image Base Lighting [IBL] บน 3Delight &lt;/p&gt;&lt;p style="clear: both;"&gt; ทีนี้เราจะมาลองใช้ Coordinate System เพื่อเปลี่ยนทิศทางของแสงจาก HDRi ที่เราได้จากการทำเป็น .tdl จาก .hdr&lt;/p&gt;&lt;p style="clear: both;"&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/e9jr6nfWe7U&amp;amp;hl=en_US&amp;amp;fs=1?color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/e9jr6nfWe7U&amp;amp;hl=en_US&amp;amp;fs=1?color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-1829585031058062832?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/1829585031058062832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=1829585031058062832' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1829585031058062832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1829585031058062832'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/09/coordinate-system-3delight.html' title='การใช้ Coordinate System ใน 3delight'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-5414096238295182912</id><published>2010-08-15T07:41:00.000-07:00</published><updated>2010-08-14T21:41:13.847-07:00</updated><title type='text'>Basic using Ultimatte Keyer in NUKE</title><content type='html'>ก็จะเป็นการใช้งาน Ultimatte Keyer ที่เป็นตัว Keying ที่มีเข้ามาใหม่ใน NUKE 6.1v1 นี้นะครับ&lt;br /&gt;&lt;br /&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/i0FpK1Wq8Ow&amp;amp;hl=en_US&amp;amp;fs=1?color1=0xe1600f&amp;amp;color2=0xfebd01"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/i0FpK1Wq8Ow&amp;amp;hl=en_US&amp;amp;fs=1?color1=0xe1600f&amp;amp;color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-5414096238295182912?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/5414096238295182912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=5414096238295182912' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/5414096238295182912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/5414096238295182912'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/08/basic-using-ultimatte-keyer-in-nuke.html' title='Basic using Ultimatte Keyer in NUKE'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-8459738975763604208</id><published>2010-08-01T08:52:00.000-07:00</published><updated>2010-08-12T02:52:03.692-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3Delight'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><title type='text'>การใช้ CSG ใน 3Delight</title><content type='html'>&lt;p style="clear: both;"&gt;CSG หรือ Constructive Solid Geometry มันก็คล้ายๆกับ Boolean นะครับมี Union, Different, Intersection&lt;br /&gt;ก็มาดูวิธีการใช้กัน ไม่ยากครับ&lt;/p&gt;&lt;p style="clear: both;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/_DUznsl_rzQ&amp;amp;hl=en_US&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/_DUznsl_rzQ&amp;amp;hl=en_US&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-8459738975763604208?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/8459738975763604208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=8459738975763604208' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8459738975763604208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8459738975763604208'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/08/csg-3delight.html' title='การใช้ CSG ใน 3Delight'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-8419855909172296245</id><published>2010-07-15T23:01:00.000-07:00</published><updated>2010-07-15T23:01:00.834-07:00</updated><title type='text'>Breakdown Lion</title><content type='html'>&lt;div&gt;My short breakdown for TVCs Generali (Thailand)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;All model and animate in Maya and render image used 3Delight with my custom shaders I wrote for the job&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Software used Autodesk Maya, 3Delight, Shave and a Hair Cut. composite on Adobe After Effects&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.updatepic.com/out.php/i24826_snapSetup.jpg" target="_blank"&gt;&lt;img src="http://www.updatepic.com/out.php/t24826_snapSetup.jpg" alt="Free Image Hosting At site" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/RiOjVMvxHJ4&amp;amp;hl=en_US&amp;amp;fs=1?rel=0"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/RiOjVMvxHJ4&amp;amp;hl=en_US&amp;amp;fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/9PR5HU4k7oQ&amp;amp;hl=en_US&amp;amp;fs=1?rel=0"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/9PR5HU4k7oQ&amp;amp;hl=en_US&amp;amp;fs=1?rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-8419855909172296245?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/8419855909172296245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=8419855909172296245' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8419855909172296245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8419855909172296245'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/07/breakdown-lion.html' title='Breakdown Lion'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-2925764526905525783</id><published>2010-07-02T02:49:00.000-07:00</published><updated>2010-07-02T02:49:00.172-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nuke'/><title type='text'>Fade บน Nuke</title><content type='html'>&lt;p style="clear: both"&gt;ใครที่ใช้ Shake มาก่อน Fade Node นี่จะได้ใช้กันอยู่ตลอด แต่พอบน Nuke ไม่มีแล้วจะทำไงดี ใช้ลด Brightness ก็ไม่สวย&lt;/p&gt;&lt;p style="clear: both"&gt;เนื่องจากเรารู้วา fade ก็คือการ Multiply Channel RGBA ระหว่างค่า 0-1 [0-255 บน 8-bit หรือ 0-1023 บน log ] น่ะเอง&lt;br /&gt;* ซึ่งถ้าเราใช้ Brightness มันจะ Multiply แค่ RGB *&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;ดังนั้นเราก็สร้าง Multiply Node ขึ้นมา&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3puPQxothI/AAAAAAAAAEA/lrh0AmsUgms/s800/Screen_shot_2010-02-16_at_4-full.52.28_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S3puPGnC4mI/AAAAAAAAAD8/Jkxhhod8G5Y/s800/Screen_shot_2010-02-16_at_4-thumb.52.28_PM.png" height="104" width="306" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ค่า Value ถ้า 0 ก็มืดไป ถ้า 1 ก็ค่า Original แต่ถ้ามากกว่า 1 สีมันจะเพื้ยนแล้วก็เอาแค่ 1 พอ&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3puQiJXlBI/AAAAAAAAAEI/oZeP5VeY2Vw/s800/Screen_shot_2010-02-16_at_4.54.48_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S3puQV0hGmI/AAAAAAAAAEE/p3sFR8FsDDE/s800/Screen_shot_2010-02-16_at_4-thumb.54.48_PM.png" height="158" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;span style=" text-align: center; display: block; margin: 0 auto 10px;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;object height="299" width="380"&gt;&lt;param name="movie" value="http://www.youtube.com/v/GubNUefKUFs&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00&amp;amp;hd=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/GubNUefKUFs&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00&amp;amp;hd=1" allowscriptaccess="always" height="299" width="380"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;นี่คือ Code ที่ใช้ใน VDO นี้&lt;/p&gt;&lt;p style="clear: both"&gt;set cut_paste_input [stack 0]&lt;br /&gt;version 6.0 v1&lt;br /&gt;ColorBars {&lt;br /&gt;inputs 0&lt;br /&gt;name ColorBars1&lt;br /&gt;selected true&lt;br /&gt;xpos -94&lt;br /&gt;ypos -54&lt;br /&gt;}&lt;br /&gt;Multiply {&lt;br /&gt;channels rgba&lt;br /&gt;value {{curve x1 0 x25 1}}&lt;br /&gt;mix {1}&lt;br /&gt;name Multiply1&lt;br /&gt;selected true&lt;br /&gt;xpos 16&lt;br /&gt;ypos -30&lt;br /&gt;}&lt;br /&gt;Dot {&lt;br /&gt;name Dot1&lt;br /&gt;selected true&lt;br /&gt;xpos 50&lt;br /&gt;ypos 43&lt;br /&gt;}&lt;br /&gt;ColorWheel {&lt;br /&gt;inputs 0&lt;br /&gt;gamma 0.45&lt;br /&gt;name ColorWheel1&lt;br /&gt;selected true&lt;br /&gt;xpos 315&lt;br /&gt;ypos -52&lt;br /&gt;}&lt;br /&gt;Multiply {&lt;br /&gt;channels rgba&lt;br /&gt;value {{curve x1 1 x25 0}}&lt;br /&gt;fringe true&lt;br /&gt;name Multiply2&lt;br /&gt;selected true&lt;br /&gt;xpos 205&lt;br /&gt;ypos -28&lt;br /&gt;}&lt;br /&gt;Dot {&lt;br /&gt;name Dot2&lt;br /&gt;selected true&lt;br /&gt;xpos 239&lt;br /&gt;ypos 43&lt;br /&gt;}&lt;br /&gt;Merge2 {&lt;br /&gt;inputs 2&lt;br /&gt;name Merge1&lt;br /&gt;selected true&lt;br /&gt;xpos 110&lt;br /&gt;ypos 40&lt;br /&gt;}&lt;br /&gt;Viewer {&lt;br /&gt;frame_increment 8&lt;br /&gt;input_process false&lt;br /&gt;name Viewer1&lt;br /&gt;selected true&lt;br /&gt;xpos 110&lt;br /&gt;ypos 100&lt;br /&gt;}&lt;/p&gt;&lt;p style="clear: both"&gt;นี่คือ Fade บน Nuke ครับ&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-2925764526905525783?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/2925764526905525783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=2925764526905525783' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2925764526905525783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2925764526905525783'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/07/fade-nuke.html' title='Fade บน Nuke'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_Zg02Bij5lSU/S3puPGnC4mI/AAAAAAAAAD8/Jkxhhod8G5Y/s72-c/Screen_shot_2010-02-16_at_4-thumb.52.28_PM.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-2828640254248516036</id><published>2010-06-15T21:13:00.000-07:00</published><updated>2010-06-15T21:13:00.227-07:00</updated><title type='text'>Set Matt บน Nuke</title><content type='html'>กรณีที่เรามี Sequence files อยู่สองชุดที่เป็น RGB ตัวหนึ่งกับ Mask a อีกตัวหนึ่ง เราจะสามารถนำมาใช้ได้โดยใช้ Shuffle Copy หรือ Copy นั่นเองครับ&lt;br /&gt;&lt;br /&gt;&lt;object width="960" height="745"&gt;&lt;param name="movie" value="http://www.youtube.com/v/x8xD-s3NktQ&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b&amp;amp;hd=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/x8xD-s3NktQ&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b&amp;amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="960" height="745"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-2828640254248516036?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/2828640254248516036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=2828640254248516036' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2828640254248516036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2828640254248516036'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/06/set-matt-nuke.html' title='Set Matt บน Nuke'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-7946778814748279222</id><published>2010-06-01T10:04:00.000-07:00</published><updated>2010-06-01T10:04:00.215-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3Delight'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><title type='text'>Curve Rendering บน 3Delight</title><content type='html'>&lt;p style="clear: both"&gt;&lt;span style=" display: inline; float: left; margin: 0 10px 10px 0;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;object height="299" width="380"&gt;&lt;param name="movie" value="http://www.youtube.com/v/LNyeTHzYFs4&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01&amp;amp;hd=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/LNyeTHzYFs4&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01&amp;amp;hd=1" allowscriptaccess="always" height="299" width="380"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;ปกติการ Render เส้น Curve นี่ ถ้า Render บน Maya Software จะ Render ไม่ออก แต่ถ้าเป็น RenderMan เช่น 3Delight จะสามารถ Render ออกมาได้ มาดูวิธี setup ง่ายๆกัน&lt;/p&gt;&lt;p style="clear: both"&gt;ก่อนอื่นก็สร้าง NURBs ขึ้นมา แล้วก็ Duplicate Surface Curve ดังรูป แล้วก็ลบ nurbsSphere1 ออกไปจาก Group เหลือแต่ Curve&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S37OsS8xosI/AAAAAAAAAPY/f_hFINS7dWg/s800/Screen_shot_2010-02-20_at_12-full.08.30_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S37OpMjMHOI/AAAAAAAAAPU/FQPc1jR40rM/s800/Screen_shot_2010-02-20_at_12-thumb.08.30_AM.png" height="186" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาก็เลือก Group nurbsSphere1 แล้วก็ ไปที่ 3Delight Attribs Node Manager กด Create แล้วก็ Attach ไปที่ Group&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S37OuXh1gxI/AAAAAAAAAPg/ExDyilsAN7U/s800/Screen_shot_2010-02-20_at_12-full.13.12_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S37OtVofYVI/AAAAAAAAAPc/LJOBLCBr1yA/s800/Screen_shot_2010-02-20_at_12-thumb.13.12_AM.png" height="258" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;เปิด 3Delight Relationship Editor ขึ้นมาแล้วก็คลิ๊คขวาค้าง เลือก show in ae&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S37OwKr3GWI/AAAAAAAAAPo/8ZVW1pD_pwM/s800/Screen_shot_2010-02-20_at_12-full.18.54_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S37OvZHz-sI/AAAAAAAAAPk/zlheWIBclLQ/s800/Screen_shot_2010-02-20_at_12-thumb.18.54_AM.png" height="198" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้วก็ Add All ไปที่ Geometry/Curve แล้วก็ติ๊ก Output Maya Curve&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S37OxcBVwCI/AAAAAAAAAPw/plk1IAh3wd0/s800/Screen_shot_2010-02-20_at_12-full.19.45_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S37Ow1GJR4I/AAAAAAAAAPs/DRslZhqqywI/s800/Screen_shot_2010-02-20_at_12-thumb.19.45_AM.png" height="334" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ตั้งค่าแบบรูปแล้วลอง Render ดู ก็จะได้ดังภาพ&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S37Oy2LF7nI/AAAAAAAAAP4/ROCy_DGLqhY/s800/untitled_delightRenderPass3-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S37OyL1TP7I/AAAAAAAAAP0/IeGNn4W4nns/s800/untitled_delightRenderPass3-thumb.jpg" height="285" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;Curve rendering บน 3Delight ครับ&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-7946778814748279222?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/7946778814748279222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=7946778814748279222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7946778814748279222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7946778814748279222'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/06/curve-rendering-3delight.html' title='Curve Rendering บน 3Delight'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_Zg02Bij5lSU/S37OpMjMHOI/AAAAAAAAAPU/FQPc1jR40rM/s72-c/Screen_shot_2010-02-20_at_12-thumb.08.30_AM.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-7404639925047170085</id><published>2010-05-14T00:50:00.000-07:00</published><updated>2010-05-14T00:50:00.384-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3Delight'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><title type='text'>Occlusion ใน 3Delight</title><content type='html'>&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S35DY7121NI/AAAAAAAAAOQ/HsqTd5Dt1Nc/s800/Occ_delightRenderPass1-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S35DYWGoAPI/AAAAAAAAAOM/7NfjDGZvtJs/s800/Occ_delightRenderPass1-thumb.jpg" height="285" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ก่อนอื่นก็โหลด Plugin 3Delight ขึ้นมาก่อน&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S35DZqStXYI/AAAAAAAAAOY/rGJFvjrz640/s800/Screen_shot_2010-02-19_at_2.29.54_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S35DZSg8SaI/AAAAAAAAAOU/jUvD31ZdBFg/s800/Screen_shot_2010-02-19_at_2-thumb.29.54_PM.png" height="81" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้วก็สร้าง Scene ง่ายๆขึ้นโดยประมาณมาดังรูป&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S35DdkzJ9-I/AAAAAAAAAOg/T8EO2tIsgDE/s800/Screen_shot_2010-02-19_at_2.31.22_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S35DcoBpfyI/AAAAAAAAAOc/iWNVHGuPylI/s800/Screen_shot_2010-02-19_at_2-thumb.31.22_PM.png" height="188" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;สร้าง Null ขึ้นมา เอาทุก model ใส่เข้าไปใน Group Null แล้วก็ Attach delightGeoAttribs แล้ก็เพื่ม Visibility ที่ Diffuse Rays (Occlusion) เป็น Shader Color &amp;amp; Opacity&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S35DfyJg1PI/AAAAAAAAAOo/9Ms49fXQpZ8/s800/Screen_shot_2010-02-19_at_2-full.36.20_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S35DetkrEFI/AAAAAAAAAOk/NMjgKG48XNU/s800/Screen_shot_2010-02-19_at_2-thumb.36.20_PM.png" height="227" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;สร้าง AmbientLight ขึ้นมาแล้วก็ Attach Occlight Shader เข้าไป แล้วก็ปรับค่าดังรูป&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S35Di3evH8I/AAAAAAAAAOw/5y8uUzzrnMk/s800/Screen_shot_2010-02-19_at_2-full.40.43_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S35DgorvDfI/AAAAAAAAAOs/bwGSFy6hXHY/s800/Screen_shot_2010-02-19_at_2-thumb.40.43_PM.png" height="240" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมา Attach Imager Shader ไปที่กล้อง Perps [หรือสร้างกล้องใหม่มาก็ได้] ดังรูป&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S35Dl3zoJ8I/AAAAAAAAAO4/7R1v6A_FuJ0/s800/Screen_shot_2010-02-19_at_2-full.42.53_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S35Dj03URbI/AAAAAAAAAO0/xoQYTNHtaVE/s800/Screen_shot_2010-02-19_at_2-thumb.42.53_PM.png" height="238" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ลอง Render ดูก็จะได้ภาพดังนี้&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S35Dn0qVBbI/AAAAAAAAAPA/aZAHDvlawFM/s800/Screen_shot_2010-02-19_at_2-full.45.50_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S35DmpqrjrI/AAAAAAAAAO8/vO1XQFCPw9M/s800/Screen_shot_2010-02-19_at_2-thumb.45.50_PM.png" height="261" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ลองปรับ Sample ของ occlight ไป 1024 แล้ว Render ก็จะได้เนียนๆแบบรูปแรกด้านบน&lt;/p&gt;&lt;p style="clear: both"&gt;นี่ก็คือ Occlusion&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-7404639925047170085?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/7404639925047170085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=7404639925047170085' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7404639925047170085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7404639925047170085'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/05/occlusion-3delight.html' title='Occlusion ใน 3Delight'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_Zg02Bij5lSU/S35DYWGoAPI/AAAAAAAAAOM/7NfjDGZvtJs/s72-c/Occ_delightRenderPass1-thumb.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-7163032670432508319</id><published>2010-05-01T13:24:00.000-07:00</published><updated>2010-05-01T18:00:38.752-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3Delight'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><title type='text'>Image Base Lighting [IBL] บน 3Delight</title><content type='html'>&lt;p style="clear: both"&gt;ตอนแรกก็ Start License ก่อน&lt;br /&gt;ต่อมาก็หาไฟล์ HDR มา แล้วก็ทำให้อยู่ในรูปที่ 3Delight รู้จักโดยการ Convert เป็น .tdl ครับ&lt;br /&gt;โดยใช้คำสั่ง tdlmake ใน Terminal ก็จะเป็น&lt;/p&gt;&lt;p style="clear: both"&gt;tdlmake kitchen_probe.hdr kitchen_probe.tdl&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"  style="color:#0000EE;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;เราก็จะได้ไฟล์ kitchen_probe.tdl มา&lt;br /&gt;สร้าง Scene ง่ายๆขึ้นมาดังรูป ก็จะมี polySphere, polyCube และ nurbsPlane&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3xRF_QcO3I/AAAAAAAAAKc/SQFYTf-paDs/s800/Screen_shot_2010-02-18_at_2.39.17_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3xRFMHpQHI/AAAAAAAAAKY/mRZkEwWGq7A/s800/Screen_shot_2010-02-18_at_2-thumb.39.17_AM.png" height="311" width="379" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;สร้าง null ขึ้นมาแล้วใส่ polySphere, polyCube และ nurbsPlane เข้าไปใน Group&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3xRG7fN12I/AAAAAAAAAKk/_vs30sTaBFw/s800/Screen_shot_2010-02-18_at_2.39.29_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3xRGqnRFbI/AAAAAAAAAKg/y4r862WVAME/s800/Screen_shot_2010-02-18_at_2-thumb.39.29_AM.png" height="81" width="258" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;เลือก null ที่สร้างแล้วก็ Create delightGeoAttribs1 แล้วก็ Attach ไปที่ null&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3xRIr3FdsI/AAAAAAAAAKs/3UkHjnvqAC8/s800/Screen_shot_2010-02-18_at_2.43.38_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S3xRIJ1GByI/AAAAAAAAAKo/r73cmXdlv44/s800/Screen_shot_2010-02-18_at_2-thumb.43.38_AM.png" height="151" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาก็สร้าง ambientLight ขึ้นมา แล้วเปิด 3Delight Assignment ขึ้นมา กด "texture" [ที่อยู่หน้า AE] แล้ว Shader Selector จะขึ้นมาเลือก envlight2&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3xRLStRnNI/AAAAAAAAAK0/wpIBODxnm58/s800/Screen_shot_2010-02-18_at_2-full.53.13_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3xRJnbl4YI/AAAAAAAAAKw/GJzY9Q9zVXg/s800/Screen_shot_2010-02-18_at_2-thumb.53.13_AM.png" height="250" width="379" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;กด AE ก็จะเจอ Attribute ของ envlight2&lt;br /&gt;ที่ envmap ก็ใส่ kitchen_probe.tdl เข้าไป แล้วตั้งค่าต่างๆดังรูป&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3xRN_B7VEI/AAAAAAAAAK8/NBTPEzNu-dA/s800/Screen_shot_2010-02-18_at_3.12.26_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3xRMmudSOI/AAAAAAAAAK4/Hc7aZsg8cdQ/s800/Screen_shot_2010-02-18_at_3-thumb.12.26_AM.png" height="498" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ลองกด Render ดูก็จะได้&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3xRPPbKNpI/AAAAAAAAALE/TJb9YkmAYvI/s800/IBL_delightRenderPass1-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S3xRO6dpJjI/AAAAAAAAALA/JisquFr2jBc/s800/IBL_delightRenderPass1-thumb.jpg" height="285" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ก็ลองๆปรับค่าไป นี่ก็คือ IBL บน 3Delight&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-7163032670432508319?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/7163032670432508319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=7163032670432508319' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7163032670432508319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7163032670432508319'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/05/image-base-lighting-ibl-3delight.html' title='Image Base Lighting [IBL] บน 3Delight'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_Zg02Bij5lSU/S3xRFMHpQHI/AAAAAAAAAKY/mRZkEwWGq7A/s72-c/Screen_shot_2010-02-18_at_2-thumb.39.17_AM.png' height='72' width='72'/><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-943585292547249355</id><published>2010-04-13T10:27:00.000-07:00</published><updated>2010-04-13T10:27:00.222-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nuke'/><title type='text'>แก้ Noise ด้วย F_DeNoise ใน NukeX 6</title><content type='html'>&lt;p style="clear: both"&gt;จากบทความนี้ &lt;a href="http://artslan.blogspot.com/2010/02/day-for-night.html" target="_blank"&gt;Day For Night&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;br /&gt;"ทำไมต้องมานั่งทำกลางวันให้เป็นกลางคืนหรือ Day For Night ด้วย ตอนถ่ายก็ถ่ายทำตอนกลางคืนไปเลยไม่ดีกว่าเหรอ ?" &lt;/p&gt;&lt;p style="clear: both"&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;ทำไมต้องทำ Day For Night ? เพราะมันมีเหตุผลที่ต้องทำเพื่อเลี่ยง Noise ! &lt;/p&gt;&lt;p style="clear: both"&gt;ในโลกของ Digital เนี่ยที่ฮิตๆเลยก็ Panasonic P2 ถ้าในสภาพแสงน้อยมันจะเกิด Noise เลย ตัวที่มันจะทำให้เกิด Noise มันมีหลักๆอยู่ 2 ตัว &lt;/p&gt;&lt;p style="clear: both"&gt;&lt;em&gt;t-Stop &lt;/em&gt;รูรับแสงที่อยู่หน้า Len คือตัว P+S Technik นี่แหละ[จริงๆมันคือชื่อยี่ห้อ]&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;em&gt;f-Stop &lt;/em&gt;รูรับแสงของกล้อง&lt;/p&gt;&lt;p style="clear: both"&gt;ซึ่งตากล้อง/ผู้ช่วยกล้อง/ผู้กำกับแสงเก่งๆ จะช่วยลดปัญหานี้ไปได้เยอะ&lt;/p&gt;&lt;p style="clear: both"&gt;ยังไงก็จะไม่ลงลึกล่ะ เอาเป็นว่าพอเกิด Noise แล้วก็ต้องมาแก้กันตอน Post อยู่ดี&lt;/p&gt;&lt;p style="clear: both"&gt;ใน NukeX 6 นี้จะมี FurnaceCore มาให้ใช้แก้ปัญหาที่พบบ่อยๆ ในกรณีนี้ก็คือ F_DeNoise นี่เพื่อมาแก้ปัญหา Noise โดยเฉพาะ&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S3mJPj8iMaI/AAAAAAAAACc/ZZswJpGvqWk/s800/Screen_shot_2010-02-16_at_12-full.34.13_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S3mJNLNZDVI/AAAAAAAAACY/WvRw-DA3JJw/s800/Screen_shot_2010-02-16_at_12-thumb.34.13_AM.png" height="237" width="379" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;จะเห็นว่า Noise เต็มไปหมด แต่พอเราแก้ด้วย F_DeNoise&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3mJRZux7VI/AAAAAAAAACk/HGdhC9kLV2o/s800/Screen_shot_2010-02-16_at_12-full.38.13_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S3mJRKnViYI/AAAAAAAAACg/JoBA2QLlh6w/s800/Screen_shot_2010-02-16_at_12-thumb.38.13_AM.png" height="337" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3mJUWNSVwI/AAAAAAAAACs/NACAl1YsWYw/s800/Screen_shot_2010-02-16_at_12.38.36_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3mJSolK4kI/AAAAAAAAACo/Wz7WaAtCdzE/s800/Screen_shot_2010-02-16_at_12-thumb.38.36_AM.png" height="235" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ภาพเคลื่อนไหวที่ได้จะเนียนดีขึ้นมาเยอะเลย ซึ่งค่าเหมาะสมที่จะปรับจะแตกต่างกันไปตาม Footage ที่ได้มา&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S3mJYok-RpI/AAAAAAAAAC0/8jCOk5PaouE/s800/Screen_shot_2010-02-16_at_12.41.16_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S3mJVvv5TsI/AAAAAAAAACw/J2b2c9PVAuI/s800/Screen_shot_2010-02-16_at_12-thumb.41.16_AM.png" height="224" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ใครใช้ NukeX 6 อยู่ก็ถ้าเจอปัญหาตรงนี้ก็สามารถแก้ได้เลย&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3mJcTIS8OI/AAAAAAAAAC8/vYncpzMzUtg/s800/Screen_shot_2010-02-16_at_12-full.45.02_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3mJZ73xAXI/AAAAAAAAAC4/KwDbctKs_Tk/s800/Screen_shot_2010-02-16_at_12-thumb.45.02_AM.png" height="221" width="378" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;คงเป็นประโยชน์บ้างนะครับ&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-943585292547249355?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/943585292547249355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=943585292547249355' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/943585292547249355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/943585292547249355'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/04/noise-fdenoise-nukex-6.html' title='แก้ Noise ด้วย F_DeNoise ใน NukeX 6'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_Zg02Bij5lSU/S3mJNLNZDVI/AAAAAAAAACY/WvRw-DA3JJw/s72-c/Screen_shot_2010-02-16_at_12-thumb.34.13_AM.png' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-6214703047847640197</id><published>2010-04-01T13:51:00.000-07:00</published><updated>2010-04-01T13:51:00.323-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3Delight'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><title type='text'>Render Poly as SubD</title><content type='html'>&lt;p style="clear: both"&gt;RenderMan Renderer อีกยี่ห้อที่ดีไม่แพ้จาก &lt;a href="https://renderman.pixar.com/" target="_blank"&gt;Pixar&lt;/a&gt; ก็คือ &lt;a href="http://www.3delight.com/en/" title="3delight" target="_blank"&gt;3DeLight&lt;/a&gt; ซึ่งขอ License ได้ Free ที่เวบเลย&lt;/p&gt;&lt;p style="clear: both"&gt;ข้อเด่นข้อนึงของ RenderMan ที่เราใช้กันบ่อยๆของ RenderMan นอกจาก RIB Archive, Displacement, Curve Rendering, Deep Shadow ฯลฯ ก็คือ Render Poly as SubD ทำให้เป็นการส่งภาระไปให้ Renderer เลย ซึ่งมันสะดวกกว่า ซึ่ง Maya เองตอน Model เราก็กด 3 เพื่อดู SubD ได้ แต่พอ Render ด้วย Maya Software Render แล้ว มันจะออกมาเป็น Poly อยู่ดี ทีนี้เรามา Render Poly เป็น SubD ด้วย RenderMan ดีกว่า&lt;/p&gt;&lt;p style="clear: both"&gt;ตอนแรกก็ Model มาเป็น Poly ในที่นี้เอาเข้าใจง่ายๆ ผมทำเป็นกล่องมาเลย&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3sKkKlUZUI/AAAAAAAAAE8/N-cNzhZ6ICQ/s800/Screen_shot_2010-02-17_at_3.42.24_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3sLBrV8fSI/AAAAAAAAAFI/4GBvKxwnKv4/s800/Screen_shot_2010-02-17_at_3-thumb.42.24_AM.png" height="301" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาก็โหลด Plugin 3Delight มา แล้วเลือก Attribs Node Manager&lt;br /&gt;กด Create แล้วตั้งชื่อ SubD แล้วก็ Attatch ไปที่กล่องที่เราสร้าง&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3sKnwPlUkI/AAAAAAAAAFE/Btg_xuuFhVk/s800/Screen_shot_2010-02-17_at_3.42.44_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3sLDQx7ltI/AAAAAAAAAFQ/XHJ_S3DjKnI/s800/Screen_shot_2010-02-17_at_3-thumb.42.44_AM.png" height="270" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;เราจะได้ delightShapeSet tab มา&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3sLFYVcOJI/AAAAAAAAAFc/eIQYnkY-9gA/s800/Screen_shot_2010-02-17_at_3.43.37_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S3sLFD3bc5I/AAAAAAAAAFY/db02ZtUJyPM/s800/Screen_shot_2010-02-17_at_3-thumb.43.37_AM.png" height="74" width="212" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ดูที่ Extra Attributes ตรง GeoAttribs จะเป็นชื่อ SubD ที่เราตั้งเอาไว้&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S3sLG2NHFYI/AAAAAAAAAFk/jPofyQGjcH8/s800/Screen_shot_2010-02-17_at_3.43.49_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S3sLGYQapFI/AAAAAAAAAFg/RqkfvHiEaUY/s800/Screen_shot_2010-02-17_at_3-thumb.43.49_AM.png" height="288" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;คลิ๊ค &amp;gt; เข้าไป แล้วก็ Add Attribs&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3sLInHSwJI/AAAAAAAAAFs/N4gxXI3oAnE/s800/Screen_shot_2010-02-17_at_3.43.58_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3sLIPVSdQI/AAAAAAAAAFo/PsrHZCP7x7o/s800/Screen_shot_2010-02-17_at_3-thumb.43.58_AM.png" height="93" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;Drop Down ลงมาที่ Polygon แล้วก็ติ๊ค Poly as Subd&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3sLKN4jNJI/AAAAAAAAAF0/O7UDEEuOMO4/s800/Screen_shot_2010-02-17_at_3.44.41_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3sLJgN8TbI/AAAAAAAAAFw/BhsrDatv-Ck/s800/Screen_shot_2010-02-17_at_3-thumb.44.41_AM.png" height="268" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;Render ออกมาก็จะได้เป็น SubD เลย เป็นการโยนภาระไปให้ Renderer โลด&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3sLMkM1eLI/AAAAAAAAAF8/gp1TJC2XrLY/s800/Screen_shot_2010-02-17_at_3.45.28_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S3sLLy-qCzI/AAAAAAAAAF4/Qn59bTxNYn0/s800/Screen_shot_2010-02-17_at_3-thumb.45.28_AM.png" height="182" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3sPADt0r-I/AAAAAAAAAGI/E4n7MpZwyLM/s800/Screen_shot_2010-02-17_at_4.26.36_AM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3sPQY7v9BI/AAAAAAAAAGM/W0XJZ93T9XE/s800/Screen_shot_2010-02-17_at_4-thumb.26.36_AM.png" height="185" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;คงมีประโยชน์บ้างนะครับ&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-6214703047847640197?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/6214703047847640197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=6214703047847640197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/6214703047847640197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/6214703047847640197'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/04/render-poly-as-subd.html' title='Render Poly as SubD'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_Zg02Bij5lSU/S3sLBrV8fSI/AAAAAAAAAFI/4GBvKxwnKv4/s72-c/Screen_shot_2010-02-17_at_3-thumb.42.24_AM.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-1025837313252216491</id><published>2010-03-14T13:14:00.000-07:00</published><updated>2010-03-15T09:15:22.861-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3Delight'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><title type='text'>Global Illumination + Final Gather + Diffuse Global Illumination ใน 3Delight</title><content type='html'>&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3v78QgCRBI/AAAAAAAAAGc/EKfmyFsTv-o/s800/giFg_render.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S3v77580vEI/AAAAAAAAAGY/a-rMMgUMLWE/s800/giFg_render-thumb.jpg" height="269" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ก่อนอื่นก็ start License ของ 3Delight ก่อนที่ Terminal&lt;/p&gt;&lt;p style="clear: both"&gt;licserver $DELIGHT/license.dat แล้วก็ Enter&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;เปิด Maya มาแล้วก็ Setup Scene ขึ้นมาเป็นห้องประมาณแบบนี้ยังไม่ต้องจัดไฟอ่ะไร&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3v7_mdi7CI/AAAAAAAAAGw/TGJnku6AvL0/s800/Screen_shot_2010-02-17_at_8.20.12_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3v7-9Pz4_I/AAAAAAAAAGo/wYqAUmFSlo4/s800/Screen_shot_2010-02-17_at_8-thumb.20.12_PM.png" height="265" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ลอง Render ดูก็จะได้เรียบๆประมาณนี้&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3v8BIgzwJI/AAAAAAAAAG4/pTbefGhKSL8/s800/Screen_shot_2010-02-17_at_8.21.52_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3v8AfKFJ4I/AAAAAAAAAG0/qtO2CXoU8NE/s800/Screen_shot_2010-02-17_at_8-thumb.21.52_PM.png" height="321" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;เปิด Outliner แล้วก็สร้าง Group ขึ้นมาแล้วก็เอา OBJ ห้อง กับ ลูก Ball ไปไว้ในนั้น&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S3v8CFdOqPI/AAAAAAAAAHA/mJmUAnJwPdA/s800/Screen_shot_2010-02-17_at_8.26.35_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3v8B3TBXHI/AAAAAAAAAG8/18OKDGHPUKU/s800/Screen_shot_2010-02-17_at_8-thumb.26.35_PM.png" height="258" width="212" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;เปิด Attribs Manager ขึ้นมา แล้วก็ Attach ไปที่ Group1&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3v8Dluby9I/AAAAAAAAAHI/T9DnHD-7FQQ/s800/Screen_shot_2010-02-17_at_8.27.38_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3v8DA_Mo_I/AAAAAAAAAHE/426vznwH41Q/s800/Screen_shot_2010-02-17_at_8-thumb.27.38_PM.png" height="265" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3v8E13o1TI/AAAAAAAAAHQ/yq_BeUc-_Os/s800/Screen_shot_2010-02-17_at_8.28.01_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3v8EZuvpFI/AAAAAAAAAHM/AWqY-tN115E/s800/Screen_shot_2010-02-17_at_8-thumb.28.01_PM.png" height="194" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;จะเห็น Tab delightShapeSet1 แล้วก็กดไปที่ &amp;gt; แล้วเราจะเข้าไปที่ delightGeoAttribs1&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S3v8GdWlC6I/AAAAAAAAAHY/CcKWkXv_BdQ/s800/Screen_shot_2010-02-17_at_8.33.50_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3v8Fj2gGyI/AAAAAAAAAHU/YYf_PbQyKKY/s800/Screen_shot_2010-02-17_at_8-thumb.33.50_PM.png" height="405" width="376" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;Add/Remove กดค้างไว้แล้วก็เลือก All แล้วก็ไปที่ Visibility ตรง Diffuse Ray เลือก Shader Color &amp;amp; Opacity&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3v8Iklh6gI/AAAAAAAAAHg/VVEHE50ut9E/s800/Screen_shot_2010-02-17_at_8.36.31_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3v8H6pzx-I/AAAAAAAAAHc/-smzUG34FxI/s800/Screen_shot_2010-02-17_at_8-thumb.36.31_PM1.png" height="401" width="353" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาก็สร้าง Spotlight ขึ้นมาแล้วก็ใช้ Depthmap Shadows เพื่อสร้างเงา&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3v8J-r2CxI/AAAAAAAAAHo/V0YNglhEjiQ/s800/Screen_shot_2010-02-17_at_8.41.55_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S3v8JYLS1sI/AAAAAAAAAHk/w8zmiPJr5oQ/s800/Screen_shot_2010-02-17_at_8-thumb.41.55_PM.png" height="206" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ลอง Render ผ่าน 3Delight ดูก็จะได้เรียบๆเพราะยังไม่ได้ GI [Global illumination] &lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S3v8K4Ffz2I/AAAAAAAAAHw/mKVsL5UTb2U/s800/Screen_shot_2010-02-17_at_8.44.04_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3v8KleUbPI/AAAAAAAAAHs/v5wOHN2ij-Q/s800/Screen_shot_2010-02-17_at_8-thumb.44.04_PM.png" height="319" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาสร้าง ambientLight ขึ้นมาซึ่งเราจะให้ตัวนี้รับค่า indirectlight เพื่อทำ GI+FG น่ะเอง แล้วก็ Attach ให้กับ ambientLight&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3v8OTeaEUI/AAAAAAAAAH4/naIbUQW0aCw/s800/Screen_shot_2010-02-17_at_8.47.53_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3v8LxG5RbI/AAAAAAAAAH0/eyDPqaKdkIU/s800/Screen_shot_2010-02-17_at_8-thumb.47.53_PM.png" height="287" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้วก็ไปที่ 3Delight Relationship Editor กดที่ AE [Attributes Editor] ก็จะเปิด Parameter ของ indirectLight ขึ้นมา&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3v8P2dNVJI/AAAAAAAAAIA/mNtP_Anm59o/s800/Screen_shot_2010-02-17_at_8.51.49_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3v8PErsQfI/AAAAAAAAAH8/Dleo6ttaDPk/s800/Screen_shot_2010-02-17_at_8-thumb.51.49_PM.png" height="201" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3v8RGj4FsI/AAAAAAAAAII/iEexJKT8csY/s800/Screen_shot_2010-02-17_at_8.55.41_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S3v8QyU-rQI/AAAAAAAAAIE/wqNTWhtt6Ng/s800/Screen_shot_2010-02-17_at_8-thumb.55.41_PM.png" height="377" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ปรับค่าตามรูป indirectLight1 แล้วลอง Render ดูก็จะได้&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3v8TJVxirI/AAAAAAAAAIQ/WiWp2rePNUQ/s800/Screen_shot_2010-02-17_at_8.57.12_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S3v8R8CyjAI/AAAAAAAAAIM/XqCO_RMPvt4/s800/Screen_shot_2010-02-17_at_8-thumb.57.12_PM.png" height="229" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ลองปรับเป็น intensity = 2 ก็จะได้&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S3v8U3L7p1I/AAAAAAAAAIY/M4rsJWGnxcQ/s800/Screen_shot_2010-02-17_at_8.58.21_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S3v8T7PmB2I/AAAAAAAAAIU/o2k4adz4bUU/s800/Screen_shot_2010-02-17_at_8-thumb.58.21_PM.png" height="230" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;อันนี้คือค่าที่ผมพอใจแล้ว นี่ก็คือ GI+FG+Diffuse Global Illumination บน RenderMan compliant renderer อย่าง 3Delight น่ะครับ&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S3v8W1JgAlI/AAAAAAAAAIg/YbYfFC1gto8/s800/Screen_shot_2010-02-17_at_9.06.51_PM.png" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S3v8VmUlDfI/AAAAAAAAAIc/b8A0Bw1-uic/s800/Screen_shot_2010-02-17_at_9-thumb.06.51_PM.png" height="192" width="346" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S37Cg-cV8QI/AAAAAAAAAPM/B7H4qEQ6ypg/s800/giFg_render2-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S37CgIBugkI/AAAAAAAAAPI/8izgvBFjaeo/s800/giFg_render2-thumb.jpg" height="285" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;** Diffuse Global Illumination ก็คือ Color Bleeding **&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-1025837313252216491?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/1025837313252216491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=1025837313252216491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1025837313252216491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1025837313252216491'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/03/global-illumination-final-gather.html' title='Global Illumination + Final Gather + Diffuse Global Illumination ใน 3Delight'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_Zg02Bij5lSU/S3v77580vEI/AAAAAAAAAGY/a-rMMgUMLWE/s72-c/giFg_render-thumb.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-2873827608052318928</id><published>2010-03-01T10:34:00.000-08:00</published><updated>2010-03-02T02:55:33.895-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3Delight'/><category scheme='http://www.blogger.com/atom/ns#' term='Shave and a Haircut'/><category scheme='http://www.blogger.com/atom/ns#' term='RenderMan'/><title type='text'>ทำสนามหญ้าด้วย Shave + 3Delight</title><content type='html'>&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S4PBsrEyvnI/AAAAAAAAAWc/FS0i8Hw5jMs/s800/Shave_Deep_ShadowRender_RenderShave-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S4PBrPFO54I/AAAAAAAAAWY/bsaaog5c7yY/s800/Shave_Deep_ShadowRender_RenderShave-thumb.jpg" height="285" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S4N8mo3WqoI/AAAAAAAAAUQ/tBjkim5hcfY/s800/Shave_Deep_Shadow_Render-full.jpg" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4N8lBK089I/AAAAAAAAAUM/TOSiIa3RoNg/s800/Shave_Deep_Shadow_Render-thumb.jpg" height="285" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ก่อนอื่นก็โหลด 3Delight แล้วก็ Shave ก่อนเลย&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4N8n1XzbUI/AAAAAAAAAUY/JGYyOszH2c4/s800/Screen_shot_2010-02-23_at_12-thumb-full.41.53_PM1.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4N8nTqfruI/AAAAAAAAAUU/M7r_kvJFevU/s800/Screen_shot_2010-02-23_at_12-thumb.41.53_PM2.gif" height="82" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N8o6cY_OI/AAAAAAAAAUg/carycit05dc/s800/Screen_shot_2010-02-23_at_12-full.41.59_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N8odcKdUI/AAAAAAAAAUc/GSGZ4Hc912c/s800/Screen_shot_2010-02-23_at_12-thumb.41.59_PM.gif" height="77" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้วก็สร้าง nurbsPlane ขึ้นมา แลวก็ตามด้วย Shave ใส่หญ้าลงไป (grass)&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S4N8pzBS1NI/AAAAAAAAAUo/15A4nJFmoWE/s800/Screen_shot_2010-02-23_at_12-full.46.50_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4N8pd38qKI/AAAAAAAAAUk/AJbbkTsJr_A/s800/Screen_shot_2010-02-23_at_12-thumb.46.50_PM.gif" height="224" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N8r_rgGAI/AAAAAAAAAUw/ZiYs1-C3ylk/s800/Screen_shot_2010-02-23_at_12-full.46.31_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4N8q80GWWI/AAAAAAAAAUs/aEYa81FJmKA/s800/Screen_shot_2010-02-23_at_12-thumb.46.31_PM.gif" height="256" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ก็จะได้ที่ Viewport ประมาณนี้&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4N8uZjh-GI/AAAAAAAAAU4/JOxMkOdNhD8/s800/Screen_shot_2010-02-23_at_12-full.49.22_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4N8s9IiI0I/AAAAAAAAAU0/kye_xwOd0OQ/s800/Screen_shot_2010-02-23_at_12-thumb.49.22_PM.gif" height="212" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;สร้างแสง Spotlight ขึ้นมายิงไปที่สนามหญ้าของเราให้เห็นทั้ง Scene&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4N8vVelVZI/AAAAAAAAAVA/kH24IV0Jsao/s800/Screen_shot_2010-02-23_at_12-full.51.04_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4N8uzEid6I/AAAAAAAAAU8/YG6HloOiyjU/s800/Screen_shot_2010-02-23_at_12-thumb.51.04_PM.gif" height="212" width="379" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;สร้าง Set ของ Spotlight ขึ้นมา&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4N8wY2BzpI/AAAAAAAAAVI/ltfcG-FbAT0/s800/Screen_shot_2010-02-23_at_12-full.54.18_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4N8v34h7kI/AAAAAAAAAVE/1fOt-rHGfko/s800/Screen_shot_2010-02-23_at_12-thumb.54.18_PM.gif" height="122" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้วก็ตามด้วย set ของหญ้า&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N8xrb9eYI/AAAAAAAAAVQ/AVHyPTRQPFQ/s800/Screen_shot_2010-02-23_at_12-full.56.12_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4N8xBo1aII/AAAAAAAAAVM/2_pvYPQl5lo/s800/Screen_shot_2010-02-23_at_12-thumb.56.12_PM.gif" height="162" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;เปิด Attribs Node Manager ขึ้นมาแล้วสร้าง GeoAttribs แล้วก็ Attach เข้าไปที่ nurbsPlane กับ ShaveHair&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N8zdkKamI/AAAAAAAAAVY/fGYp7SlOhL8/s800/Screen_shot_2010-02-23_at_12-full.58.46_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N8yB-_eXI/AAAAAAAAAVU/PbEqSwkmM1U/s800/Screen_shot_2010-02-23_at_12-thumb.58.46_PM.gif" height="170" width="379" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้วก็เลือก Spotlight สร้าง LigthAttribs แล้วก็ Attach ลงไป&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S4N80kBv9JI/AAAAAAAAAVg/obZi8VZwX30/s800/Screen_shot_2010-02-23_at_1-full.05.19_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S4N80YjhGSI/AAAAAAAAAVc/M_cYkTqOv6k/s800/Screen_shot_2010-02-23_at_1-thumb.05.19_PM.gif" height="136" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;เปิด GeoAttribs ขึ้นมาแล้วก็ไปที่ Lighting สร้าง Illumination from ขึ้นมา&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4N82L1StuI/AAAAAAAAAVo/3tpRHWFU9Yk/s800/Screen-shot-full.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S4N81fc9vwI/AAAAAAAAAVk/GZnNWdWhTSw/s800/Screen-shot-thumb.gif" height="193" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้ว link ไปที่ light set&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4N820q7YYI/AAAAAAAAAVw/Sx5ObPUQJHM/s800/Screen_shot_2010-02-23_at_1-full.17.12_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N82olNF3I/AAAAAAAAAVs/FympMvweAms/s800/Screen_shot_2010-02-23_at_1-thumb.17.12_PM.gif" height="429" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาก็เปิด LightAttribs ขึ้นมาแล้วก็ติ๊ก Generate Shadow Maps&lt;br /&gt;Shadow Map Type เป็น Deep Shadow&lt;br /&gt;แล้ว Shadow Object Link ไปที่ grassSet&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N837acP6I/AAAAAAAAAV4/bOGSTxPMWgg/s800/Screen_shot_2010-02-23_at_1-full.20.44_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4N83mVKmzI/AAAAAAAAAV0/_GoxAqedwwM/s800/Screen_shot_2010-02-23_at_1-thumb.20.44_PM.gif" height="468" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้วที่ Spotlight ก็ใช้ Depth Map Shadows ด้วย&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4N84jpkxoI/AAAAAAAAAWA/vq23K5sCBrw/s800/Screen_shot_2010-02-23_at_1-full.23.04_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N84YE2gDI/AAAAAAAAAV8/jeCgC-uxaaw/s800/Screen_shot_2010-02-23_at_1-thumb.23.04_PM.gif" height="160" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาก็เลือก shaveHair1 แล้วก้ Assign Shader Shave ลงไป&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S4N86GsoqoI/AAAAAAAAAWI/GkDCa2aAatk/s800/Screen_shot_2010-02-23_at_1-full.25.57_PM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N85QzScWI/AAAAAAAAAWE/GDltsu4k7w8/s800/Screen_shot_2010-02-23_at_1-thumb.25.57_PM.gif" height="204" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ลอง Render ดู ก็ได้ประมาณนี้&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4N88JPXEfI/AAAAAAAAAWQ/QyXY7GE0BZE/s800/Render-full.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4N87KrEoPI/AAAAAAAAAWM/BQ_5MSjWIbQ/s800/Render-thumb.gif" height="285" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ทำสนามหญ้าด้วย Shave + 3Delight ครับ&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-2873827608052318928?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/2873827608052318928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=2873827608052318928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2873827608052318928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2873827608052318928'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/03/shave-3delight.html' title='ทำสนามหญ้าด้วย Shave + 3Delight'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_Zg02Bij5lSU/S4PBrPFO54I/AAAAAAAAAWY/bsaaog5c7yY/s72-c/Shave_Deep_ShadowRender_RenderShave-thumb.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-1238563034144576851</id><published>2010-02-26T13:21:00.001-08:00</published><updated>2010-03-01T10:22:50.049-08:00</updated><title type='text'>Shading ของเจล</title><content type='html'>&lt;p style="clear: both"&gt;เป็น .slim ก็ใช้คำสั่ง ReadSlimFile ได้เลย&lt;br /&gt;ที่ผมใช้จะมี Ensamble ที่ต่อกับ Glass-&amp;gt;Tint ด้วย Spline แล้วก็ Displacement + Noise ให้มันดูข้นๆอข้างในแบบเจลใส่ผม&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;Render ออกมาค่อนข้างใช้ได้เลยทีเดียว&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;span style=" display: inline; float: left; margin: 0 10px 10px 0;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;object height="307" width="380"&gt;&lt;param name="movie" value="http://www.youtube.com/v/cpMmZgKD_j0&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/cpMmZgKD_j0&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01" allowscriptaccess="always" height="307" width="380"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Code .slim เป็นแบบนี้&lt;/p&gt;&lt;p style="clear: both"&gt;** Code ยาวเกิ๊น  &lt;a href="http://www.mediafire.com/?yjmnmudmuzc"&gt;โหลดที่นี่&lt;/a&gt; แล้วกันครับ&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/yPHja9TzKNk&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/yPHja9TzKNk&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-1238563034144576851?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/1238563034144576851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=1238563034144576851' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1238563034144576851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1238563034144576851'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/02/shading.html' title='Shading ของเจล'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-8616047360254047668</id><published>2010-02-24T11:35:00.001-08:00</published><updated>2010-02-24T13:17:49.281-08:00</updated><title type='text'>Bakeing Point Cloud [Bake 3D]</title><content type='html'>&lt;p style="clear: both"&gt;ที่เรารู้ๆก็คือ เรา Bake เพื่อลดเวลาการ Render ในครั้งถัดๆไปน่ะเอง เพราะการทำงาน Shot นึง Render นับครั้งไม่ถ้วน&lt;br /&gt;ใน RenderMan Standard จะใช้วิธีที่เรียกว่า Point Cloud Baking ซึ่งหนแรกจะต้อง Write หรือเขียน Bake file ออกมานั่นเอง แล้วถัดมาก็ต้อง Read หรืออ่านเข้าไป&lt;/p&gt;&lt;p style="clear: both"&gt;ที่นี้ใน RSL จะเป็น&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4V_aX0zipI/AAAAAAAAAaM/CujDJCjFb9A/s800/Screen_shot_2010-02-25_at_1-thumb-full.33.04_AM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4V_aO8aeWI/AAAAAAAAAaI/tMbyfLhYfRY/s800/Screen_shot_2010-02-25_at_1-thumb.33.04_AM1.gif" height="215" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;Compile ด้วย 3Delight ด้วย shaderdl my_ptc_write.sl ก็จะได้ my_ptc_write.sdl มา&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S4V_bOfG4BI/AAAAAAAAAaU/g0j5QuNhl70/s800/Screen_shot_2010-02-25_at_2-full.10.39_AM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4V_awpYcZI/AAAAAAAAAaQ/60k9czUW_s8/s800/Screen_shot_2010-02-25_at_2-thumb.10.39_AM.gif" height="33" width="377" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4V_b3-63lI/AAAAAAAAAac/A2xm0XAGpEc/s800/Screen_shot_2010-02-25_at_2-full.10.02_AM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4V_bn9Z-xI/AAAAAAAAAaY/At0a5dOdAMk/s800/Screen_shot_2010-02-25_at_2-thumb.10.02_AM.gif" height="86" width="292" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาที่ rib เปิดมาแล้วก็แก้ shader ไปเป็น "my_ptc_write"&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4V_clZGvOI/AAAAAAAAAak/OWJ6WXqTX2s/s800/Screen_shot_2010-02-25_at_1-full.37.34_AM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4V_cV6-dAI/AAAAAAAAAag/QqwGY3bggxo/s800/Screen_shot_2010-02-25_at_1-thumb.37.34_AM.gif" height="208" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้วก็ render ออกมาด้วยคำสั่ง renderdl teapot.rib ซึ่งจะใช้เวลานานทีเดียวเพราะ sample ไว้ที่ 1024 แน่ะ&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S4V_darrJsI/AAAAAAAAAas/EFIZ0tbCY-o/s800/Screen_shot_2010-02-25_at_2-full.18.28_AM1.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S4V_dGszLoI/AAAAAAAAAao/mNDJF6XtkHI/s800/Screen_shot_2010-02-25_at_2-thumb.18.28_AM1.gif" height="262" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;เราจะได้ file artslan.ptc ซึ่งนี่ก็คือ Point Cloud เปิดดูได้กับ ptview ของ 3delight ก็จะเป็นลักษะณะแบบนี้&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;span style=" text-align: center; display: block; margin: 0 auto 10px;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;object height="230" width="380"&gt;&lt;param name="movie" value="http://www.youtube.com/v/A4ltGdrPMsI&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/A4ltGdrPMsI&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" allowscriptaccess="always" height="230" width="380"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;จะเห็นว่าด้านหลังตัว Ponit Cloud จะไม่เห็นเพราะเราไม่ได้สั่ง&lt;br /&gt;&lt;br /&gt;Attribute "cull" "hidden" 0&lt;br /&gt;Attribute "cull" "backfacing" 0&lt;/p&gt;&lt;p style="clear: both"&gt;ดังนั้นที่ไม่เห็นในกล้องก็จะไม่มี ดังนั้นเวลาเอาไปใช้ใน 3Delight ก็ต้องสั่ง ไม่ต้อง culling ไม่งั้นหมุนกล้องไปด้านหลัง มันจะดำ เนื่องจากมันไม่เห็นในกล้องและที่ตัวมันเองบังตัวมันเอง&lt;br /&gt;และอีกอันที่สำคัญก็คือ&lt;/p&gt;&lt;p style="clear: both"&gt;Attribute "dice" "rasterorient" 0&lt;/p&gt;&lt;p style="clear: both"&gt;ก็คือการ Dicing ไปเป็น micropolygons ก่อนที่จะ shade น่ะเอง แต่ในที่นี้เราจะ Bake มัน ก็ไม่จำเป็นเลยที่จะต้อง Dicing ดังนั้นเมื่อเรียกใช้ใน 3Delight ทั้ง 3 ตัวนี้ก็ติ๊กออกให้หมด ก็จะทำให้ Point Cloud ของเราเห็นหมดทุกมุมทั้งที่บังและก็ไม่บัง&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S4V_eKUb1GI/AAAAAAAAAa0/gNasmcDdSG4/s800/Screen_shot_2010-02-25_at_2-full.05.40_AM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S4V_eGh2lkI/AAAAAAAAAaw/ZOEi2B6NZwc/s800/Screen_shot_2010-02-25_at_2-thumb.05.40_AM.gif" height="136" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาเมื่อ bake แล้ว ได้ file artslan.ptc มาแล้วก็ต้อง read texture3d กลับเพื่อนำไปใช้ ก็จะเป็น RSL นี้&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S4V_fK-CjII/AAAAAAAAAa8/UlemsG94Ia0/s800/Screen_shot_2010-02-25_at_2-full.08.01_AM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S4V_ezNVIqI/AAAAAAAAAa4/omSMR-2eAJQ/s800/Screen_shot_2010-02-25_at_2-thumb.08.01_AM.gif" height="272" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;แล้วก็ compile shader นี้ก็จะได้ my_ptc_read.sdl ออกมา&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4V_fzPuI5I/AAAAAAAAAbE/4XQ4ErEl1oQ/s800/Screen_shot_2010-02-25_at_1-full.35.26_AM1.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S4V_fvLG_6I/AAAAAAAAAbA/eLS0_HRCiAs/s800/Screen_shot_2010-02-25_at_1-thumb.35.26_AM1.gif" height="109" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4V_gUdwOII/AAAAAAAAAbM/WI81kpQSM5c/s800/Screen_shot_2010-02-25_at_1-full.35.36_AM1.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S4V_gYDcmYI/AAAAAAAAAbI/MNEY4CQRXfc/s800/Screen_shot_2010-02-25_at_1-thumb.35.36_AM1.gif" height="102" width="313" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ต่อมาก็ไปที่ rib แก้เป็น shader my_ptc_read เพื่อจะอ่าน pont cloud กลับมา ในที่นี้ก็คือ artslan.ptc ที่ได้มาตอน write น่ะเอง&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh3.ggpht.com/_Zg02Bij5lSU/S4V_hcjM-jI/AAAAAAAAAbU/gaq6B3jrszE/s800/Screen_shot_2010-02-25_at_2-full.23.43_AM.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh3.ggpht.com/_Zg02Bij5lSU/S4V_hLWp5UI/AAAAAAAAAbQ/iayxjKVjBy4/s800/Screen_shot_2010-02-25_at_2-thumb.23.43_AM.gif" height="219" width="264" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;ทีนี้ก็สั่งคำสั้ง renderdl -d teapot.rib ก็จะได้ภาพ Bake Occlusion ออกมาอย่างไว จะหมุนกล้องไปมุมไหนก็ได้ครับทีนี้ใน Maya แต่ถ้าตัวที่ bake มี deform หรือ animation ต่างๆก็ต้อง bake3D sequence ออกมาอย่างในลักษณะเดียวกันนี้แหละครับ&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;span style=" text-align: center; display: block; margin: 0 auto 10px;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=" text-align: center; display: block; margin: 0 auto 10px;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=" text-align: center; display: block; margin: 0 auto 10px;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;object height="230" width="380"&gt;&lt;param name="movie" value="http://www.youtube.com/v/GupYNjMWR0k&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/GupYNjMWR0k&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" allowscriptaccess="always" height="230" width="380"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;span style=" text-align: center; display: block; margin: 0 auto 10px;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=" text-align: center; display: block; margin: 0 auto 10px;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: medium; line-height: 19px; "&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=" text-align: center; display: block; margin: 0 auto 10px;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;p id="text_16" contenteditable="true" style="clear: both; width: 539px; padding-top: 0px; padding-right: 1px; padding-bottom: 0px; padding-left: 1px; outline-style: none; outline-width: initial; outline-color: initial; overflow-x: auto; overflow-y: auto; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; "&gt;&lt;/p&gt;&lt;div style="text-align: left;"&gt;กรณีที่เราใส่ &lt;/div&gt;&lt;div style="text-align: left;"&gt;Attribute "cull" "hidden" 0&lt;/div&gt;&lt;div style="text-align: left;"&gt;Attribute "cull" "backfacing" 0&lt;/div&gt;&lt;div style="text-align: left;"&gt;Attribute "dice" "rasterorient" 0&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; line-height: normal; font-size: 11px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;img src="http://www.updatepic.com/out.php/i19356_Screenshot20100225at4.05.49AM.gif" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p id="text_17" contenteditable="true" style="clear: both; width: 539px; padding-top: 0px; padding-right: 1px; padding-bottom: 0px; padding-left: 1px; outline-style: none; outline-width: initial; outline-color: initial; overflow-x: auto; overflow-y: auto; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; "&gt;&lt;/p&gt;&lt;div id="object_17" class="draggable" style="-webkit-user-select: none; cursor: move; text-align: center; display: block; margin-top: 0px; margin-right: auto; margin-bottom: 15px; margin-left: auto; "&gt;&lt;img src="file:///Applications/Blogo.app/Contents/Resources/placeholder-image-black.png" original_width="380" original_height="286" original_path="/Users/artslan/Library/Application Support/Blogo/images/2010-02-25/Screen_shot_2010-02-25_at_4-full.05.49_AM.gif" original_link="UPLOAD_IMAGE" thumbnail_path="/Users/artslan/Library/Application Support/Blogo/images/2010-02-25/Screen_shot_2010-02-25_at_4-thumb.05.49_AM.gif" path="/Users/artslan/Library/Application Support/Blogo/images/2010-02-25/Screen_shot_2010-02-25_at_4-full.05.49_AM.gif" align="" style="-webkit-user-drag: element; -webkit-user-select: none; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; background-color: rgb(123, 123, 123); background-position: initial initial; " /&gt;&lt;a name="object_17" class="object_anchor"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;เวลาดู Point Cloud ก็จะเห็นทั้งหมด&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; line-height: normal; white-space: pre; "&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/oDTbU2UhU7s&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/oDTbU2UhU7s&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p id="text_18" contenteditable="true" style="clear: both; width: 539px; padding-top: 0px; padding-right: 1px; padding-bottom: 0px; padding-left: 1px; outline-style: none; outline-width: initial; outline-color: initial; overflow-x: auto; overflow-y: auto; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 0px; "&gt;&lt;/p&gt;&lt;div id="object_18" class="draggable" unlocked="" style="-webkit-user-select: none; cursor: move; text-align: center; display: block; margin-top: 0px; margin-right: auto; margin-bottom: 15px; margin-left: auto; "&gt;&lt;img object_source="&amp;lt;object height=&amp;quot;307&amp;quot; width=&amp;quot;380&amp;quot;&amp;gt;&amp;lt;param name=&amp;quot;movie&amp;quot; value=&amp;quot;http://www.youtube.com/v/oDTbU2UhU7s&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b&amp;quot; /&amp;gt;&amp;lt;param name=&amp;quot;allowFullScreen&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&amp;lt;param name=&amp;quot;allowscriptaccess&amp;quot; value=&amp;quot;always&amp;quot; /&amp;gt;&amp;lt;embed src=&amp;quot;http://www.youtube.com/v/oDTbU2UhU7s&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b&amp;quot; type=&amp;quot;application/x-shockwave-flash&amp;quot; allowfullscreen=&amp;quot;true&amp;quot; allowscriptaccess=&amp;quot;always&amp;quot; height=&amp;quot;307&amp;quot; width=&amp;quot;380&amp;quot;&amp;gt;&amp;lt;/embed&amp;gt;&amp;lt;/object&amp;gt;" src="file:///Applications/Blogo.app/Contents/Resources/placeholder-object-youtube-black.png" align="" style="-webkit-user-drag: element; -webkit-user-select: none; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; padding-top: 0px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; background-color: rgb(123, 123, 123); background-position: initial initial; " /&gt;&lt;a name="object_18" class="object_anchor"&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-8616047360254047668?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/8616047360254047668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=8616047360254047668' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8616047360254047668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8616047360254047668'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/02/bakeing-point-cloud-bake-3d.html' title='Bakeing Point Cloud [Bake 3D]'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_Zg02Bij5lSU/S4V_aO8aeWI/AAAAAAAAAaI/tMbyfLhYfRY/s72-c/Screen_shot_2010-02-25_at_1-thumb.33.04_AM1.gif' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-3188572125700513404</id><published>2010-02-17T23:11:00.000-08:00</published><updated>2010-02-17T23:14:19.593-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nuke'/><title type='text'>Automated Terminal Nuke Renderscript</title><content type='html'>&lt;p style="clear: both"&gt;จากกระทู้ที่ &lt;a href="http://www.vfxtalk.com/forum/automated-terminal-nuke-renderscript-t10297.html" target="_blank"&gt;VFXtalk&lt;/a&gt; นี้ ผมได้แก้ Script ของคุณ &lt;a href="http://www.vfxtalk.com/forum/member.php?u=896" class="bigusername"&gt;fbrandst&lt;/a&gt; และคุณ &lt;a href="http://www.vfxtalk.com/forum/member.php?u=3542" class="bigusername"&gt;hugo_guerra&lt;/a&gt; ให้ใช้ได้กับ Nuke6.0v1 และ NukeX6.0v1 แล้วทำเป็น .app ไว้วางบน Dock&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;span style=" display: inline; float: left; margin: 0 10px 10px 0;; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;"&gt;&lt;object height="299" width="380"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Hl0gf2jv_6w&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b&amp;amp;hd=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/Hl0gf2jv_6w&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b&amp;amp;hd=1" allowscriptaccess="always" height="299" width="380"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;วิธีการใช้จะเป็นแบบนี้ครับ&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://www.mediafire.com/?zrmtmznthkm" title="Nuke6droplet" target="_blank"&gt;Download&lt;/a&gt; ไปใช้ได้เลยคงมีประโยชน์บ้างนะครับ&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-3188572125700513404?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/3188572125700513404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=3188572125700513404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3188572125700513404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3188572125700513404'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/02/automated-terminal-nuke-renderscript.html' title='Automated Terminal Nuke Renderscript'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-5528771110081448743</id><published>2010-02-15T05:30:00.000-08:00</published><updated>2010-02-15T05:30:00.220-08:00</updated><title type='text'>การทำ Garbage Matt หรือ Garbage Mask เพื่อมาใช้ในการ Track</title><content type='html'>&lt;p style="clear: both"&gt;ไม่ว่าจะเป็น PFtrack, SynthEye, Boujou, MatchMover ใน Maya 2010 จะสามารถทำ Garbage Matt ได้เลยโดยไม่ต้อง ไปทำมาจาก Program อื่นๆ&lt;/p&gt;&lt;p style="clear: both"&gt;ซึ่งที่เราต้องทำก็เพราะว่า เราจะบอก Tracking ว่า ไม่ต้องไป Track ที่จุดนั้นนั่นเองทำให้การ Track งานเป็นไปได้ไวยิ่งขึ้น&lt;/p&gt;&lt;p style="clear: both"&gt;แต่ถ้าใครที่ใช้ PFHoe หรือ PFHoe Pro ยังไงก็ต้องทำเข้ามาเพราะตัวมันเองทำไม่ได้&lt;/p&gt;&lt;p style="clear: both"&gt;ตอนแรกก็ทำ Garbage Matt ที่ After Efect ก่อน [หรือโปรแกรมอื่นๆที่ถนัดเช่น Shake, Nuke, Fusion ฯลฯ]&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3f8kdDnYfI/AAAAAAAAABg/NMxjhj1d4bs/s800/01-full.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3f8i10nWyI/AAAAAAAAABc/UnFLDDQ0PJs/s800/01-thumb.gif" height="287" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3f8lD1934I/AAAAAAAAABo/3AxFU7-rqiA/s800/02.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3f8ky4VFtI/AAAAAAAAABk/2z59X_PodTA/s800/02-thumb.gif" height="278" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;Render ออกมาเอา Alpha อย่างเดียว&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3f8mDmhnBI/AAAAAAAAABw/uKlSZkYCFG4/s800/03.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh5.ggpht.com/_Zg02Bij5lSU/S3f8lwjiJXI/AAAAAAAAABs/iAmIZKVCYGE/s800/03-thumb.gif" height="267" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;Import เข้า PFHoe หรือ PFHoe Pro จะเห็นเป็นสีม่วงอ่อนๆซึ่ง PFHoe จะไม่คำนวณตรงนี้&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3f8nJKxDmI/AAAAAAAAAB4/wi5u4qAdJ_g/s800/04.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3f8mxaDyMI/AAAAAAAAAB0/S6-5fBGzpgc/s800/04-thumb.gif" height="278" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh6.ggpht.com/_Zg02Bij5lSU/S3f8pWP95qI/AAAAAAAAACA/oCsnimvfqws/s800/05.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3f8n6IZbtI/AAAAAAAAAB8/nPQwJLcRQZ0/s800/05-thumb.gif" height="318" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh5.ggpht.com/_Zg02Bij5lSU/S3f8rixXm3I/AAAAAAAAACI/EUB4DQeiZwE/s800/06.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh4.ggpht.com/_Zg02Bij5lSU/S3f8qK9cDwI/AAAAAAAAACE/Rv4cDc5Ywtg/s800/06-thumb.gif" height="237" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;เมื่อ Track เสร็จก็ Export ไปใช้กับโปรแกรมต่างๆต่อไป&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://lh4.ggpht.com/_Zg02Bij5lSU/S3f8sq523TI/AAAAAAAAACQ/5xnyMWiVw_c/s800/07.gif" class="image-link"&gt;&lt;img class="linked-to-original" src="http://lh6.ggpht.com/_Zg02Bij5lSU/S3f8sKKm9sI/AAAAAAAAACM/zFAevTQ5pcg/s800/07-thumb.gif" height="276" width="380" style=" text-align: center; display: block; margin: 0 auto 10px;" /&gt;&lt;/a&gt;คงมีประโยชน์บ้างนะครับ&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-5528771110081448743?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/5528771110081448743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=5528771110081448743' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/5528771110081448743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/5528771110081448743'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/02/garbage-matt-garbage-mask-track.html' title='การทำ Garbage Matt หรือ Garbage Mask เพื่อมาใช้ในการ Track'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_Zg02Bij5lSU/S3f8i10nWyI/AAAAAAAAABc/UnFLDDQ0PJs/s72-c/01-thumb.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-4486159334477652440</id><published>2010-02-09T18:51:00.000-08:00</published><updated>2010-02-09T18:54:15.579-08:00</updated><title type='text'>keyFrameVelocity</title><content type='html'>ถ้าใครที่เคยใช้ Particleillusion จะชอบหรือไม่ชอบก็แล้วแต่&lt;div&gt;แต่ถ้าเราเอา position data จาก after effects มา ก็จะได้ velocity ที่ Particleillusion มาด้วยตอนรับค่า position มา&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ดูกันเลยละกัน&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/jMtZZjAvWds&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/jMtZZjAvWds&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-4486159334477652440?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/4486159334477652440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=4486159334477652440' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4486159334477652440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4486159334477652440'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/02/keyframevelocity.html' title='keyFrameVelocity'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-2981284790734417970</id><published>2010-02-09T18:50:00.000-08:00</published><updated>2010-02-09T18:51:14.958-08:00</updated><title type='text'>Transparent Occlusion Hit</title><content type='html'>&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;พอดีอ่าน&lt;span style="font: 12.0px Helvetica"&gt; Help &lt;/span&gt;ไปแล้วก็เจอจุดนี้ซึ่งน่าจะเป็นประโยชน์&lt;span style="font: 12.0px Helvetica"&gt; &lt;/span&gt;เวลาที่เราทำ Occlusion Indirect ถ้าเรามีส่วนที่โปร่งแสง[Alpha] อยู่ด้วย พอ Occlusion Hit แล้ว ตรงเงาจะทึบ ก็แก้โดยการใส่ Attribute "Diffuse Ray Shading" ลงไป&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi; min-height: 17.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;มาดูกันเลยละกันครับ&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/fKTPYOjR4y0&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/fKTPYOjR4y0&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-2981284790734417970?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/2981284790734417970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=2981284790734417970' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2981284790734417970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2981284790734417970'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/02/transparent-occlusion-hit.html' title='Transparent Occlusion Hit'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-1086726504704264650</id><published>2010-02-09T18:47:00.000-08:00</published><updated>2010-02-09T18:49:18.126-08:00</updated><title type='text'>Mayarender Droplet</title><content type='html'>&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span" style="font-family: Thonburi, serif; "&gt;อันนี้เป็นของ&lt;span style="font: 12.0px Helvetica"&gt; OSX &lt;/span&gt;นะครับผม&lt;span style="font: 12.0px Helvetica"&gt; &lt;/span&gt;ที่ url นี้เลย&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;http://www.andrewandoru.com/2009/09/21/labs-mayarender-os-x-render-droplet/&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;ส่วนวิธีใช้ผมทำให้ดูคร่าวๆเป็น droplet ของ RenderMan นะครับ ส่วนใครใช้ Vray, Mental Ray, Maya Software ก็ Drop แบบนี้เหมือนกันครับ&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/bwMItLw_j0M&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x402061&amp;amp;color2=0x9461ca"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/bwMItLw_j0M&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x402061&amp;amp;color2=0x9461ca" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-1086726504704264650?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/1086726504704264650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=1086726504704264650' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1086726504704264650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1086726504704264650'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/02/mayarender-droplet.html' title='Mayarender Droplet'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-7374456543003121602</id><published>2010-02-03T00:49:00.000-08:00</published><updated>2010-02-03T00:50:30.057-08:00</updated><title type='text'>Day 4 Night แบบ After Effects</title><content type='html'>ก็เหมือนกันกับบน Nuke เลย แต่แค่ทำบน After Effects&lt;div&gt;ดูกันเลยละกัน :D&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/XAA8TjaSY9o&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/XAA8TjaSY9o&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;color1=0x006699&amp;amp;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-7374456543003121602?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/7374456543003121602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=7374456543003121602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7374456543003121602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7374456543003121602'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/02/day-4-night-after-effects.html' title='Day 4 Night แบบ After Effects'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-1621710340097761774</id><published>2010-02-02T07:34:00.000-08:00</published><updated>2010-02-02T18:00:37.013-08:00</updated><title type='text'>Day for Night</title><content type='html'>&lt;div&gt;มาลองทำ Day For Night กันบ้างโดยใช้  ColourLookup ส่วนในตอนท้ายก็ปรับสีด้วย Grade อีกที ไม่ยากครับปรับให้รู้สึกเป็นกลางคืนแค่นั้น :D &lt;/div&gt;&lt;div&gt;ในตอนท้ายตอน Grade สีควร up สีต่างๆขึ้นเล็กน้อยให้พอเห็นเช่นสีแดงเพราะตอน Colour Lookup ก็กดลงมืด ยังไงก็ต้องคืนไปให้เห็นว่าตัวละครเมดใส่สีแดงเพราะมันเป็น details&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;**ในที่นี้ใช้ NukeX 6.0v1 ซึ่งมี Built-in Keylight มาให้ด้วย[ตัว Nuke 6 ก็มี Keylight ให้มาเลยเหมือนกัน]&lt;/div&gt;&lt;div&gt;แล้วก็มี Track 3D, FurnaceCore อีกต่างหากแล้วก็ Roto-Paint อันใหม่ที่อยู่ใน node เดียวเลยก็สะดวกไปอีกแบบ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;มาดูกันเลยดีกว่า กับ Day For Night บน Nuke&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Zi3x05BGySc&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/Zi3x05BGySc&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-1621710340097761774?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/1621710340097761774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=1621710340097761774' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1621710340097761774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1621710340097761774'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/02/day-for-night.html' title='Day for Night'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-69933401838316344</id><published>2010-01-01T10:56:00.000-08:00</published><updated>2010-02-05T20:38:05.944-08:00</updated><title type='text'>3D composite ใน After Effects</title><content type='html'>&lt;p style="clear: both"&gt;&lt;a href="http://www.updatepic.com/out.php/i15686_01Modeling.gif" class="image-link"&gt;&lt;img src="http://www.updatepic.com/out.php/t15686_01Modeling.gif" height="94" align="left" width="150" style=" display: inline; float: left; margin: 0 10px 10px 0;" /&gt;&lt;/a&gt;ก่อนอื่นที่ต้องเป็นก็คือ&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;1. 3D สักอันที่ต้องเป็น Blender, 3DsMax, Maya, Houdini, Soft Image ฯลฯ&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;2. Photoshop ต้องเป็น&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;3. After Effects ต้องเป็น [ ก็แหง๋แหละ :D ]&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;ทีนี้เราก็มา Model สักอันบน 3D ที่เราถนัด ในที่นี้ผมเพื่งดู avatar มาเลยโมตัวยานแบบคร่าวๆละกันในที่นี้ผมใช้ Houdini ละกัน&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;ต่อมาเมื่อ map สีหรือ texture อะไรเสร็จจนพอใจก็ export ออกมาเป็น .3ds หรือ .obj ก็ได้ ในที่นี้ผมใช้ obj ที่มี .mtl ด้วย มันจะได้เอาไว้อิงสีหรือตำแหน่ง texture และ texture ที่เราใส่เข้าไปใน object &lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;ต่อมาก็เอาเข้า Photoshop สร้าง comp เปล่าๆ 768 x 576 มาและก็ไปที่ 3D/New Layer from 3D file.... ก็จะได้เป็นดังนี้ ซึงมันรับ format ได้ 3ds, obj, kmz, u3d, dae&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;save ให้เรียบร้อย&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;ต่อมาก็เอาเข้า after effects โดย เลือกเป็น composition ติ๊ก live 3D ด้วย จะ merge ไม่ merge ก็แล้วแต่เรา แต่ไม่ merge ดีกว่า จะได้แก้ไขง่ายเวลา comp ไม่ว่าจะเรื่องสี ฯลฯ ก็จะได้&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;ทีนี้ก็ animate ตอนนี้เราก็อยู่ใน 3D space แล้ว ใช้ layer Controller นะ นอกนั้นมันจะไม่ให้ปรับนอกจาก Camera กับ Controller&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;นี่แหละคือ 3D composite ของแท้ คงมีประโยชน์บ้างนะครับ&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;img src="http://www.updatepic.com/out.php/i15687_02Obj.gif" height="208" align="left" alt="Free Image Hosting At site" width="127" style=" display: inline; float: left; margin: 0 10px 10px 0;" /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;img src="http://www.updatepic.com/out.php/i15688_0313dimport.gif" height="119" align="left" alt="Free Image Hosting At site" width="314" style=" display: inline; float: left; margin: 0 10px 10px 0;" /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;img src="http://www.updatepic.com/out.php/i15689_0323dimport.gif" height="162" align="left" alt="Free Image Hosting At site" width="304" style=" display: inline; float: left; margin: 0 10px 10px 0;" /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;img src="http://www.updatepic.com/out.php/i15690_043dPhotoshop.gif" height="628" align="left" alt="Free Image Hosting At site" width="814" style=" display: inline; float: left; margin: 0 10px 10px 0;" /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;img src="http://www.updatepic.com/out.php/i15691_05ImportAE.gif" height="381" align="left" alt="Free Image Hosting At site" width="452" style=" display: inline; float: left; margin: 0 10px 10px 0;" /&gt;&lt;/p&gt;&lt;p style="clear: both"&gt;&lt;a href="http://www.updatepic.com/out.php/i15692_06AEfinal.gif" class="image-link"&gt;&lt;img src="http://www.updatepic.com/out.php/t15692_06AEfinal.gif" height="94" align="left" alt="Free Image Hosting At site" width="150" style=" display: inline; float: left; margin: 0 10px 10px 0;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br class='final-break' style='clear: both' /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-69933401838316344?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/69933401838316344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=69933401838316344' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/69933401838316344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/69933401838316344'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2010/01/3d-composite-after-effects.html' title='3D composite ใน After Effects'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-845004163949712932</id><published>2009-12-31T22:57:00.001-08:00</published><updated>2009-12-31T23:10:19.968-08:00</updated><title type='text'>mocha Shape data กับ The Foundry Nuke/Apple Shake</title><content type='html'>ก็ต่อจาก mocha อันเมื่อกี๊เลยนะครับแต่เรา export ออกมาเป็น shake rotoshape&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:'Lucida Grande', serif;font-size:100%;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; "&gt;&lt;img src="http://www.updatepic.com/out.php/i15669_02forshakeNuke.gif" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;เปิด Nuke ขึ้นมา แล้วเรียก ssf import ซึ่งของ shake ก็เรียกเขาไปได้แบบนี้เลยเหมือนกัน&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;img src="http://www.updatepic.com/out.php/i15666_01nukeSSF.gif" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;img src="http://www.updatepic.com/out.php/i15667_02nukeSSFimport.gif" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ก็จะได้แบบนี้ครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;a href="http://www.updatepic.com/out.php/i15668_03nuke.gif" target="_blank"&gt;&lt;img src="http://www.updatepic.com/out.php/t15668_03nuke.gif" alt="Free Image Hosting At site" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;* ส่วนใครที่ใช้ motor ก็ export มาเป็น .ssf ได้เหมือนกันครับ  แต่ถ้าใครใช้ mocha ก็ไม่ต้องไปหา motor มาเพื่ม เพราะ mocha มี function ให้ใช้งานเยอะกว่าและ export data ออกมาได้มากกว่า motor *&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-845004163949712932?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/845004163949712932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=845004163949712932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/845004163949712932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/845004163949712932'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/12/mocha-shape-data-foundry-nukeapple.html' title='mocha Shape data กับ The Foundry Nuke/Apple Shake'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-2826502834160712183</id><published>2009-12-31T22:41:00.000-08:00</published><updated>2009-12-31T22:54:10.459-08:00</updated><title type='text'>mocha Shape data กับ After Effects</title><content type='html'>mocha ที่ว่านี่จะใช้ตัวพี่เบิ้มเลยนะ เพราะนอกจาก tracking data ที่จะได้แล้ว ยังเอา shape มาใช้งาน Roto ได้ด้วย ซึ่ง mocha AE v.1 ไม่สามารถทำได้ แต่ถ้า mocha for AE 2 นี่ทำได้นะ&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;ตอนแรกก็ทำการ Track/Roto Footage ที่จะใช้งานมาก่อนในที่นี้เอาปลายปากกาละกัน&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:'Lucida Grande';font-size:11px;"&gt;&lt;img src="http://www.updatepic.com/out.php/i15661_01mochatrack.gif" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;เมื่อได้แล้วก็ Export มาใช้กับ After Effects&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:'Lucida Grande';font-size:11px;"&gt;&lt;img src="http://www.updatepic.com/out.php/i15662_03forAE.gif" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;เรียก plugin mocha shape มา&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:'Lucida Grande';font-size:11px;"&gt;&lt;img src="http://www.updatepic.com/out.php/i15663_04.1forAEpluginMocha.gif" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;แล้วก็ copy to clipboard จาก mocha มาได้เลยก็จะได้&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:'Lucida Grande';font-size:11px;"&gt;&lt;img src="http://www.updatepic.com/out.php/i15664_04.2dataAEpluginMocha.gif" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande', serif; font-size: 11px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;a href="http://www.updatepic.com/out.php/i15665_05forAEimport.gif" target="_blank"&gt;&lt;img src="http://www.updatepic.com/out.php/t15665_05forAEimport.gif" alt="Free Image Hosting At site" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;ก็เป็นอันเรียบร้อยในการเอา Shape จาก mocha มาใช้ใน AE &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-2826502834160712183?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/2826502834160712183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=2826502834160712183' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2826502834160712183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2826502834160712183'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/12/mocha-shape-data-after-effects-nuke.html' title='mocha Shape data กับ After Effects'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-2987038621444576456</id><published>2009-12-26T03:04:00.000-08:00</published><updated>2009-12-26T03:10:22.544-08:00</updated><title type='text'>After Effects tips/tricks</title><content type='html'>เนื่องจากเวบ www.thaiafterfx.com ของพี่ neyo มีปัญหา Tips/Tricks ที่ผมเคยทำเอาไวก็เลยหายไปกับ data base เดิม  ทีนี้ผมก็เลยจะรวมไว้ที่ blog ผมเอาไว้เพื่อการศึกษาก็แล้วกันครับ&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;การทำ Template เวลาเข้าคิวจะได้ไม่ต้องไปตั้งค่ามากหลาย Step&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px; white-space: pre;"&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Jw_EhYgMFYk&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/Jw_EhYgMFYk&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px; white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; white-space: normal; "&gt;การเปลี่ยนฤดูไปเป็นหิมะ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/aNTN4eW9PSc&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/aNTN4eW9PSc&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px; white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; white-space: normal; "&gt;การ Rotoshape โดยใช้ Tracking&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/rwlWeXX-d88&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/rwlWeXX-d88&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px; white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Georgia, serif; font-size: 16px; white-space: normal; "&gt;การ Key Background โดยใช้ Primatte&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/3bVYt2pOL_M&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/3bVYt2pOL_M&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: 10px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-2987038621444576456?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/2987038621444576456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=2987038621444576456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2987038621444576456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2987038621444576456'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/12/after-effects-tipstricks.html' title='After Effects tips/tricks'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-8879337917053578565</id><published>2009-11-23T21:07:00.000-08:00</published><updated>2009-11-24T04:29:58.672-08:00</updated><title type='text'>Python ใน Nuke</title><content type='html'>เรามาลอง Python บน Nuke กันบ้าง&lt;div&gt;มีหลายๆกรณีที่เราต้องใช้ Node เป็นคู่ๆ หรือมากกว่านั้น อย่าง IBK เราก็ต้องเรียก IBKColour กับ IBKGizmo หรือเวลาเราใช้งาน file Photoshop ที่เป็น Layered หลายๆ Layered ก็ต้องเรียก Shuffle กับ Premult ขึ้นมาใช้คู่กัน&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ทีนี้เราจะไปเรียกที่ละ node อยู่บ่อยๆ มันก็เสียเวลา เราจะมาทำการเรียกคู่ node ที่ใช้บ่อยๆโดยใช้ Python เรียกมากัน&lt;/div&gt;&lt;div&gt;ผมจะยกตัวอย่าง Photoshop ที่เราทำมาเป็น Layers ที่มี Transparency ติดมาด้วย[ซึ่งเป็นเหตุที่ต้องใช้ premult]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; ; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;font-family:Arial, Helvetica, sans-serif;font-size:10px;"&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/YELVM3NqHLY&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/YELVM3NqHLY&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Code ที่ใช้&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:'Lucida Grande';font-size:11px;"&gt;&lt;img src="http://www.updatepic.com/out.php/i13588_Picture1.png" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ภายหลังเราเรียกทั้งหมดโดยใช้ def PS (): เพื่อต่อไปจะได้เรียกใช้ให้ไวขึ้น&lt;/div&gt;&lt;div&gt;จะเห็นว่า เรียกใช้ไวมากเมื่อมีหลายๆ layered แค่เรียก PS() ใน Script Editor แค่นั้น [จริงๆเรา assign เป็น ปุ่มกดเลยก็ได้ แต่เอาไว้วันหลังละกัน]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;* อันนี้จะมีที่ผมเรียก Python บน Nuke ผิดอยู่ แต่ Python ก็จะบอกว่าบรรทัดไหนมีปัญหาเราก็ไปแก้ อย่างในตัวอย่างนี้ บรรทัดที่&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;mySelected = n.node.selectedNodes() มันจะต้องเป็น mySelected = n.selectedNode()&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ซึ่ง Python ก็จะบอกเรา ทำให้แก้ปัญหาได้ง่ายได้ไว&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;จะเห็นว่าผมทำ Python ทุกครั้งทุก VDO ก็จะมีผิดทุกทีอ่ะ 555  ทั้ง Python บน Nuke หรือบน Maya ก็ตาม &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;แต่ใช้ Python ไม่ต้องกลัวว่าจะไม่รู้ว่าผิดตรงไหน เดี๋ยว Python มันบอกเรามาเองแหละ :D    &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-8879337917053578565?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/8879337917053578565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=8879337917053578565' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8879337917053578565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8879337917053578565'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/11/python-nuke.html' title='Python ใน Nuke'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-5473646557897994837</id><published>2009-11-19T21:33:00.000-08:00</published><updated>2009-11-19T21:45:43.729-08:00</updated><title type='text'>Roto in Nuke</title><content type='html'>การ roto shape ทั้งหลายไม่ว่าจะเป็น Object หรือ Organic มันจะมีจุดๆนึงให้เราสามารถที่จะ track เพื่อเป็น Reference ของ Roto ที่เราจะทำใน Shape ต่างๆ ซึ่งมันจะทำให้ Roto ได้ไวขึ้นมากกว่าเดิมที่เคยทำ&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;พอมี tracking data แล้ว การ Roto shape ต่างๆ จะทำให้ขยับ Keyframe น้อยมาก [หรืออย่างน้อยก็ไม่ต้อง Roto มันทุกๆ Frames ซึ่งมันทำให้เสียเวลา] &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;มาดู VDO กัน&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Part 01&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; ; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;font-family:Arial, Helvetica, sans-serif;font-size:10px;"&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/qDy3Y2HC2Is&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/qDy3Y2HC2Is&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre;font-size:10px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre;font-size:10px;"&gt;&lt;span class="Apple-style-span"   style="  white-space: normal; font-family:Georgia, serif;font-size:16px;"&gt;Part 02&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; ; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;font-family:Arial, Helvetica, sans-serif;font-size:10px;"&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ogS-c4LH31s&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/ogS-c4LH31s&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre;font-size:10px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre;font-size:10px;"&gt;&lt;span class="Apple-style-span"   style="  white-space: normal; font-family:Georgia, serif;font-size:16px;"&gt;จะมีบางช่วงที่เรา roto แล้ว อาจจะเห็น Background หน่อยๆก็ใช้ Filter Erode alpha โดยบีบเข้ามานิดนึง ซึ่งคำสั่งนี้ก็จะเหมือนกับ Contact บน Photoshop เวลาที่เราทำ Mask น่ะครับ &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;หลังจากนั้นเวลาซ้อน Background ใหม่เข้าไปผลที่ได้ก็ดูเนียนเลยทีเดียว&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ใน VDO ตัวอย่างที่ทำให้ดู ผมทำแบบให้ get idea นะ ไม่ได้ทำทั้งตัว แต่ก็ใช้หลักการเดียวกันนี่แหละ ทำ Roto เนียนๆได้  กับทุก Shot ทุกแบบเลยครับ&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, Helvetica, sans-serif;font-size:85%;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre;font-size:10px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-5473646557897994837?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/5473646557897994837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=5473646557897994837' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/5473646557897994837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/5473646557897994837'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/11/roto-in-nuke.html' title='Roto in Nuke'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-1063296435141609086</id><published>2009-11-16T03:28:00.000-08:00</published><updated>2009-11-16T03:57:51.475-08:00</updated><title type='text'>Animate หนอนแบบง่ายๆด้วย Python</title><content type='html'>จริงๆหนอนมันไม่ได้เคลื่อนที่งี้หรอก  คิดซะว่ามันเคลื่อนที่ในน้ำละกัน เพราะให้มันขยับง่ายๆขึ้นลงๆเอง&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;เรียกใช้ pi[ ไพ = 22/7 ที่เราเคยเรียนน่ะแหละ] แล้วก็ sin เรียกเข้ามาใช้&lt;/div&gt;&lt;div&gt;โดย from math import pi, sin&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ดูเลยละกันเนอะ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; ; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;font-family:Arial, sans-serif;font-size:10px;"&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/519vxRmzUCg&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/519vxRmzUCg&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Code ที่ใช้&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family:'Lucida Grande';font-size:11px;"&gt;&lt;img src="http://www.updatepic.com/out.php/i13177_Picture2.jpg" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:'Lucida Grande', serif;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;font-size:11px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;อันนี้ค่อนข้างซับซ้อนเหมือนกันนะ ยิ่งไม่ชอบ math แต่ก็ เป็นสิ่งที่เราเคยเรียนมาแล้วอ่ะแหละ&lt;/div&gt;&lt;div&gt;หา IDE มาสักอันเวลาเขียน Python ก็สะดวกดีนะ ถ้าไปเขียนบน Script Editor บนมายา งงแน่ๆ&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-1063296435141609086?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/1063296435141609086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=1063296435141609086' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1063296435141609086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/1063296435141609086'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/11/animate-python.html' title='Animate หนอนแบบง่ายๆด้วย Python'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-8392295139315929007</id><published>2009-11-15T21:41:00.000-08:00</published><updated>2009-11-15T21:52:48.571-08:00</updated><title type='text'>แปลงจาก MEL ไปเป็น Python ใน Maya</title><content type='html'>ผมจะสาธิตการแปลงโค๊ดจาก MEL ที่เราคุ้นเคยกันดี ไปเป็น Python ซึ่งตัวอย่างนี้ผมไม่ได้ใช้ PyMEL นะ&lt;div&gt;คนที่ไม่ได้ลง PyMEL ก็จะได้เข้าใจด้วย  แต่ถ้าใช้ PyMEL จะสั้นกว่านี้เยอะใครที่ลง PyMEL แล้วก็ไปลองทำกันเองได้ ไม่ยาก&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ดู VDO กันเลย&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; ; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;font-family:Arial, sans-serif;font-size:10px;"&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/kagqAmUMn8I&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/kagqAmUMn8I&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;code MEL ที่ใช้ทำ Spiral Sphere&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" color: rgb(102, 102, 102); font-size:17px;"&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="color: rgb(204, 204, 204); line-height: 22px;   font-family:Arial, Helvetica, sans-serif;font-size:13px;"&gt;&lt;pre class="exampletext" style="background-color: rgb(237, 241, 243); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(154, 170, 180); border-right-color: rgb(154, 170, 180); border-bottom-color: rgb(154, 170, 180); border-left-color: rgb(154, 170, 180); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; text-align: left; margin-left: 10px; margin-right: 6px; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 153); "&gt;&lt;b&gt;&lt;span class="Apple-style-span"   style="color: rgb(0, 0, 0); font-weight: normal; white-space: normal;   font-family:Georgia, serif;font-size:16px;"&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;//Create new scene in MEL&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;file -f -new;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande; min-height: 16.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;//Create spiral function in MEL&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;for ($i=0;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;$i&lt;100;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;$i+=1)&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;{&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;float $sine=sin($i)*($i*0.25);&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;float $cosine=cos($i)*($i*0.25);&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;sphere -p $cosine 1 $sine;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;code Python ที่ใช้ทำ Spiral Sphere&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" color: rgb(102, 102, 102); font-size:17px;"&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="color: rgb(204, 204, 204); line-height: 22px;   font-family:Arial, Helvetica, sans-serif;font-size:13px;"&gt;&lt;pre class="exampletext" style="background-color: rgb(237, 241, 243); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(154, 170, 180); border-right-color: rgb(154, 170, 180); border-bottom-color: rgb(154, 170, 180); border-left-color: rgb(154, 170, 180); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; text-align: left; margin-left: 10px; margin-right: 6px; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 153); "&gt;&lt;b&gt;&lt;span class="Apple-style-span"   style="color: rgb(0, 0, 0); font-weight: normal; white-space: normal;   font-family:Georgia, serif;font-size:16px;"&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;import maya.cmds as mc&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande; min-height: 16.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;#Create new scene in Python&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;mc.f=newFile(f=1)&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande; min-height: 16.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;#Create spiral function in Python&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;i=0&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;for i in range(100):&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;mysin = sin(i)*(i*.25)&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;mycosine = cos(i)*(i*0.25)&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;mysphere = mc.polySphere()&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Lucida Grande"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;move(mysin,mycosine,0)&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;ก็จะเห็นว่า จาก MEL ที่ดู อ่านยากๆงงๆ พอมาเป็น Python  ก็อ่านง่ายดูง่ายกว่า MEL  [หรือเปล่า ? บางคนอาจจะบอกว่า มันอ่านง่ายกว่าตรงไหนฟระ 555]&lt;div&gt;แต่จริงๆแล้ว Python มันอ่านง่ายกว่า MEL จริงๆอ่ะแหละ ถ้าเราลองคุ้นเคยกะมัน มันก็ไม่ยากหรอกครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ตอนแรกมันจะเหมือนยาขมครับ แต่ต่อไปมันจะเหมือนน้ำหวานไปเอง ไม่ว่าจะ MEL หรือ Python&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-8392295139315929007?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/8392295139315929007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=8392295139315929007' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8392295139315929007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8392295139315929007'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/11/mel-python-maya.html' title='แปลงจาก MEL ไปเป็น Python ใน Maya'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-3139942767165290148</id><published>2009-11-12T23:23:00.001-08:00</published><updated>2009-11-14T21:09:16.855-08:00</updated><title type='text'>PyMEL บน Maya</title><content type='html'>คนที่สนใจ python ซึ่งมันมีบน Maya อยู่แล้ว ก็น่าจะรู้จัก PyMEL ด้วย ซึ่ง Luma Pictures เขาเป็นคนพัฒนามาคนแรก ซึ่งทำให้คำสั่ง Python บน Maya สั้นลง กระชับขึ้น อ่านง่าย[จริงๆมันก็อ่านง่ายอยู่แล้วแหละ]&lt;div&gt;จะได้ไม่ต้องมานั่ง import maya.cmds as cmds อะไรแบบนี้ มาถึงก็ใส่ตูมๆได้เลย&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;เวบของ &lt;b&gt;&lt;a href="http://code.google.com/p/pymel/"&gt;PyMEL&lt;/a&gt; &lt;span class="Apple-style-span" style="font-weight: normal; "&gt;ตอนนี้เป็น version 0.9.2&lt;/span&gt;&lt;/b&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ทีนี้เมื่อลง PyMEL แล้ว ลองมาเขียน Python script ง่ายๆกัน&lt;/div&gt;&lt;div&gt;ในที่นี้ยกตัวอย่างง่ายๆ เอา Sphere กลมๆมาเลียนแบบแกน x y z กันดีกว่า&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; ; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;font-family:Arial, sans-serif;font-size:10px;"&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/XbthWt4gui0&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/XbthWt4gui0&amp;amp;hl=en_GB&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;โค้ดที่ใช้ใน VDO นี้&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  color: rgb(204, 204, 204); line-height: 22px; font-family:Arial, Helvetica, sans-serif;font-size:13px;"&gt;&lt;pre class="exampletext" style="background-color: rgb(237, 241, 243); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(154, 170, 180); border-right-color: rgb(154, 170, 180); border-bottom-color: rgb(154, 170, 180); border-left-color: rgb(154, 170, 180); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; text-align: left; margin-left: 10px; margin-right: 6px; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 153); "&gt;&lt;b&gt;&lt;span class="Apple-style-span"   style="color: rgb(0, 0, 0); font-weight: normal; white-space: normal;   font-family:Georgia, serif;font-size:16px;"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;#create new scene&lt;/div&gt;&lt;div&gt;f=newFile(f=1)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#create NURBs sphere&lt;/div&gt;&lt;div&gt;s=sphere()&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#create functions for x y z as spheres&lt;/div&gt;&lt;div&gt;#begin X&lt;/div&gt;&lt;div&gt;x=1&lt;/div&gt;&lt;div&gt;while x&lt;10:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;select()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;duplicate()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;move(0,2*x,0)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;x+=1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#begin Y&lt;/div&gt;&lt;div&gt;y=1&lt;/div&gt;&lt;div&gt;while y&lt;10:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;select()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;duplicate()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;move(0,0,2*y)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;y+=1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#begin Z&lt;/div&gt;&lt;div&gt;z=1&lt;/div&gt;&lt;div&gt;while z&lt;10:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;select()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;duplicate()&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;move(2*z,0,0)&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;z+=1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#print when finish&lt;/div&gt;&lt;div&gt;print 'Finished'&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;จะเห็นว่า ไม่ยากเลย python ใช้ได้กับหลายๆโปรแกรมด้วยที่ Support Python เช่น Nuke, Maya, Houdini, Vue, Blender ฯลฯ ฝึก Python ไว้ ไม่เสียหลายนะ รู้ภาษาเดียวใช้ได้หลายโปรแกรมเลย&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-3139942767165290148?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/3139942767165290148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=3139942767165290148' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3139942767165290148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3139942767165290148'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/11/pymel-maya.html' title='PyMEL บน Maya'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-7484514587046605023</id><published>2009-11-10T01:59:00.000-08:00</published><updated>2009-11-10T02:35:39.156-08:00</updated><title type='text'>รีทัชภาพไปเป็นหิมะ</title><content type='html'>ทำบน Nuke ดูเลยละกันเนอะ&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/v8hJUpLSelM&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/v8hJUpLSelM&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x234900&amp;amp;color2=0x4e9e00" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ผมเคยเห็นวิธีนี้ที่ cmiVFX แต่ตอนนั้นมัน Nuke 4 โน่นแนะ ตอนนี้มัน 5 จะไป 6 หกอยู่แล้ว [Shake ยังนำหน้า Nuke อยู่เยอะเลยตอนนั้น แต่ตอนนี้ก็กลับกันแล้ว]&lt;/div&gt;&lt;div&gt;UI มันจะต่างกันนิดหน่อยจากตอนนั้น แต่ก็ไม่มากนะ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ภาพ ภูเขาหินปูน เอามาจากเวบ www.werthai.com/iggp/index6.htm ครับผม&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-7484514587046605023?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/7484514587046605023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=7484514587046605023' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7484514587046605023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7484514587046605023'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/11/blog-post.html' title='รีทัชภาพไปเป็นหิมะ'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-6298014499612225687</id><published>2009-11-07T02:23:00.000-08:00</published><updated>2009-11-07T18:32:03.174-08:00</updated><title type='text'>IBKKeyer</title><content type='html'>ใน Nuke ตัว Keyer ที่คล้ายๆ Keylight ที่สุดก็คือ IBKKeyer นี่แหละ ผมว่าผลลัพท์มันก็ออกมาดีเหมือนกัน&lt;div&gt;นอกจาก Primatte, Keylight หรือ Ultimatte แล้ว ผมว่า IBK นี่ก็เป็นอีกหนึ่งทางเลือกที่ไม่ควรมองข้ามเลย&lt;/div&gt;&lt;div&gt;Setup ก็ไม่ยากด้วย ใน VDO ก็เป็นวิธีที่ผมใช้อยู่บ่อยๆ  แต่จากที่เคยดูคนอื่นๆก็มีวิธีการ Setup IBK ที่ต่างๆกันไป ขึ้นอยู่กับเน้นกันแค่ไหนใน Shot นั้นๆ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ที่ผม setup ใน vdo นี้ก็เป็นแบบง่ายๆอาจต้องแต่งกันอีกนิด แต่ต้องการให้เห็นว่า IBK ก็ไม่ธรรมดาเหมือนกันนะ หุหุ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; ; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important; opacity: 1.000 !important; -moz-opacity: 1 !important; filter: alpha(opacity=1) !important;font-family:Arial, sans-serif;font-size:10px;"&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Vygdm4ecW2w&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/Vygdm4ecW2w&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;[ภาพที่เอามาใช้ Key มาจาก www.hollywoodcamerawork.us ครับผม]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;*พอดีกะลังมันเลยทำต่อจากแบบ IBK Keyer แล้วก็แบบ Primatte ด้วย* คลิ๊คดูภาพใหญ่ได้&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Lucida Grande', serif;"&gt;&lt;span class="Apple-style-span" style="font-size: -webkit-xxx-large; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 11px; "&gt;&lt;a href="http://www.updatepic.com/out.php/i12660_Picture4.gif" target="_blank"&gt;&lt;img src="http://www.updatepic.com/out.php/t12660_Picture4.gif" alt="Free Image Hosting At site" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-6298014499612225687?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/6298014499612225687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=6298014499612225687' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/6298014499612225687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/6298014499612225687'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/11/ibkkeyer.html' title='IBKKeyer'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-2446695544300788564</id><published>2009-10-08T22:02:00.000-07:00</published><updated>2009-10-08T22:09:28.433-07:00</updated><title type='text'>Basic Render</title><content type='html'>ใน Houdini ขั้นตอนในการ render ออกมาเป็น image sequence ก็จะมีขั้นง่ายเลยหลังจากที่เราทำอะไรใน scene เรียบร้อยหมดแล้วน่ะครับ&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1 สร้างกล้อง&lt;/div&gt;&lt;div&gt;2 สร้าง Render Engine ในที่นี้ก็คือ Mantra นั่นเอง ถ้าจะใช้ตัวอื่นๆเช่น RenderMan หรือ Mental ray ก็เลือก RenderMan ฯลฯ เป็น Render Engine Node ไป&lt;/div&gt;&lt;div&gt;3 เลือก output path ที่เราจะเก็บ sequence แล้วก็ใส่ myRender.$F.jpg ต้องการไฟล์นามสกุลอะไรก็ใช่ไปในที่นี้ยกตัวอย่าง .jpg ละกัน&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ดู VDO อันนี้&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/KpJRfTswVEc&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/KpJRfTswVEc&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;คงมีประโยชน์บ้างนะครับ&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-2446695544300788564?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/2446695544300788564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=2446695544300788564' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2446695544300788564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2446695544300788564'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/10/basic-render.html' title='Basic Render'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-4887536172662120444</id><published>2009-10-06T04:36:00.000-07:00</published><updated>2009-10-06T09:06:13.179-07:00</updated><title type='text'>Particle to Geometry</title><content type='html'>ที่เวบของพี่ neyo เซียน After Effects แห่ง &lt;a href="http://www.thaiafterfx.com/"&gt;Thaiafterfx.com&lt;/a&gt; ของพวกเรา มีสมาชิกท่านนึงมาถามเรื่อง Effect ในเรื่อง The Mummy ภาคเก่า  &lt;a href="http://www.thaiafterfx.com/index/index.php/2008-10-08-16-22-33?func=view&amp;amp;catid=2&amp;amp;id=8893"&gt;ที่กระทู้นี้ &lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ที่นี้ผมก็ตอบไปโดยมีคำว่า Particle to Geo ก็อาจจะงงว่า มันเป็นยังไง แบบไหน ?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Particle to Geometry [Particle2Geo] ก็คือเอาเม็ดๆ particle มาเกิดกำเนิดที่ surface หรือผิวของ Geometry หรือก็คือโมเดลที่เราโมเอาไว้เพื่อจะให้มันไปกำเนิดน่ะครับ &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ก็ดู VDO นี้ละกันครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; font-family:Arial, sans-serif;font-size:10px;"&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/kU1vG93SwNU&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/kU1vG93SwNU&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;คงมีประโยชน์บ้างนะครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ส่วนอันนี้ถ้าไม่ Emit particle ต่อ เราก็เป่าด้วย Fan ก็ไปแบบดื้อๆเงี้ยเลย ดูแปลกๆดี เพราะไม่ได้ใส่ Gravity (g) น่ะครับ ∑F=ma ทีนี้ a=0  ,ผลก็เลย ∑F = 0 เมื่อโดนแรง fan node กระทำก็วิ่งยาวสุด timeline อ่ะคับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; font-family:Arial, sans-serif;font-size:10px;"&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/y_GC7hUuW28&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/y_GC7hUuW28&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-4887536172662120444?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/4887536172662120444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=4887536172662120444' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4887536172662120444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4887536172662120444'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/10/particle-to-geometry.html' title='Particle to Geometry'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-884708658891745065</id><published>2009-09-20T10:54:00.000-07:00</published><updated>2009-09-21T01:36:25.490-07:00</updated><title type='text'>Simulate น้ำผีสิง !!</title><content type='html'>&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC"&gt;พอดีรับ job งานราชด่วนอันนึง ลูกค้าอยากได้ น้ำที่ลอยขึ้นจากผิวน้ำขึ้นไป แล้วก็ตกลงมาแล้วก็ลอยขึ้นไปอีก ( น้ำผีสิงแหง๋ )  แล้วก็ลูกค้าเอา The Ring2 มาให้ผมดู เป็นตอนที่ลูกนางเอกอยู่ในอ่างอาบน้ำแล้วน้ำก็ลอยขึ้นแบบนี้ประมาณนั้นแต่ไม่ขนาดนั้น ( อ่าว แล้วมันยังไงแน่ :D )   อะไรประมาณนี้ เป็น wide กับ medium shot สอง shots จริงๆมันมี Storyboard ด้วยซึ่งค่อนข้างเคลื่อนไหวซับซ้อนพอดูเลยทีเดียว ก็ว่ากันไป&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC; min-height: 21.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC"&gt;ในที่นี้ผมใช้ Houdini Master ในการ Simulate พฤติกรรมน้ำผีสิงตามแบบที่ลูกค้าอยากได้น่ะครับ&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC"&gt;ที่ใช้ก็มี POPs (Particle Operators), CHOPs (Channel Operators) ส่วน SHOPs (Shading Operators) บน Mantra ซึ่งผมไม่ได้ทำให้ดูใน VDO&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC"&gt;แต่ยังไงซะ ก็เลยจะเอามาแชร์กันลืมเพื่อการเรียนรู้น่ะครับ ก็ตาม VDO นี้นะครับ&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC; min-height: 21.0px"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC; min-height: 21.0px"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/nuDFhOZyUoY&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/nuDFhOZyUoY&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC"&gt;ต่อมาก็ลองปรับค่าให้ emit ออกมาจาก vertex แบบ forever เลย ก็ได้คล้ายควันบุหรี่ที่จุดแล้วในห้องที่ไม่มีลม แต่อาจจะต้อง tweak ตรงต้นๆกลางๆกับหางๆควันให้กระจายออกนิดหน่อยถ้าจะเอาไปใช้จริง&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC; min-height: 21.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC"&gt;แล้วก็ลองทำ Tornado แบบที่เขาฮิตๆทำกัน ก็ทำแบบง่ายๆไม่ได้ปรับแต่งอะไร ก็ให้มันวิ่งร่วงมาตาม metaball ที่ reference เอาไว้ &lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC; min-height: 21.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px AngsanaUPC"&gt;ก็สนุกดีครับ คือมันก็ไปได้เรื่อยๆของมันน่ะครับ ถ้าเข้าใจ Black box ( หรือที่เราเรียกว่า node ) แบบนี้อยู่แล้ว กับ Side Effects Houdini&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-884708658891745065?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/884708658891745065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=884708658891745065' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/884708658891745065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/884708658891745065'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/09/simulate.html' title='Simulate น้ำผีสิง !!'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-8403096810660140987</id><published>2009-09-13T06:11:00.000-07:00</published><updated>2009-09-15T00:08:26.166-07:00</updated><title type='text'>การใช้ Open EXR กับ The Foundry Nuke</title><content type='html'>&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"&gt;&lt;span class="Apple-style-span"  style=" ;font-family:Thonburi, serif;"&gt;แต่นี้ต่อไปผมว่า 3D ทั้งหลาย ส่ง render มาให้ 2D เป็น .exr ดีที่สุดครับ เพราะมันสามารถ&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;เก็บ channels ต่างๆได้มากมายใน 1 ไฟล์&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi; min-height: 17.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;มันทำให้การจัดการง่ายเข้าไปอีกไม่เหมือนแต่ก่อนที่ใช้สัก 10 pass ก็ต้องมี 10 file แยกแน่ๆ&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;แต่  Open  EXR  เก็บได้หมดอย่างที่กล่าวมา&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi; min-height: 17.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;โปรแกรม 3D ทั้งหลายเดี๋ยวนี้ Render ออกมาเป็น .exr ได้หมดแล้ว ดังนั้นมาใช้ exr กันเถอะ&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi; min-height: 17.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi; min-height: 17.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande"&gt;&lt;img src="http://www.updatepic.com/out.php/i10425_setUpMaya.gif" alt="Free Image Hosting At site" /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;จากภาพนี่ผมใช้ &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Maya &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;กับ&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; RenderMan Studio &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;นะครับ ก็อยากได้ &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;channel &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;อะไรก็ใส่เข้าไป&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande"&gt;&lt;img src="http://www.updatepic.com/out.php/i10426_singleEXR.gif" alt="Free Image Hosting At site" /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;Render ออกมาก็ได้เป็น file.exr ที่มี channel ที่เราต้องใช้งานอยู่ในนั้นหมด&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;img src="http://www.updatepic.com/out.php/i10522_exrMultichannel.gif" alt="Free Image Hosting At site" /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;เอาเข้า &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Nuke&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; ลอง&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; Drop down &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;ดูก็จะเห็นว่ามี &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Pass &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;channels &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;อะไรบ้างที่เราทำเอาไว้&lt;/p&gt;&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Lucida Grande"&gt;&lt;img src="http://www.updatepic.com/out.php/i10428_testComp.gif" alt="Free Image Hosting At site" /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;ก็&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;Comp&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; ไปตามปกติ โดยใช้&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; node &lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;Shuffle &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;ช่วยแยก&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; channels&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; นั้นๆออกมา&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi; min-height: 17.0px"&gt;&lt;br /&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Thonburi"&gt;สรุป exr เป็นอะไรที่ควรใช้มากๆสะดวกดีมีทุกสิ่ง&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;[multi-channels]&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;ในตัวมัน&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-8403096810660140987?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/8403096810660140987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=8403096810660140987' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8403096810660140987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/8403096810660140987'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/09/open-exr-foundry-nuke.html' title='การใช้ Open EXR กับ The Foundry Nuke'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-624630179120793022</id><published>2009-09-10T04:32:00.000-07:00</published><updated>2009-09-10T04:47:45.198-07:00</updated><title type='text'>การลบอะไรก็แล้วแต่ที่เคลื่อนไหวเข้า frame</title><content type='html'>Nuke จะมี Plugins จากค่ายเดียวกันที่ทำหน้าทีลบสิ่งเคลื่อนไหว ไม่ว่าจะ คน สัตว์ สิ่งของ ถ้าเคลื่อนไหวแล้วอยากจะลบเนื่องด้วยอะไรก็แล้วแต่ ก็สามารถทำได้&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ผมจะยกตัวอย่างง่ายๆที่ใช้ F-RigRemoval แล้วก็จะใช้ร่วมกับ Pre-Comp ที่เพื่งจะมีในเวอร์ชั่นนี้&lt;/div&gt;&lt;div&gt;ส่วนตัวเคยใช้ F-RigRemoval มาแล้วบน Shake ค่อนข้างกินพลังเครื่องเลย ถ้ามี Pre-Comp ช่วยจะได้ทำให้ไวขึ้นได้บ้าง&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ในการใช้งานส่วนตัว เวลาถ่ายทำบางทีจะมีพวก รถ รถจักยาน หรืออะไรก็แล้วแต่ที่เราไม่ต้องการเข้ามาอยู่ใน frame ตลอด ซึ่งบางที่เป็นการวางกล้องไว้ถ่าย เขาก็จะเข้ามาใน frame โดยที่ไม่รู้ตัว กรณีแบบนี้ถ้าลบได้ผมจะลบหมดเพื่อไม่ให้มีปัญหาภายหลัง ยิ่งเห็นกล้องยิ่งมองกล้องนี่ยิ่งต้องลบ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ดู VDO ลบแบบง่ายๆ&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span"  style="font-family:Georgia, serif;"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; font-family:Arial, sans-serif;font-size:10px;"&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Y5v1I3M5H5w&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x2b405b&amp;amp;color2=0x6b8ab6"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/Y5v1I3M5H5w&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0x2b405b&amp;amp;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial, sans-serif;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre;font-size:-webkit-xxx-large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial, sans-serif;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre;font-size:-webkit-xxx-large;"&gt;&lt;span class="Apple-style-span"  style="font-size:130%;"&gt;&lt;span class="Apple-style-span"  style="font-size:16px;"&gt;&lt;span class="Apple-style-span"  style=" white-space: normal; font-family:Georgia, serif;"&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" white-space: pre; font-family:Arial, sans-serif;"&gt;ตาม Footage นี้เราอาจใช้วิธี Track Perspective แล้วก็ Paint เอาก็ได้ แต่จะช้าได้ &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" white-space: pre; font-family:Arial, sans-serif;"&gt;แต่อย่างว่าครับ Plugins ราคาแพงก็ทำให้เราประหยัดเวลาตรงนี้ไปได้มากเพื่อจะได้&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style=" white-space: pre; font-family:Arial, sans-serif;"&gt;ไปทำ Shot อื่นๆต่อ&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-624630179120793022?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/624630179120793022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=624630179120793022' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/624630179120793022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/624630179120793022'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/09/frame.html' title='การลบอะไรก็แล้วแต่ที่เคลื่อนไหวเข้า frame'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-3233956643538073445</id><published>2009-09-09T12:17:00.000-07:00</published><updated>2009-09-09T22:02:26.978-07:00</updated><title type='text'>เรียก Nuke ผ่าน Terminal</title><content type='html'>ก็ง่ายๆเลยครับ เรียก terminal ออกมาแล้วก็พิมพ์&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  color: rgb(204, 204, 204); line-height: 22px; font-family:Arial, Helvetica, sans-serif;font-size:12px;"&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  ;font-family:Arial;font-size:13px;"&gt;&lt;pre class="exampletext" style="background-color: rgb(237, 241, 243); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(154, 170, 180); border-right-color: rgb(154, 170, 180); border-bottom-color: rgb(154, 170, 180); border-left-color: rgb(154, 170, 180); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; text-align: left; margin-left: 10px; margin-right: 6px; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 153); "&gt;&lt;b&gt;&lt;span class="Apple-style-span"   style="color: rgb(0, 0, 0); font-weight: normal; white-space: normal;   font-family:Georgia, serif;font-size:16px;"&gt;&lt;div&gt;yourmachine$ alias nuke='/Applications/Nuke5.2v1/Nuke5.2v1.app/Nuke5.2v1'&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;VDO ประกอบ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 10px; white-space: pre; "&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/v9vR10CiMFs&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/v9vR10CiMFs&amp;amp;hl=en&amp;amp;fs=1&amp;amp;rel=0&amp;amp;color1=0xcc2550&amp;amp;color2=0xe87a9f" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ในแบบ bash shell ก็จะเป็นแบบนี้ครับถ้าเราลองพิมพ์&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  color: rgb(204, 204, 204); line-height: 22px; font-family:Arial, Helvetica, sans-serif;font-size:12px;"&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  ;font-family:Arial;font-size:13px;"&gt;&lt;pre class="exampletext" style="background-color: rgb(237, 241, 243); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(154, 170, 180); border-right-color: rgb(154, 170, 180); border-bottom-color: rgb(154, 170, 180); border-left-color: rgb(154, 170, 180); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; text-align: left; margin-left: 10px; margin-right: 6px; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 153, 153); "&gt;&lt;b&gt;&lt;span class="Apple-style-span"   style="color: rgb(0, 0, 0); font-weight: normal; white-space: normal;   font-family:Georgia, serif;font-size:16px;"&gt;&lt;div&gt;nuke -help&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;จะมีอะไรให้เล่นอีกเยอะเลยครับ ซึ่งค่อนข้างสะดวกเวลาสั่ง Render โดยที่ไม่ต้องไปเปิด Nuke ให้เสียเวลา&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-3233956643538073445?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/3233956643538073445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=3233956643538073445' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3233956643538073445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/3233956643538073445'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/09/nuke-terminal.html' title='เรียก Nuke ผ่าน Terminal'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-4212355774768113070</id><published>2009-09-05T11:30:00.000-07:00</published><updated>2009-09-07T00:26:58.265-07:00</updated><title type='text'>Pre-multiply ก่อน import แบบ after effects บน Nuke</title><content type='html'>บางทีเราอาจจะได้รับ Sequence ที่ Pre-multiply มาแล้วเป็นสีต่างๆที่ไม่ใช่สีดำ&lt;div&gt;บน After Effects ตอน import เราสามารถเลือก Pre-multiply ได้ เพื่อไม่ให้เกิดปัญหาตรงขอบเวลา Comp ซึ่งโดยปกติแล้วพวก 3D artist ทั้งหลายควรที่จะส่งงานมาให้ 2D ทำควรที่จะ Pre-multiply  background ดำมาให้มากกว่าสีอื่นเพราะเวลา comp มันจะเกิดปัญหาตรงขอบๆมาให้ต้องตามแก้&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;บน Nuke บางทีเรา Premult node ไปแล้วดูเหมือนจะออก แต่ก็ยังไม่ออกยิ่งดูใกล้ๆก็จะเห็นชัดเจน&lt;/div&gt;&lt;div&gt;ทีนี้เลยทำ Gizmo ขึ้นมาเลียนแบบเวลา import ของ After Effects ที่จะสามารถ Pre-multiply ก่อนนำเข้า bin ได้  มาดู VDO กันก่อนว่าผลที่ได้เป็นยังไง&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  white-space: pre; font-family:Arial, sans-serif;font-size:10px;"&gt;&lt;object width="640" height="505"&gt;&lt;param name="movie" value="http://www.youtube.com/v/Xpzhvp7l714&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/Xpzhvp7l714&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x5d1719&amp;amp;color2=0xcd311b" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;โค๊ดที่ใช้ก็จะเป็น&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  ;font-family:Arial;font-size:13px;"&gt;&lt;pre class="exampletext" style="background-color: rgb(237, 241, 243); border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(154, 170, 180); border-right-color: rgb(154, 170, 180); border-bottom-color: rgb(154, 170, 180); border-left-color: rgb(154, 170, 180); padding-top: 4pt; padding-right: 4pt; padding-bottom: 4pt; padding-left: 4pt; text-align: left; margin-left: 10px; margin-right: 6px; "&gt;&lt;span class="Apple-style-span"  style="color:#009999;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"   style="color: rgb(0, 0, 0);   font-weight: normal; white-space: normal; font-family:Georgia, serif;font-size:16px;"&gt;&lt;div&gt;#! /Applications/Nuke5.2v1/Nuke5.2v1.app/Contents/MacOS/Nuke5.2v1 -nx&lt;/div&gt;&lt;div&gt;version 5.2100&lt;/div&gt;&lt;div&gt;Gizmo {&lt;/div&gt;&lt;div&gt;addUserKnob {20 User l Input}&lt;/div&gt;&lt;div&gt;addUserKnob {26 "" +STARTLINE}&lt;/div&gt;&lt;div&gt;addUserKnob {41 color l "color for premult to" T BG_COLOR.color}&lt;/div&gt;&lt;div&gt;addUserKnob {41 format l "format input" T Reformat1.format}&lt;/div&gt;&lt;div&gt;addUserKnob {26 "" +STARTLINE}&lt;/div&gt;&lt;div&gt;addUserKnob {26 _ l "preMultBG Version 1.0"}&lt;/div&gt;&lt;div&gt;addUserKnob {26 __ l "Gizmo by artslan"}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Input {&lt;/div&gt;&lt;div&gt;inputs 0&lt;/div&gt;&lt;div&gt;name Input1&lt;/div&gt;&lt;div&gt;xpos -251&lt;/div&gt;&lt;div&gt;ypos -230&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Dot {&lt;/div&gt;&lt;div&gt;name Dot1&lt;/div&gt;&lt;div&gt;xpos -251&lt;/div&gt;&lt;div&gt;ypos -190&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;set N1bead330 [stack 0]&lt;/div&gt;&lt;div&gt;push $N1bead330&lt;/div&gt;&lt;div&gt;push $N1bead330&lt;/div&gt;&lt;div&gt;Invert {&lt;/div&gt;&lt;div&gt;channels rgba&lt;/div&gt;&lt;div&gt;name Invert1&lt;/div&gt;&lt;div&gt;xpos -369&lt;/div&gt;&lt;div&gt;ypos -193&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Constant {&lt;/div&gt;&lt;div&gt;inputs 0&lt;/div&gt;&lt;div&gt;channels rgb&lt;/div&gt;&lt;div&gt;format "640 480 0 0 640 480 1 PC_Video"&lt;/div&gt;&lt;div&gt;name BG_COLOR&lt;/div&gt;&lt;div&gt;xpos -491&lt;/div&gt;&lt;div&gt;ypos -294&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Reformat {&lt;/div&gt;&lt;div&gt;format "640 480 0 0 640 480 1 PC_Video"&lt;/div&gt;&lt;div&gt;name Reformat1&lt;/div&gt;&lt;div&gt;xpos -491&lt;/div&gt;&lt;div&gt;ypos -222&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Copy {&lt;/div&gt;&lt;div&gt;inputs 2&lt;/div&gt;&lt;div&gt;from0 rgba.alpha&lt;/div&gt;&lt;div&gt;to0 rgba.alpha&lt;/div&gt;&lt;div&gt;name Copy1&lt;/div&gt;&lt;div&gt;xpos -491&lt;/div&gt;&lt;div&gt;ypos -198&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Premult {&lt;/div&gt;&lt;div&gt;name Premult2&lt;/div&gt;&lt;div&gt;xpos -491&lt;/div&gt;&lt;div&gt;ypos -119&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Merge2 {&lt;/div&gt;&lt;div&gt;inputs 2&lt;/div&gt;&lt;div&gt;operation minus&lt;/div&gt;&lt;div&gt;name Merge1&lt;/div&gt;&lt;div&gt;xpos -285&lt;/div&gt;&lt;div&gt;ypos -119&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Copy {&lt;/div&gt;&lt;div&gt;inputs 2&lt;/div&gt;&lt;div&gt;from0 rgba.alpha&lt;/div&gt;&lt;div&gt;to0 rgba.alpha&lt;/div&gt;&lt;div&gt;name Copy2&lt;/div&gt;&lt;div&gt;xpos -166&lt;/div&gt;&lt;div&gt;ypos -124&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Output {&lt;/div&gt;&lt;div&gt;name Output1&lt;/div&gt;&lt;div&gt;xpos -166&lt;/div&gt;&lt;div&gt;ypos -24&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;end_group&lt;/div&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ตามโค๊ดด้านบนก็คือการ pre-multiply สี input ต่างๆให้เป็นสีดำ จริงๆแล้วไม่ว่าจะเป็น Composite Software อ่ะไร ก็ใช้วิธีการ Pre-multiply แบบนี้ทั้งนั้นครับ&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;ก็ copy ไปใช้เลย Windows/Mac/Linux ก็ copy/paste ไปใช้ได้เลย หรือจะใส่ notepad หรือ textEdit แล้วก็เปลี่ยนนามสกุลเป็น preMultBG.gizmo แล้วก็เอาไปใส่ที่ folder plugins &lt;/div&gt;&lt;div&gt;เวลาเรียกใช้ก็ update all plugin แล้วก็ กด tab พิมพ์ preMultBG เรียกใช้ได้เลย&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-4212355774768113070?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/4212355774768113070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=4212355774768113070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4212355774768113070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4212355774768113070'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/09/pre-multiply-import-after-effects-nuke.html' title='Pre-multiply ก่อน import แบบ after effects บน Nuke'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-4978103547280484279</id><published>2009-09-04T15:12:00.000-07:00</published><updated>2009-09-08T10:54:00.481-07:00</updated><title type='text'>Nuke 5.2v1</title><content type='html'>ใช้งานมาเกือบๆ 7 วัน เวอร์ชั่นนี้ชอบหลายอย่างมากๆ&lt;br /&gt;ที่ว่า อ่าน R3D ของ RED ได้เลยนี่ เรื่องหน้าจะได้ใช้ความสามารถตรงนี้ เพราะใช้ RED One ถ่าย&lt;br /&gt;&lt;br /&gt;แต่ตอนนี้ที่ชอบจริงๆกลับเป็น Precomp แฮะ มันทำให้ Script ที่ใหญ่ๆเวลา Render รู็สึกได้ว่าเร็วเลยแจ่ม&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.updatepic.com/out.php/i10228_nukePicture2.gif" alt="Free Image Hosting At site" /&gt;&lt;br /&gt;&lt;br /&gt;จากนั้นก็แก้ปรับ Path Env มาหาที่ๆเราเก็บพวก Gizmos ต่างๆที่ทำไว้ Path มาที่ Nuke5.2v1 เลย&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.updatepic.com/out.php/i10202_Picture1.png" alt="Free Image Hosting At site" /&gt;&lt;br /&gt;&lt;br /&gt;แล้วก็ทำงานๆๆๆๆ&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-4978103547280484279?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/4978103547280484279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=4978103547280484279' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4978103547280484279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/4978103547280484279'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/09/nuke-52v1.html' title='Nuke 5.2v1'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-2973849616272215348</id><published>2009-08-23T00:52:00.001-07:00</published><updated>2009-09-08T10:55:46.189-07:00</updated><title type='text'>Flipbook FX</title><content type='html'>ผมเห็นโฆษณา &lt;a href="http://www.adintrend.com/show_ad.php?id=4159" &gt;&lt;b&gt;Enfagrow Ax&lt;/b&gt;&lt;/a&gt;  ซึ่งมันมีฉากที่น้องเขาทำ Flipbook ตอนไป Present หน้าชั้นเรียน&lt;br /&gt;&lt;br /&gt;ทีนี้เลยอยากลองมาทำ Shot นั้นบน Nuke บ้าง &lt;br /&gt;&lt;br /&gt;ถ้า Animate ด้วยมือ ผมว่ามันก็เกินไปหน่อย มาทำ Expression แทนผมว่าดีกว่า&lt;br /&gt;ก็ได้เป็นแบบนี้&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/OzLBCf43Ns0&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/OzLBCf43Ns0&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;input frame เป็น (floor(frame/4)*4)&lt;br /&gt;&lt;img src="http://www.updatepic.com/out.php/i9696_Picture2.png" alt="Free Image Hosting At site" /&gt;&lt;br /&gt;&lt;br /&gt;translation x,y เป็น  random(sin(x)/x)&lt;br /&gt;&lt;img src="http://www.updatepic.com/out.php/i9697_Picture4.png" alt="Free Image Hosting At site" /&gt;&lt;br /&gt;&lt;br /&gt;rotate x,y เป็น random( ( (frame % 4)/ 4)-1 ) *2*(sin(frame))&lt;br /&gt;&lt;img src="http://www.updatepic.com/out.php/i9698_Picture5.png" alt="Free Image Hosting At site" /&gt;&lt;br /&gt;&lt;br /&gt;distort ภาพให้ดูเหมือนกระดาษ เป็น (frame%8)*2&lt;br /&gt;&lt;img src="http://www.updatepic.com/out.php/i9699_Picture6.png" alt="Free Image Hosting At site" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.updatepic.com/out.php/i10229_testFlipBook.gif" alt="Free Image Hosting At site" /&gt;&lt;br /&gt;&lt;br /&gt;ได้ไวดีสำหรับการใช้ Expression        แต่ถ้า Animate ด้วยมือ เป็นวันแน่แค่ Shot นี้ Shot เดียว&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-2973849616272215348?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/2973849616272215348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=2973849616272215348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2973849616272215348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/2973849616272215348'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/08/flipbook-fx.html' title='Flipbook FX'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995465190464295681.post-7223292594493248441</id><published>2009-08-16T21:50:00.001-07:00</published><updated>2009-08-18T09:41:00.133-07:00</updated><title type='text'>Showreel</title><content type='html'>&lt;span class="Apple-style-span"   style="  white-space: pre; font-family:Arial, sans-serif;font-size:10px;"&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/qjUtODdfsXM&amp;amp;hl=en&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/qjUtODdfsXM&amp;amp;hl=en&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="font-family:Arial, sans-serif;font-size:100%;"&gt;&lt;span class="Apple-style-span"  style="font-size:12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:Arial, sans-serif;"&gt;&lt;span class="Apple-style-span"  style=" white-space: pre;font-size:-webkit-xxx-large;"&gt;&lt;span class="Apple-style-span"  style=" white-space: normal; font-size:12px;"&gt;Some of my worked for TVCs and a bit feature film [Pre-Viz Naresuan attack of mueng kung shot].&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995465190464295681-7223292594493248441?l=artslan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://artslan.blogspot.com/feeds/7223292594493248441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6995465190464295681&amp;postID=7223292594493248441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7223292594493248441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995465190464295681/posts/default/7223292594493248441'/><link rel='alternate' type='text/html' href='http://artslan.blogspot.com/2009/08/showreel.html' title='Showreel'/><author><name>artslan</name><uri>http://www.blogger.com/profile/11374389106238335101</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_Zg02Bij5lSU/SojeaDq6RpI/AAAAAAAAAAU/6VgQC94g0g4/S220/Picture+1-1.png'/></author><thr:total>0</thr:total></entry></feed>
