Important information: this site is currently scheduled to go offline indefinitely by end of the year.

what are the basic components of a 3D game character model?

Post questions about game models here, or help out others!
Post Reply
MuffinMan123
beginner
Posts: 39
Joined: Fri Feb 25, 2011 3:36 am
Has thanked: 1 time
Been thanked: 2 times

what are the basic components of a 3D game character model?

Post by MuffinMan123 »

I have only opened .mesh files and see the voxels and normals, but I mostly only see solid objects with no bones and stuff. not really related to the kind of 3D models that game uses.

what kind of basic components do game models have? I am only interested in humanoid 3D models right now.

I know it's along the lines of voxels forming a surface triangle, but how are they connected? is it with edges? how are normal vectors usually defined for texture?

how are bones defined? how are they connected to a hollow 3D model?

I am a rather generic programmer. as you can see I have no experience in blender or 3D max, but that should be okay, I mean I got noesis right?
howfie
double-veteran
double-veteran
Posts: 929
Joined: Fri Jul 08, 2011 12:06 pm
Location: Torrance, CA
Has thanked: 10 times
Been thanked: 274 times

Re: what are the basic components of a 3D game character mod

Post by howfie »

typical game model components:

one or more vertex buffers
one or more index buffers
one or more variables describing the input layout and semantics of the vertex buffers
one or more input assembly buffers
a list of materials
a list of joints
a list of joint maps (that maps blend indices to joints)

for example, in dw games,
vertex buffers are in 0x00010004 subchunk of G1MG chunk
index buffers are in 0x00010007 subchunk of G1MG chunk
input layout and vertex buffer semantics are in 0x00010005 subchunk of G1MG chunk
input assembly buffer is in 0x00010008 subchunk of G1MG chunk
materials are listed in 0x00010002 subchunk of G1MG chunk
the list of joints is in the G1MS chunk
the list of joint maps are listed in the 0x00010006 subchunk of G1MG chunk

and indeed, once you have all this data, you just feed it into noesis and out poops a model :).
MuffinMan123
beginner
Posts: 39
Joined: Fri Feb 25, 2011 3:36 am
Has thanked: 1 time
Been thanked: 2 times

Re: what are the basic components of a 3D game character mod

Post by MuffinMan123 »

let's say we start from 3D model perspective rather than file format perspective

so you have a voxel, which connect to other things to form a triangle, then triangles connect together to form a hand, then a greater map identifies this hand ID and connect it to the arm.

how are these things usually defined? once I understand this basic idea, I think I will be able to see the relationship to the file format you posted.
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: what are the basic components of a 3D game character mod

Post by zaykho »

MuffinMan123 wrote:voxel
Sorry to say this but, Vertex and Voxel are differents.
MuffinMan123
beginner
Posts: 39
Joined: Fri Feb 25, 2011 3:36 am
Has thanked: 1 time
Been thanked: 2 times

Re: what are the basic components of a 3D game character mod

Post by MuffinMan123 »

ok, sounds like I am on the wrong track here. what basics do I need to know? what is the basic components of 3D model in general?
User avatar
zaykho
mega-veteran
mega-veteran
Posts: 217
Joined: Fri Dec 03, 2010 1:20 pm
Location: France
Has thanked: 158 times
Been thanked: 52 times

Re: what are the basic components of a 3D game character mod

Post by zaykho »

MuffinMan123 wrote:ok, sounds like I am on the wrong track here. what basics do I need to know? what is the basic components of 3D model in general?
I think that you need to understand the basic of "3D" before the basic of "3D game character".
It's like trying to know how a car works, without knowing what is a "car".

First, try to use some basic 3d modeling software like :
- milkshape.
- blender.
(I prefer milkshape because it's built mainly for games, giving you the possibility to learn the very basic of modeling without a tons of generic automated function like 3ds max. It sort of a handwork of 3d modeling. =) )

Then, try to make simple objects by following some tutorial until you get enough experience for modeling a game character.
And after that, you will be able to know "what are the basic components of a 3D game character model"

If you are motivate, it will take you less a month with 3 hours by day for understand the basic of 3D.


It's the only way !
User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 584
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

Re: what are the basic components of a 3D game character mod

Post by Wobble »

[out]
Last edited by Wobble on Sun Mar 19, 2017 8:08 am, edited 1 time in total.
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 505 times

Re: what are the basic components of a 3D game character mod

Post by MrAdults »

What is a model? A miserable little pile of triangles!
MuffinMan123
beginner
Posts: 39
Joined: Fri Feb 25, 2011 3:36 am
Has thanked: 1 time
Been thanked: 2 times

Re: what are the basic components of a 3D game character mod

Post by MuffinMan123 »

Wobble wrote:Just say the name of the game you're interested in.
the original ninja gaiden 2 - I know noesis can read it, but I can't see the script on the format itself, and the original ninja gaiden 2 thread only has the extractors, not the scripts which talk about the formats.
ninja gaiden 3 - I am trying to read through the thread to find any scripts so I can read it and hopefully understand how the data structure work
razor's edge - same thing

the thing I want to do is to understand what team ninja's general 3D format looks like for ninja gaiden games so I can hopefully learn from it and extract the sigma 2 characters that aren't in razor's edge.

problem is I don't know anything about 3D model format for characters in general
User avatar
shekofte
mega-veteran
mega-veteran
Posts: 221
Joined: Sun Jan 18, 2009 1:45 pm
Location: Sagittarius
Has thanked: 301 times
Been thanked: 20 times
Contact:

Re: what are the basic components of a 3D game character mod

Post by shekofte »

MuffinMan123

are these useful for you ?
viewtopic.php?f=29&t=3739
viewtopic.php?f=16&t=3674
ILLUSORY VIDEO GAMES ARE MORE IMPORTANT THAN PRECIOUS INTERNATIONAL FOOTBALLs
Post Reply