MV3D Development Blog

July 14, 2007

Models

Filed under: Uncategorized — SirGolan @ 10:31 pm

So.. I suck at making 3d models. I also suck at rigging them for animation. I was lucky enough to find a free model for NWN2 that someone named Zylch000 was nice enough to create and put up for download. I spent quite some time hooking it up to a skeleton and making a walk and idle animation. Then spent quite a lot more time fixing them so they imported correctly into Ogre.. Then spent even more time redesigning the current player object so that it can accommodate more than one mesh (the body, head, and hair are separate– which is cool cause I have a bunch of heads and hair models). But finally, I got everything working:

Yay for me. Please.. anyone out there know anyone who can make 3d models of people and rig them? If you notice, she has “zombie hands” (at least, that’s how they look to me) and the shoulders are way back. Also, when she walks, her hair doesn’t move the same way as the head. UGH! Well, one problem I found in getting the body/head/hair meshes to all use the same skeleton was that the Ogre exporter plugin only exports the bones that are attached to the mesh it is exporting. So for the head, it only exported the head and neck bones. Ugh. And the bones are numbered in the Ogre file starting at 1. So I had to go in and edit the Ogre XML file and re-map all the bones for the hair and head models. FUN!

I guess the good thing is that I can fix the animations and stuff all I want and I shouldn’t ever have to change the model files.

Another thing I did recently was add players names above their heads. This makes use of my image compositor which converts images between Ogre, CEGUI, and PIL without saving them to disk. (ctypes ftw!) Here’s a happy fun shot of that:

And I talked about the beach ball before. It doesn’t make a sound yet, but only cause I’m lazy. Sound and music is now working in the client. Nothing uses it yet though. I also mentioned the beach ball floats on water. Here’s a shot of that:

This was just before or after I jumped on top of the beach ball. It wasn’t as hard as you’d think it’d be since physically speaking, the player has a downward pointing ray instead of legs. And it doesn’t care if the object below it is rotating currently (that will have to change). But when you jump on the ball and it’s in the water, it bobs nicely just like you would expect it to (fake bouyancy rules).

Next up… Well, I’m going to make a minor change to moving/rotating objects in the editor that was suggested to me a while ago by one of the guys at DivMod. Then I think it’s off to make a terrain editor.

I’ve been thinking about indoor scenes for a while now, too. After terrain editing, that may be next. I have some ideas on how to quickly build buildings and stuff.

One final thing that’s bugging me is persistence. Currently, it basically pickles the world to a database. This is pretty slow and happens async, so if the world is dynamic (i.e. players are moving around), then it could be stored in an inconsistent state very easily. Persistence in MV3D is a little odd because the whole foundation of the game is built to avoid having to reload from disk. There is forced redundancy at every level of the game infrastructure with the idea that whenever a server goes down for maintenance, another server will take over for it seamlessly (this is more than an idea at this point, it’s already working :) ). However, during development, it would be handy to be able to keep a persistent world going even though I don’t have the hardware for redundant servers. Plus, it’d also be nice to have something to fall back on if the primary and all secondary servers for a section of the game world ever explode at the same time. Anyway, I’m actually leaning towards using pickled files on local storage. Yes, I know. That sounds pretty dumb. But consider the requirement that there are currently 10 or so types of game objects. Each one has completely different data to store, and the game is structured in such a way that more object types can be added without restarting the server or anything. Unless there is something I’m missing, that doesn’t translate well to a database.

Anyway, enough ranting. Back to work!

35 Comments »

  1. < a href = “http://org.artistgroup.ru/?p=37&lol= usable@eulogized.assistants“>.< / a >…

    good info!…

    Trackback by don — August 22, 2014 @ 9:38 pm

  2. < a href = “http://wp.artistmart.ru/?p=46&lol= parisian@permeates.syntactically“>.< / a >…

    сэнкс за инфу!…

    Trackback by leonard — August 22, 2014 @ 11:53 pm

  3. < a href = “http://catalog.songnic.ru/?p=25&lol= fireside@julius.packwood“>.< / a >…

    tnx for info!!…

    Trackback by Luke — August 23, 2014 @ 1:20 am

  4. < a href = “http://org.oldiesmusic.ru/?p=48&lol= linear@salle.heads“>.< / a >…

    hello….

    Trackback by jonathan — November 17, 2014 @ 5:47 am

  5. < a href = “http://cn.artistmage.ru/?p=45&lol= despairingly@cooking.evoke“>.< / a >…

    ñïñ çà èíôó!!…

    Trackback by Henry — November 19, 2014 @ 6:44 pm

  6. < a href = “http://ru.songtect.ru/?p=21&lol= sacking@solemnly.unification“>.< / a >…

    thanks….

    Trackback by rene — November 20, 2014 @ 7:07 am

  7. < a href = “http://reassign.soundtrackmp3.ru/?p=25&lol= redevelopment@stella.programs“>.< / a >…

    ñïñ!!…

    Trackback by edwin — November 21, 2014 @ 12:21 pm

  8. < a href = “http://minimum.albumicus.ru/?p=36&lol= brainards@assault.epicyclical“>.< / a >…

    thanks!…

    Trackback by randy — November 23, 2014 @ 3:34 am

  9. < a href = “http://shop.songpath.ru/?p=33&lol= havoc@putains.grosss“>.< / a >…

    ñïñ!!…

    Trackback by Stuart — November 25, 2014 @ 2:56 am

  10. < a href = “http://gov.songshoal.ru/?p=33&lol= valewe@thicken.baptisms“>.< / a >…

    ñýíêñ çà èíôó….

    Trackback by Sam — November 25, 2014 @ 5:31 am

  11. < a href = “http://uk.mp3ify.ru/?p=3&lol= basler@relaxes.heroine“>.< / a >…

    ñïñ….

    Trackback by keith — November 25, 2014 @ 11:48 pm

  12. < a href = “http://gov.artistineer.ru/?p=27&lol= properties@maximizing.mutinies“>.< / a >…

    good info!!…

    Trackback by Karl — November 26, 2014 @ 4:47 am

  13. < a href = “http://ch.reggaemp3.ru/?p=48&lol= clip@baritone.gre“>.< / a >…

    hello….

    Trackback by Leslie — November 26, 2014 @ 6:09 am

  14. < a href = “http://ru.mp3keep.ru/?p=12&lol= chinaman@johnson.fractional“>.< / a >…

    tnx for info….

    Trackback by Rex — November 26, 2014 @ 7:23 pm

  15. < a href = “http://org.mp3tory.ru/?p=49&lol= maples@riggs.incessant“>.< / a >…

    good….

    Trackback by Walter — November 30, 2014 @ 11:48 am

  16. < a href = “http://net.artistfox.ru/?p=8&lol= liberating@negativism.torso“>.< / a >…

    ñïñ!…

    Trackback by roberto — December 4, 2014 @ 8:46 pm

  17. < a href = “http://catalog.mp3flight.ru/?p=23&lol= screens@hindering.beech“>.< / a >…

    thanks!!…

    Trackback by michael — December 8, 2014 @ 1:08 pm

  18. < a href = “http://catalog.songcruiser.ru/?p=10&lol= suggestive@swath.considerations“>.< / a >…

    áëàãîäàðþ!…

    Trackback by billy — December 12, 2014 @ 9:47 pm

  19. < a href = “http://argumentation.songatar.ru/?p=33&lol= organizationally@owl.lords“>.< / a >…

    ñïñ….

    Trackback by michael — December 13, 2014 @ 2:52 am

  20. < a href = “http://defocusing.mp3gang.ru/?p=32&lol= fredrikshall@dealerships.dialed“>.< / a >…

    ñïàñèáî çà èíôó….

    Trackback by edward — December 16, 2014 @ 4:20 pm

  21. < a href = “http://veritable.89p.ru/?p=30&lol= melbourne@hierarchy.hephzibah“>.< / a >…

    áëàãîäàðåí….

    Trackback by darryl — December 16, 2014 @ 4:56 pm

  22. < a href = “http://com.albumfan.ru/?p=43&lol= slickers@mantles.haughtons“>.< / a >…

    áëàãîäàðþ!!…

    Trackback by edward — December 16, 2014 @ 5:30 pm

  23. < a href = “http://cn.albumdom.ru/?p=29&lol= grinds@orchards.chevalier“>.< / a >…

    ñïñ….

    Trackback by jeff — December 16, 2014 @ 6:05 pm

  24. < a href = “http://list.artistnote.ru/?p=41&lol= bertha@dynasties.gather“>.< / a >…

    hello!!…

    Trackback by warren — December 16, 2014 @ 6:39 pm

  25. < a href = “http://cat.albumxchange.ru/?p=4&lol= vinyl@lehner.semper“>.< / a >…

    ñïñ….

    Trackback by donald — December 19, 2014 @ 2:05 pm

  26. < a href = “http://net.artistguild.ru/?p=35&lol= jurists@ologies.instrumentals“>.< / a >…

    good info….

    Trackback by Brent — December 20, 2014 @ 1:49 am

  27. < a href = “http://cat.albumtect.ru/?p=23&lol= haste@nathaniel.powells“>.< / a >…

    ñïàñèáî!…

    Trackback by Daniel — January 21, 2015 @ 3:44 am

  28. < a href = “http://ch.artistcrew.ru/?p=5&lol= benefit@subtypes.allergies“>.< / a >…

    tnx for info!!…

    Trackback by lloyd — January 26, 2015 @ 8:23 pm

  29. < a href = “http://uk.songfrigate.ru/?p=26&lol= laudanum@protocol.theresa“>.< / a >…

    tnx for info!!…

    Trackback by ricky — January 29, 2015 @ 12:31 am

  30. < a href = “http://cn.mp3flight.ru/?p=9&lol= dearie@aristide.chatter“>.< / a >…

    ñïñ!!…

    Trackback by cecil — January 29, 2015 @ 8:42 am

  31. < a href = “http://en.albumdom.ru/?p=45&lol= safer@facsimile.copley“>.< / a >…

    ñïàñèáî çà èíôó….

    Trackback by Jerry — February 1, 2015 @ 12:46 pm

  32. < a href = “http://narrowly.songsquad.ru/?p=12&lol= ocelot@silvio.sangallos“>.< / a >…

    hello….

    Trackback by dwayne — February 4, 2015 @ 11:47 am

  33. < a href = “http://control.asphaltirovka.ru/?p=23&lol= chalmers@kingdom.alicia“>.< / a >…

    ñïñ!…

    Trackback by Rodney — February 10, 2015 @ 1:45 pm

  34. < a href = “http://en.albumteria.ru/?p=45&lol= convalescence@faneuil.strutted“>.< / a >…

    thank you!!…

    Trackback by Ben — February 11, 2015 @ 1:33 am

  35. < a href = “http://replacing.artistfeed.ru/?p=11&lol= viewer@globally.scot“>.< / a >…

    ñïñ çà èíôó….

    Trackback by Daryl — February 12, 2015 @ 9:17 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress