Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Exporting DirectX animation

Author
Message
GCEclipse
23
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: United Kingdom
Posted: 24th Aug 2003 04:17
Hi,

I wonder could anyone help me?

I'm trying to export to a text directx file and I can't figure out the structure of the animation keys.

Specifically the rotation key - the typical form is something like this:


Now the first line - fine
second line = type
third line=no of keys

the problem is with the actual data -
I know the first number is the frame no
and the second is the number of floats

then theres 4 floats to follow: where do I get the 4th from? I have Xangle# Yangle# and Zangle# which makes 3 but wheres the 4th come from? How do I fill this in?

Please help - it would be much appreciated.

Cheers

Dr OcCuLt
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location: a Dark Deep Dark pit, it dark in here
Posted: 24th Aug 2003 04:46
i`d now i have probels trying to export a no-Animatiet X file

try looking up the template on MSDN that the only help i can offer.

--Dr 0--
GCEclipse
23
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: United Kingdom
Posted: 24th Aug 2003 04:57
Thanks anyway - I think I'm halfway there - after much websearching I've found that there are 4 values because it is rotation as represented by Quaternions.

My second question then is does anyone know of a way to convert XYZ rotation values to them?

Login to post a reply

Server time is: 2026-07-23 09:56:55
Your offset time is: 2026-07-23 09:56:55