Đang chuẩn bị liên kết để tải về tài liệu:
Maya Secrets of the Pros Second Edition phần 9

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

và bật Thực hiện một mục tiêu không-Soft. Nhấp vào Create để làm cho bề mặt cơ thể mềm. 3. Maya sẽ tạo ra một mạng lưới của các hạt tương ứng với vị trí của các lý lịch trên máy bay đó. Hình 7,30 cho thấy các hạt với máy bay tắt. Như một vấn đề của thực tế, hãy vào menu bảng điều khiển persp (chọn Hiển thị → NURBS bề mặt) | 226 chapter 8 The Art of Maya Noise Figure 8.17 The arcCurve with the goldSparks Paint Effects brush attached This expression simply updates the startPtId which references which particle the curve should start from with a random number each time the frame number is a multiple of 20 via the modulo function . If you want the curve to hop to different endpoints update the previous expression appropriately here you might want the endpoints to update when the frame number equals a different number such as 25 or 31. To add Paint Effects to the curve is fairly straightforward as well. Follow these steps 1. Choose Paint Effects Get Brush. In the Visor pane choose Electrical from the Paint Effects tab and then click the goldSparks.mel brush. You can try others as well if you like. 2. Now select the arcCurve and choose Paint Effects Curve Utilities Attach Brush to Curves. This attaches the gold sparks paint brush to your curve you should see little lightning bolts branching from your curve as shown in Figure 8.17. 3 3. Although the default brush is adequate you can tweak the brush a bit to get really nice results. With the stroke selected open the Attribute Editor select the goldSparks1 tab and adjust whatever settings you like. We made some changes to the Brush Profile settings altered the colors in the Shading and Tube Shading sections added some Shader Glow in the Glow section adjusted several of the Tubes settings Creation Growth Turbulence and so forth added some small Gaps and even added a bit of Flow Animation to the strokes. Finally we keyframed the Flow Speed and Gap Size a bit over the animation to get more varied results as the stroke animated over the curve. When done we ended up with a look like Figure 8.18. The full animation noiseyArc.mov and the scene file that created it noisyArc.ma are on the CD for your perusal. Always Learning This chapter has described a number of tools and techniques to produce complex appealing animation using the noise function to .