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.

Dark GDK / Now!...No, wait.... Now!

Author
Message
Mayflower
16
Years of Service
User Offline
Joined: 22nd Nov 2007
Location:
Posted: 23rd Nov 2007 03:41
Is there any way you can actually determine what frame a loaded object is on? It's quite difficult to know what frame to start and stop on.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Nov 2007 18:50
I haven't spent any time on investigating how DGDK does animation but maybe I can steer you in the right direction.

There are three places in the sObject structure & it's dependants where animation data appears.

The first is in the sObject structure itself which inherits the sAnimationProperties structure.

The second is a pointer in the sObject to an sAnimationSet - that appears to be a linked-list type arrangement.

The third appears in the mesh data itself.

Take a look in the DBOData.h file and see for yourself.

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code
RPDan
17
Years of Service
User Offline
Joined: 29th Apr 2007
Location:
Posted: 23rd Nov 2007 19:21
int dbObjectFrame(int iObject)
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Nov 2007 22:19
Oh yeah. And that function too

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code

Login to post a reply

Server time is: 2024-11-16 20:58:51
Your offset time is: 2024-11-16 20:58:51