Đang chuẩn bị liên kết để tải về tài liệu:
Character Animation with Direct3D- P19

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

Character Animation with Direct3D- P19:This book is primarily aimed at teaching indie and hobby game developers how to create character animation with Direct3D. Also, the seasoned professional game developer may find some interesting things in this book. You will need a solid understanding of the C++ programming language as well as general object-oriented programming skills. | 346 Character Animation with Direct3D FIGURE 14.15 Decal UV coordinates over a curved surface. Because I m using a plane calculated from the hit position and the triangle normal to calculate the UV coordinates of the decal there will be some stretching when the decal is applied to curved surfaces. You can see this in Figure 14.15 where the positions of the vertices in the texture surface aren t spread out uniformly even though the distance on the mesh surface between the vertices is . This is a problem related to that of using the straight line distance from the hit to the vertex described earlier. If you can calculate the actual distance over the mesh surface from the hit position to the vertex then you can also improve on the UV coordinate calculation. Conclusions This chapter introduced the concept of adding real-time scratches bullet holes etc. to your character using decals. Decals are a great way of adding extra detail or randomness to your characters without having a major impact on texture memory. One thing I haven t covered in this chapter is how to handle a large number of decals. In a first-person shooter game for example the number of bullet-hole-induced decals can quickly rise to several thousands. At some point you need to start removing the decals from the scene or your frame rate will start to drop. Usually you ll need to implement some form of decal manager that keeps track of all the decals in the world and which can remove them according to lease purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Chapter 14 Character Decals 347 Decal position relative to the player Decal age First-in first-out Once a decal has been flagged for removal you can either just pop it out of existence fade it out or wait until the player is looking the other way and then remove it you can easily check the decal position against the player view frustum . One big improvement to this decal system would also be to have normal-mapped decals making it .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.