This interface is used to control animation functionality, connecting animation sets with the transformation frames that are being animated. The interface has methods to mix multiple animations and to modify blending parameters over time to enable smooth transitions and other effects. Members The ID3DXAnimationController interface inherits from the IUnknown interface. ID3DXAnimationController al..
Controls animation functionality, connecting animation sets to the transformation frames being animated. Definition Visual Basic NotInheritable Public Class AnimationController Inherits Object Implements ICloneable, IDisposable C# public sealed class AnimationController : Object, ICloneable, IDisposable C++ public ref class AnimationController sealed : Object, ICloneable, IDisposable JScript pub..
나의 이해를 돕기 위해 이 내용 저 내용을 다룬다.... bone based animation , skeketal animation 계층적 애니메이션 방식을 좀 더 범용적으로 발전시킨 것이다. 인간의 몸 속에 뼈가 있듯, 3 차원적으로 구성된 뼈대를 만들고 이 뼈대에 메시를 자식으로 붙이는 방식이다. 뼈대는 메시가 아니므로 화면에 렌더는 되지 않는다. 동일한 뼈대 구조를 가진 오브젝트들의 메시만 뼈대에 적용하면 되기 때문에 메모리절약, 다양한 응용 가능하다. 본은 D3DXFRAME 구조체를 통해 기술되며 이 구조체를 통하여 완전한 본 게층 구조 구성이 가능하다. 해당되는 멤버들에 대하여 조금 살펴보자면 //변환 프레임 계층 내의 변환 프레임을 캡슐화한다. struct D3DXFRAME{ LPSTR Nam..
=>.x 파일에 대한 우리가 x 파일로 메시를 로드하려면 D3DXLoadMeshFromX() 함수로 간단하게 로드 가능하지만 애니메이션을 위한 로드작업은 간단하지 않다... 그래도 한번 만들어놓으면 변경할것없이 간단하게 사용이 가능하게 된다. .x 파일에 있는 본 계층 구조부터 로드하기 위한 작업이며 기존에 D3D에 있는 ID3DXAllocateHierarchy 인터페이스를 상속받고 확장하면 마침내 D3DXLoadMeshHierarchyFromX 를 사용할 수있다. D3DXLoadMeshHierarchyFromX() .x 파일을 읽어오는 D3DX의 유틸리티 함수이다. cAllocateHierarchy 클래스로 만들어낸 객체의 포인터를 받아 실제 프레임정보, 메시컨테이너를 만들때 이곳에 있는 함수를 사용한..