Re: GetAnimationSet

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On 1 Aug, 05:51, legalize+jee...@xxxxxxxxxxxxxxxxx (Richard [Microsoft
Direct3D MVP]) wrote:
[Please do not mail me a copy of your followup]

Robert <watkins...@xxxxxxxxxxx> spake the secret code
<66991025-b421-47c6-a6b7-bde57fbe9...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> thusly:

Does this syntax look Ok or is it 'On the wonk'?

ID3DXAnimationSet* animation_Ptr;

animation_Ptr = (ID3DXAnimationSet*)&pani;

This line does nothing.  animation_Ptr is going to be written over by
GetAnimationSet.

animator.ppAnimController->GetAnimationSet(0, &animation_Ptr );

--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

I figured that after the original post and then removed the post.But
the question still remains.


If I use (syntax from memory)

LP3DXKeyFramededAnimationSet anim;

anim->Getanimationset(0, myanimationketset )

Then i get the error cannot convert from animationset to
keyframeanimationset;

The two objects being, interfaces, so I cannot change the cast.

(syntax from memory)

but something like

ID_3danimationset* set;


ID_3dkeyframeanimationset * mykeyframeset;

set->

and I kind of reach a dead end?

the strange thing is tha tLP3DXKeyFramededAnimationSet anim;

has the specifuc function ->Getanimationset(0, myanimationketset );

hmm, not quite sure where to go with this one?








.



Relevant Pages

  • [PATCH 5/5] kexec: update documentation
    ... Mention new crashkernel= syntax in documentation. ... +For large systems with huge amount of memory dump-capture kernel ... Boot into System Kernel ...
    (Linux-Kernel)
  • Re: [tip:core/memblock] x86, memblock: Fix crashkernel allocation
    ... To me the best thing would be that this whole allocation thing be dyanmic ... determine what are the memory contstraints on these segments (min, ... and get rid of this notion of reserving memory at boot time. ... about if we specify it explicitly in the syntax so that kernel does not ...
    (Linux-Kernel)
  • Re: [tip:core/memblock] x86, memblock: Fix crashkernel allocation
    ... To me the best thing would be that this whole allocation thing be dyanmic ... determine what are the memory contstraints on these segments (min, ... and get rid of this notion of reserving memory at boot time. ... about if we specify it explicitly in the syntax so that kernel does not ...
    (Linux-Kernel)
  • Re: Using memory pool with operators new/delete
    ... pre-allocated memory pool that manages only blocks of the same size (the ... The call number works correctly (it allocates the memory and calls the ... can't be an ordinary function call but it also won't be called by the syntax ... Use of the delete keyword never calls operator delete with multiple ...
    (microsoft.public.vc.language)