Author Topic: Skeletal API  (Read 17387 times)

Offline AGP

  • quad
  • ******
  • Posts: 1518
    • View Profile
Re: Skeletal API
« Reply #15 on: July 06, 2007, 08:08:39 am »
Manumoi, please stop writing about "us" as if you're representing anyone but yourself. You haven't been waiting nearly as long as I have, so I don't expect you to be as anxious. Thank you.

Offline hytparadisee

  • int
  • **
  • Posts: 86
    • View Profile
    • http://peterhi.com
Re: Skeletal API
« Reply #16 on: July 06, 2007, 04:11:23 pm »
so I don't expect you to be as anxious...
;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
Today I finally found a problem to my soluuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuution

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Re: Skeletal API
« Reply #17 on: July 07, 2007, 04:51:23 am »
I have finished the example program. It is 3:30am now though. Ill upload it tomorrow.
Its really quite simple though:

OgreXMLLoader.loadOgreXML()
SkeletalObject3D.advanceAnimation()

Thats all you need to get it to do 'something':)

Also, I haven't tried with multiple animation sequences, because I just didn't happen to have any models with more than one movement in:P
However, by the looks of it, I did allow multiple animations.
There is code in the OrgeXMLLoader I made which loads multiple animation sequence blocks,
and a function set in the SimpleAnimation class for changing the current sequence.

Naturally, I could add more functions for better ease of use, but right now, it seems to work, which is one heck of an achievement considering I knew nothing about skeletal animation before this little project:)
« Last Edit: July 07, 2007, 04:57:12 am by cyberkilla »
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

Offline AGP

  • quad
  • ******
  • Posts: 1518
    • View Profile
Re: Skeletal API
« Reply #18 on: July 07, 2007, 08:47:13 am »
Cooooool. Are you also uploading the files themselves so we can see how they're built? Again, thank you.

Offline AGP

  • quad
  • ******
  • Posts: 1518
    • View Profile
Re: Skeletal API
« Reply #19 on: July 07, 2007, 11:15:38 pm »
I see you already included two models in the original package. What makes those files? Blender? How about my original assumption of a SimpleBone(SimpleVertex joint1, SimpleVertex joint2) constructor so we can manually build a bone structure?

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Re: Skeletal API
« Reply #20 on: July 07, 2007, 11:16:57 pm »
It should be possible. I'd check out how I am doing it in the source code.

I'm almost ready to upload it.

I think ill include the examples in this package to for the sake of it.
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Re: Skeletal API
« Reply #21 on: July 08, 2007, 02:16:30 am »
Here you go:

http://rpwar.com/cyber3/SkeletalExample.zip

I am sorry about the delay, and I realise this example is pretty simple, but time is a luxury I do not have at the moment;)

There is more to the skeletal api than I have shown, and much more potential, but I haven't got round to adding new stuff, because I am not currently working on FutureRP - Codenamed 'Round 4' :P
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

Offline AGP

  • quad
  • ******
  • Posts: 1518
    • View Profile
Re: Skeletal API
« Reply #22 on: July 09, 2007, 04:17:21 am »
Thanks a lot. I appreciate it.

Now if we could get the constructor to SimpleBone... :-)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11747
    • View Profile
    • http://www.jpct.net
Re: Skeletal API
« Reply #23 on: July 10, 2007, 11:10:22 pm »
FYI: I've added the example to the distribution in the download section.

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Re: Skeletal API
« Reply #24 on: July 10, 2007, 11:12:36 pm »
Great:) It should suffice for now. It is simple enough to understand.
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

Offline manumoi

  • long
  • ***
  • Posts: 121
    • View Profile
    • http://www.iro.umontreal.ca/~blanchae
Re: Skeletal API
« Reply #25 on: July 11, 2007, 08:18:46 pm »
Great,

Thanks for the hard work cyberkilla ;)

Offline joaogabrielm

  • byte
  • *
  • Posts: 2
    • View Profile
Re: Skeletal API
« Reply #26 on: August 13, 2008, 10:20:27 pm »
Can anybody send this example to me?
Thanks!

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11747
    • View Profile
    • http://www.jpct.net
Re: Skeletal API
« Reply #27 on: August 13, 2008, 10:23:17 pm »

Offline joaogabrielm

  • byte
  • *
  • Posts: 2
    • View Profile
Re: Skeletal API
« Reply #28 on: August 13, 2008, 11:30:13 pm »
No! I have this...
I want that example that Cyberkilla published in this link http://rpwar.com/cyber3/SkeletalExample.zip!
This link is broken now...  :(
Thanks for your help!

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Re: Skeletal API
« Reply #29 on: August 14, 2008, 04:26:10 pm »
Hello again!

I'm sorry I've been away for so long. I'm running a start-up business based around my other game and it's taking up all of my time.

I still have intentions to work on a 3d version, so I will have to return at some point.

I took that link off-line accidentally when I changed hosts.
I will try to find it for you today, from a backup drive.

It has been months since I last looked at the source code, so I have forgotten how it works for the most part;)

If you have any questions I will make sure I reply to them through this thread.
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG