AE Basic 06 : Mask Path & Shape Layer

มาแล้วๆ หลังจากดองไว้นานเรื่องของ “Mask” ที่ว่าจะสอนตั้งนานแล้ว

ก่อนอื่นมารู้กันก่อนดีกว่าว่า Mask มีหน้าที่อะไร ดูจากรูปนี้เลย..

จากรูปจะเห็นว่ามีเส้นเหลืองๆ มาบังตัวหนังสือของเราอยู่ พูดง่ายๆภาษาชาวบ้านเลยก็คือ การ Mask เนี่ยก็คือ
“การเอารูปร่างต่างๆมาบังวัตถุส่วนที่เราไม่ต้องการเอาไว้ ให้เหลือแค่ส่วนที่ต้องการ” นั่นเอง
สำหรับคนที่เคยใช้ Mask Layer ใน Photoshop หรือ Clipping Mask ใน illustrator น่าจะคุ้นเคยกับหลักการของมันอยู่บ้าง

ส่วนใครที่ไม่เข้าใจ หรืออยากรู้ว่า Mask ในโปรแกรม After effect มันทำยังไงไปดูกันเล้ยย

มารู้จักกับเครื่องมือกันก่อน เครื่องมือหลักๆที่เอาไว้สร้างเส้น Path นั้นจะมีสองอย่างหลักๆ ก็คือ
อย่างแรกจะเป็นเครื่องมือไว้สร้างรูปร้างพื้นฐาน ผมจะขอเรียกมันว่า Shape tool ละกันนะครับ ซึ่งจะประกอบไปด้วย
วัตถุรูปร่างต่างๆ ที่น่าจะใช้งานบ่อยๆ กับอีกอันนึงก็คือ Pen tool ใครที่ใช้ PS หรือ AI ก็คงจะรู้จักกันดี
การทำงานของมันก็เหมือนกันนั่นล่ะ ทีนี้มาดูการใช้กันดีกว่า

ในการจะ mask นั้นเราจะ mask ได้ทีละเลเยอร์แค่นั้นหรือถ้ามีเยอะๆก็จับรวมเป็น composition เดียวกันซะ
แล้วค่อย mask มันก็ได้เหมือนกัน การจะ mask เราต้องคลิกเลือกเลเยอร์ที่ต้องการซะก่อน ถ้าไมไ่ด้เลือกเลเยอร์เลย
ก็จะเป็นการส้ราง Shape Layer ขึ้นมาแทน

หลังจากเลือกเลเยอร์แล้วเราก็สามารถวาด Shape ลงในหน้าต่าง Composition ได้เลย
จะสังเกตได้ว่าภาพในเลเยอร์นั้นๆ ส่วนที่อยู่นอกเหนือ Shape ที่เราวาดขึ้นมาจะหายไป มองไม่เห็นไปเลย

ทีนี้เรามาไล่ดู Mask Properties กันบ้าง ซึ่งยังสามารถปรับแต่งได้และอนิเมทได้อีกด้วย

ช่อง Inverted เป็นการกลับด้านของการ Mask ว่าจะให้มองเห็นส่วนที่อยู่ข้างใน หรือข้างนอกของ Path นั้นๆ
ดูตัวอย่างจ้ะ

Mask Path – คือการเปลี่ยนรูปร่างของ Path ที่เราสร้างขึ้นมา โดยการดัด ขยาย หรืออะไรก็แล้วแต่
(ตรงนี้มีเทคนิคการอนิเมท Mask Path แต่จะสอนในคร้าวหลังนะจ้ะ)

Mask Feather – คือการรปบัความนุ่มของขอบ ยิ่งเยอะยุ่งนุ่ม ยิ่งฟุ้ง

ตัวอย่าง

Mask Opacity – ก็คือความโปร่งแสงนั่นล่ะ จะให้จางๆ หรือเข้มเต็มร้อยก็ได้

Mask Expansion – ค่านี้เป็นเหมือนการปรับขนาดของ Path ให้ขยายออกไป หรือหดเข้ามาตามรูปร่างเดิม

รู้ค่าต่างๆไปแล้วทีนี้มาลองใช้งาน จุดประสงค์ของ Mask หลักๆเลยคือการบังส่วนที่ไม่ต้องการ
แต่เราสามารถนำมาใช้ในการอนิเมทได้ด้วย

ในรูปผมปรับรูปร่างของ Path ที่เฟรมแรกและเฟรมสุดท้ายให้ต่างกัน ทีนี้มาดูผลลัพธ์กัน

จะเห็นว่าตัวอักษรค่อยๆปรากฏขึ้นมา แต่การอนิเมทแบบนี้เหมือนกับ Effect “Linear Wipe” นั่นล่ะ
แต่นี่เป็นตัวอย่างที่แยกขึ้นมาให้ดู เราสามารถสร้างรูปร่างได้หลากหลาย โดยการใช้ Pen tool
หรือการปรับ Mode ต่างๆกันออกไป ใช้ Path สองอันซ้อนกัน เป็นต้น

การใช้ Pen Tool สร้าง Mask

พอปิดเส้น Path ไปแล้วเราก็สามารถใช้ Arrow Tool หรือ Pen tool แก้ไขได้ หรือขยับเป็นรูปร่างอ่านๆ
เพื่อให้เกิดความแปลกตาในการอนิเมทก็ได้

การวาด Path หลายๆอันในเลเยอร์เดียว

Mode ต่างๆ เช่นถ้าสองอันทับกัน แล้วเลือกเป็น Subtract ก็จะเอาเส้นสองเส้นมาตัดกันเพื่อเป็นอีกรูปร่างหนึ่งได้
ส่วนนี้ใครงงๆ ลองเล่น path finder ใน illustrator ดุก่อนนะครับ

Path Finder ใน illustrator

เอาล่ะสำหรับการใช้งาน Mask เบื้องต้นก็มีเพียงแค่นี้ล่ะครับ คราวหน้าจะมาสอนเรื่องเทคนิคการใช้งานต่างๆแบบเจาะลึกขึ้นไปอีก
สำหรับตอนนี้ลาไปก่อนล่ะคร้าบ

2399 Comments

  1. I pray for them, for God to touch their heart propecia for men to buy Materials and methods In a retrospective review 13 patients who underwent dorsal lumbotomy pyeloplasty were compared to 19 patients who underwent laparoscopic pyeloplasty between 1998 and 2003

  2. The compatibility of the mobile tracking software is very good, and it is compatible with almost all Android and iOS devices. After installing the tracking software in the target phone, you can view the phone’s call history, conversation messages, photos, videos, track the GPS location of the device, turn on the phone’s microphone and record the surrounding location.

  3. A division-by-division look at teams getting too much (or too little) respect in the betting markets this preseason. Now that we’ve dropped the numbers on you, you’re probably thinking of placing a bet. On that note, here are a few final thoughts on the current Super Bowl odds this season. If you are looking for the best site to use, make sure to check out BetOnline. The Change column indicates how much each team’s odds have moved and in which direction since the last time they were updated. This shows how the market reacts week to week and can be useful when betting in-season futures odds if the market overreacts to a team’s result. There is a lot of uncertainty with the Ravens at the moment, which is reflected in their Super Bowl odds across the industry. They’re down as low as +2100 on FanDuel Sportsbook, but you can get them at +3300 on BetRivers.
    https://educatorpages.com/site/kubet388/pages/about-me
    The Miami Heat and Portland Trail Blazers meet Sunday in NBA Summer League action at the Thomas & Mack Center. Let’s… Betting in the NBA can be profitable and fulfilling if done properly. But, before we get too far ahead of ourselves, let’s cover the basics of NBA betting. Our NBA computer picks come from our best bet model that simulates every game 10,000 times to predict the final score and provides you with our simulated computer pick winner. The best bet model analyzes tons of data to formulate the computer picks and has zero bias behind the picks. Dimers provides the most accurate NBA predictions and insights. We cover every game in the NBA regular season, NBA Playoffs, and NBA Finals. Plus, Dimers is free and accessible to all. Rely on us for expert analysis, computer picks, and score predictions to make informed betting decisions.

  4. The San Francisco 49ers are given +500 odds to win the 2025 Super Bowl, while the Kansas City Chiefs, who have won three of the past five Super Bowl titles, are given +750 odds. Table 1: NFL Underdogs vs. Point Spread The Chiefs defeated the 49ers in Super Bowl 58 in Las Vegas in overtime, 25-22. One game is all that remains of the 2023-24 NFL season: the Super Bowl. With the expansion of legal sports betting now reaching 38 states, traditional Super Bowl wagers are expected to pass casual wagers for a second consecutive year: The Chiefs are returning to the Super Bowl for the fourth time in five years. KC’s 17-10 win as 4.5-point underdogs at the Baltimore Ravens on Sunday secured the AFC Championship for KC. Kansas City is 2-1 SU & ATS in Super Bowls under QB Patrick Mahomes.  
    https://donovanmsby627306.vidublog.com/27213821/1xbet-company-info
    Argentina – Primera C Australia – NSW League One Join our community of football and betting enthusiasts, engage in discussions, and explore our in-depth analysis to stay ahead of the game. Whether you’re a casual follower or a seasoned bettor, our free football predictions are here to support your passion for the beautiful game for the betting experience. Contact us to join the community. VIP tips consist of daily Zulubet tips. Pay via MPESA Paybill No: 4019119 (TECH VANNAH LIMITED) Account No (Your Phone Number)to get today’s VIP tips via SMS. Once you pay, you will be sent Zulubet Multibet tips via SMS to your mobile number. We will also send a password and a login link. Once you log in, you can access more VIP tips and VIP Jackpot Predictions. See more payment packages Below. Select your preferable VIP Zulubet tips package and pay to get VIP tips.

Leave a Reply

Your email address will not be published. Required fields are marked *