TAILIEUCHUNG - 3D Graphics with OpenGL ES and M3G- P40

3D Graphics with OpenGL ES and M3G- P40:Mobile phones are the new vehicle for bringing interactive graphics technologies to consumers. Graphics that in the 1980s was only seen in industrial flight simulators and at the turn of the millennium in desktop PCs and game consoles is now in the hands of billions of people. This book is about the technology underpinnings of mobile threedimensional graphics, the newest and most rapidly advancing area of computer graphics. | 374 ANIMATION IN M3G CHAPTER 16 than 180 in 3D space. In practice this means that the dot product of any two adjacent quaternion keyframes must be positive. If this is not the case with your source data you can enforce it by adding extra keyframes for segments that rotate 180 or more in 3D space. Note that each AnimationTrack object only defines the type of property to be animated without specifying an object. An AnimationTrack can therefore be associated with multiple objects to animate the same property in the same way for each one. Similarly a KeyframeSequence can be associated with multiple AnimationTrack objects and hence multiple animation targets of possibly different types. The only restriction is that the keyframe types and animated properties must be compatible. This makes it possible to share the keyframe data between multiple objects while being able to control the animation of each one individually. TIMING AND SPEED Animationcontroller In addition to a KeyframeSequence and an AnimationTrack each individual animation needs an AnimationController to drive the animation. The controller is attached to each AnimationTrack object to define the speed and timing of that particular animation. Again a single controller can be attached to multiple animation tracks and in noninteractive animation a single controller will often handle the entire scene. However using multiple controllers will give you the degree of flexibility you want for playing back multiple animations simultaneously. For example assuming one object with two animation tracks motionTrack and rotationTrack it makes sense to control both using a single controller motionTrack rotationTrack AnimationController control new AnimationController 10000 25000 10000 control control Assuming milliseconds for the time unit this

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.