Author Topic: Doom3 style version of the marine model.  (Read 33690 times)

m4gnificent_b4st4rd

  • Guest
Doom3 style version of the marine model.
« on: November 25, 2009, 08:06:26 pm »
This is something I've been tinkering around with. I imported the marines's md3 models and spent some time turning the body/arms and legs models into a single doom3 style mesh, adding some polys in the process. I then made a skeleton, attached the mesh to it and weight painted it. The weight painting is fairly crude, I just weighted some verts 100% to certain bones. It's a bit basic, but that can be improved later.

Here are some pics of the model in Blender. On the left is the model in edit mode (the head is a seperate model). On the right is the model in object mode with the armature visible. I've made the mesh with the elbows bent since they will spend most of the time in the game in roughly that position.


I've set up the models with materials and textures so that proper renders can be done. This could be pretty useful for people doing tremulous art. Here's an example render.



There are loads of advantages to making renders in Blender instead of working from Tremulous screenshots. There are none of the usual problems with transparencies and anti-aliasing. Blender has more lighting options and cool rendering stuff like raytracing. The size of the final image isn't limited by the resolution of your screen, so if you want to do some high resolution artwork you just render off big images to suit.

This could be pretty useful for artists, but there is also the possibility that something like this could be used to implement MD5 models in tremulous. It's already been done with the Xreal engine (which is also derived from the quake3 engine) so it's theoretically possible to implement in Tremulous. Someone else would need to make all the animations for it because I'm not really good at that kind of animation. Worth thinking about.

Redsky

  • Posts: 207
  • Turrets: +35/-6
Re: Doom3 style version of the marine model.
« Reply #1 on: November 25, 2009, 09:29:00 pm »
Worth thinking about.

Sorry but it's not. Tremulous is 50% disillusion, 30%empty words and 20% orphan's tears. It takes time to understand that.
If I were you, I would get away Tremulous(and eventually return when trem 1.2 is out) and find yourself a new place to be creative.
Be offended or whatever, its just a good advice from a guy who knows. ::)
Happy New Year Everybody! : signature adequate once a year.

m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #2 on: November 25, 2009, 10:06:35 pm »
I'll give some thought to what you said Redsky.

Bajsefar

  • Posts: 597
  • Turrets: +49/-39
Re: Doom3 style version of the marine model.
« Reply #3 on: November 25, 2009, 11:20:21 pm »
This is cool, but what is the black thing in front of his eye?

m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #4 on: November 25, 2009, 11:48:21 pm »
That black thing is a chunk of hair hanging down. It was on the original model, but no I look at it it does look a bit big. Odd.

Redsky

  • Posts: 207
  • Turrets: +35/-6
Re: Doom3 style version of the marine model.
« Reply #5 on: November 26, 2009, 12:24:58 am »
Odd.
Alpha channel problem, can be fixed in two ways, but first get into Shading / Material Buttons

1. First way is easier and its usable if you are using image as uv image and using 'TexFac' button for viewing texture in rendering (not loading head image as a texture in blender). To fix the problem you will have to press little 'A' button next to 'TextFac' and 'ZTransp'... TADA!

2. Second if you are using loaded image as a texture. Go to 'Map To' and press twice 'Alpha' button and 'ZTransp' button.

If you want your model receive shadows only from not transparent surfaces you might wanna also turn 'TraSha' on! (Although its only working for some lights afaik!)
« Last Edit: November 26, 2009, 12:36:59 am by Redsky »
Happy New Year Everybody! : signature adequate once a year.

Demolution

  • Posts: 1198
  • Turrets: +157/-64
Re: Doom3 style version of the marine model.
« Reply #6 on: November 26, 2009, 12:48:50 am »
Unless a strictly dedicated team of coders got down to work and added the code to support such models, it's not going to happen anytime soon. The devs do their own thing at their own pace, if not slower at times. It looks interesting nevertheless. :)

Clan [AC] - For all your air conditioning needs please visit: http://s1.zetaboards.com/AC_NoS/index/
my brain > your brain.
and i am VERY stupid.

seeeker

  • Posts: 122
  • Turrets: +19/-5
Re: Doom3 style version of the marine model.
« Reply #7 on: November 26, 2009, 02:02:53 am »
I wish trem supported md5 or something similar :<

m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #8 on: November 28, 2009, 01:37:55 pm »
Since it's sounding unlikely that md5 support will be added to the game engine I'll try porting the model to another engine instead. There were two options that I considered, Xreal and Doom3. Xreal seems to be a work in progress, but is gpl. Doom3 is stable, has more features, runs on more hardware and hopefully will be gpl some day. I decided to go for Doom3.

I guess I could use the skeleton I made for this model, but that would involve a huge amount of animation work. For now I'll just attach the model to the existing Doom3 skeleton and concentrate on getting the shaders working. If this goes well I maybe consider trying to make my own animation and work towards a character completely built from scratch.

I imported the Doom3 multiplayer character model (models/md5/characters/npcs/playermoves/mpplayer.md5mesh) and used it as a guide to scale the marine model up. I found a scaling factor of 1.26 seemed to be just about right. Here's a shot of the two models in wireframe mode.


and here they are side by side


I'll straighten the marine's arms out to match the Doom3 model and then try attaching it to the skeleton. Should be fun.  :)

ReapDaWrapper

  • Posts: 127
  • Turrets: +4/-50
    • Youtube Channel
Re: Doom3 style version of the marine model.
« Reply #9 on: November 28, 2009, 02:04:28 pm »
Zomg, I'm exited!! :D

Now just use Zombie Models for Aliens and all will be good.  ;)
On the bright side, it takes one to know one, ReapDaWrapper.

Thorn

  • Guest
Re: Doom3 style version of the marine model.
« Reply #10 on: November 28, 2009, 04:22:34 pm »
Doom3 is stable, has more features

Wrong. Doom3 does not come close to the features of XreaL, lacking support for HDR, parallax mapping, even bloom, and proper occlusion culling (still using VIS, as against xreal CHC).

{7}wrath

  • Posts: 232
  • Turrets: +25/-26
Re: Doom3 style version of the marine model.
« Reply #11 on: November 28, 2009, 08:48:18 pm »
And it supports the doom3 model format, so why not continue converting models?

m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #12 on: November 28, 2009, 09:04:14 pm »
Thorn -
Yeah, I guess I got that wrong. Xreal does have some stuff that Doom3 doesn't, but I'm under the impression it doesn't have Megatextures, which is the graphical feature that really interests me. I've been playing Enemy Territory Quake Wars, which is also Id Tech 4 and the megatexture based environments are stunningly good. I guess megatexture isn't particularly useful for tremulous since large outdoor maps would leave aliens at a unfair advantage, but I like it anyway.

Graphics aside, I'll stick with Doom3 for now because I've got it installed on my pc and I don't feel like compiling Xreal right now. I'm pretty sure that if I get something working it could be ported to Xreal anyway.

m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #13 on: November 28, 2009, 09:51:23 pm »
I've been looking at the Doom3 multiplayer armature (skeleton) and it's got a hell of a lot of bones, most of which I won't need when weight painting the mesh. To simplify things I've made a copy of the armature and deleted all the bones I won't be using to control the movement of the mesh. I'll attach the mesh to this simplified armature and set the weight painting up, then detach it and correct the mesh to the unmodified armature. The vertex groups (linking vertices to bones) will still work because both armatures will have the same names for bones. This will save a lot of hassle with trying to select the right bones while weight painting.

Here's what's left in the simplified armature.

m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #14 on: November 28, 2009, 11:25:45 pm »
It's working pretty good. I attached the mesh to the simplified armature, set up the vertex groups, then transferred the mesh to the original armature. I loaded up the run animation, set up a camera and lamp, rendered the animations and turned it into a gif.



Pretty sweet.  ;D
« Last Edit: November 28, 2009, 11:32:07 pm by m4gnificent_b4st4rd »

Repatition

  • Posts: 332
  • Turrets: +11/-196
    • http://jbjarts.blogspot.com/
Re: Doom3 style version of the marine model.
« Reply #15 on: November 29, 2009, 12:20:57 am »
wo0w that would be cool in trem!

Demolution

  • Posts: 1198
  • Turrets: +157/-64
Re: Doom3 style version of the marine model.
« Reply #16 on: November 29, 2009, 04:41:48 am »
rofl. He looks a bit like a bird. Awesome work nevertheless.  :D

Clan [AC] - For all your air conditioning needs please visit: http://s1.zetaboards.com/AC_NoS/index/
my brain > your brain.
and i am VERY stupid.

{7}wrath

  • Posts: 232
  • Turrets: +25/-26
Re: Doom3 style version of the marine model.
« Reply #17 on: November 29, 2009, 04:42:53 am »
The head looks a bit odd because it's always facing forward. Otherwise great!

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Re: Doom3 style version of the marine model.
« Reply #18 on: November 29, 2009, 06:28:42 am »
Other than the rubber neck, I'd say that's a great animation!

m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #19 on: November 29, 2009, 11:48:56 am »
Yeah, there is something a bit odd with the head in that animation, but I can't criticise because I probably couldn't do any better myself. However, it's a nice demo of how a full body skeleton looks better than the old fashioned segmented that quake3/tremulous use. While it's theoretically possible for an animator to do good work with the segmented approach, it makes the job insanely difficult compared to full body. It's hard to get the animations of the seperate pieces working together in a beleivable way when the actual model are nowhere near lining up. Take a look at this picture...



This is part way through a death animation. The legs are in the process of falling to the floor, which annoyingly is actually lower than 0,0,0 so you can't use the grid floor as a reference. The torso is left mounted on 0,0,0 so you are forced to visualize how it would look if it was actually connected to the top of the legs. The head is also at 0,0,0 forcing the animator to imagine how it would look mounted on the torso. Working this way would involve a lot of guesswork and having to keep running either the game or a model viewer to see how the animations actually looked.

There is also the problem that because the legs and the torso/arms are seperate models you have problems where they connect. This is why so many quake3 player models end up wearing huge chunky belts so that the torso model can move around inside them. With an MD5 model there is no seam, so this problem is avoided.

m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #20 on: November 29, 2009, 12:27:07 pm »
Since the model is no longer segmented there is no need for the huge chunky belt any more, so I've slimmed it down to something a bit more realistic.


m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #21 on: November 29, 2009, 04:07:57 pm »
I decided to go back to my own armature instead of using the Doom3 armature. I did some streamlining on the armour to make it less bulky so that it could be easier to animate. I also modelled a 3D ear instead of the single plane that it was originally. I decided to consolidate the 4 textures into a single one for convenience. I spent some time arranging the uvmapping and scaling it so that the detail was distributed where it would be seen more. In the picture you can see that the head and chestplate have the most detail and there is more detail on the torso/arms than on the legs.



Once I was happy with the uvmapping I cloned the original textures onto the new 1024x1024 single texture.



Here's how it looks on the model now.
« Last Edit: November 29, 2009, 05:25:26 pm by m4gnificent_b4st4rd »

Repatition

  • Posts: 332
  • Turrets: +11/-196
    • http://jbjarts.blogspot.com/
Re: Doom3 style version of the marine model.
« Reply #22 on: November 30, 2009, 04:32:53 am »
i must say its an improvment

{7}wrath

  • Posts: 232
  • Turrets: +25/-26
Re: Doom3 style version of the marine model.
« Reply #23 on: November 30, 2009, 05:10:23 am »
The chest plate is a bit (okay, really) bulky compared to the new slimmed-down belt.

MitSugna

  • Guest
Re: Doom3 style version of the marine model.
« Reply #24 on: November 30, 2009, 09:31:07 pm »
He is still ugly. Purpose of this clone is not mating for sure

mooseberry

  • Community Moderators
  • *
  • Posts: 4005
  • Turrets: +666/-325
Re: Doom3 style version of the marine model.
« Reply #25 on: December 01, 2009, 12:58:16 am »
He is still ugly. Purpose of this clone is not mating for sure

They probably havn't worked out the kinks with clones reproducing anyways (and what's the point really?) so I don't think he has much to worry about.

That being said, I'm sure goons don't have high standards.  :-X
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

m4gnificent_b4st4rd

  • Guest
Re: Doom3 style version of the marine model.
« Reply #26 on: December 01, 2009, 11:07:49 pm »
I've put some more detail into the hand and given it more articulation with the skeleton. The vertical bone just before the finger bones is the weapon mount.



Now the thumb can be moved a bit and the palm can curl up. Like how the hands are holding the rifle in this pic.



It's an improvement, but I'm kinda tempted to model individual fingers with bones to match.

CreatureofHell

  • Posts: 2422
  • Turrets: +430/-126
    • Tremtopia
Re: Doom3 style version of the marine model.
« Reply #27 on: December 02, 2009, 04:43:06 pm »
wow.  :o That looks really cool right now.  8)
{NoS}StalKer
Quote
<Timbo> posting on the trem forums rarely results in anything good

Winnie the Pooh

  • Posts: 442
  • Turrets: +45/-85
Re: Doom3 style version of the marine model.
« Reply #28 on: December 02, 2009, 10:43:26 pm »
Ugly model is ugly no matter how much you pimp him.
Quote
I also realize that this is the internet, but even more so this is the forum for a video game on an internet, then even beyond that this is TREMULOUS forums the Satan version of all video game forums for a video game that is ON the internet.

ReapDaWrapper

  • Posts: 127
  • Turrets: +4/-50
    • Youtube Channel
Re: Doom3 style version of the marine model.
« Reply #29 on: December 03, 2009, 02:17:23 am »
Oh. I thought the purpose of this whole thing was to add a Doom 3 Model into Tremulous.  :-X Misunderstood the whole thing, I guess.
On the bright side, it takes one to know one, ReapDaWrapper.