gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > My simple Rigid Skinning test with bones

#106054 - DiscoStew - Sat Oct 14, 2006 7:11 pm

This is my very first public demo of anything involving the GBA or DS, and it is just a simple test of Rigid Skinning of a mesh with bones. I'm just assuming this is considered Rigid Skinning because each vertex is linked to a certain bone, and are manipulated that way (I've been taking close observations of how Maya did skinning). All matrix calculations were done by manual code, though I'm hoping to figure out the problem I'm having with trying to use the DS's matrix registers (could just be an emulator thing, since I have nothing to get testing on real hardware).

Everything was entered by hand (bones, vertices, etc), but I hope to learn a bit of Maya scripting so that I could export a model (and maybe animation) in the format I use to be used. I also hope to some day find out how Smooth Skinning works, since Rigid Skinning has it's limits.

You can download my demo here....

http://www.rarhost.com/download-u61dq7.html

EDIT:
Just for everyone's information, this works on Dualis and Ideas, but all other emulators don't seem to work with it, plus I am unable to check if it works on actual hardware, so don't be surprised if it doesn't work.
_________________
DS - It's all about DiscoStew

#106056 - spinal_cord - Sat Oct 14, 2006 7:41 pm

It works fine on hardware (DSLITE - MML + GBAMP).
_________________
I'm not a boring person, it's just that boring things keep happening to me.
Homepage

#106080 - MaHe - Sat Oct 14, 2006 11:30 pm

Works with WMB + FlashME Lite just fine. Nice, but too bad it isn't interactive. I like interactive demos :P). Anyhow, the top screen's background is lime green contrary to the screenshots. :)
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#106086 - DiscoStew - Sun Oct 15, 2006 1:00 am

I'm glad to see that this works on hardware. Perhaps sometime soon I'll go out and buy myself a compatible wireless card so that I may be able to see it on hardware myself.

I didn't even realize the background color was like that. I checked my code, and sure enough, I had set glClearColor to RGB15(0, 31, 0), but in Dualis and Ideas, I guess it decided black was their favorite color.

This was merely a test to see what it was like to actually have a model deformed using bones to manipulate the vertices, instead of it being static like a Display List. Ever since a few weeks ago, I had no knowledge of 3D programming, not even DirectX, so getting to where I am now has me all excited, and I actually understand it.

I had no intention of this demo being interactive because, well, I didn't have an idea of what to do at this stage. I think once I start getting models exported from Maya to the format I use, much more can be done, as I hope that I can finally get on with my grand idea :P
_________________
DS - It's all about DiscoStew

#106105 - MelGibson - Sun Oct 15, 2006 8:33 am

Thats really awesome work DS. I really like to see this app evolving :)