View Full Version : help on rig for a game
pelos 01-03-2006, 02:53 AM i rig my character and set the weight maps, but i have weird deformation on the legs (knee section)
here is a picture with the settings
thanks
| |
chaostest
01-03-2006, 03:17 AM
jiggle the time slider,looks twisted or something
I normally have Weight Map only and Weight normalization OFF
But I export vertex animation with my game work
But Thinking you may be using Bone Animation in your engine ??
So I Havn't done that yet .. :argh:
But guessing You need to Blur the weights maps between the upper and lower leg
OR Spread the Points out around the Joints out, so the joint has move room to move
Again I'm really just guessing here I havn't had to export bone animation yet, Only vertex animation
ercax
01-03-2006, 08:53 AM
Make sure that your object is set to be subdivided after bones/last (hit p for object properties while object is selected, then go to geometry tab and it's "Subdivision Order" option). See what happens when you uncheck weight maps only option.
SearchingSoul
01-03-2006, 04:21 PM
ola,
@pelos:
It would be helpful to post more details (at least a scene would be grerat) - as this kind of error can have multiple sources to look at.
But i ll give a shot:
If you plan to export animation using a skeleton (like UT2k4) and use the settings seen in the screenshot your weights might not set properly. You have to take care that every point(vertex) shares only 100 Percent weight onto Bones.
For Example a point with 80 percent weight given the lowerleg-bone has 20 percent left to be given away (to upperleg-bone). Otherwise there would be additive point-movement due to "overweighting".
SearchingSoul
pelos
01-03-2006, 07:06 PM
i will export the model as md2, for quake and use it on game studio a6
using the subdivision order didnt help =(
for the weight maps, i have set, just the vertex that are in a joint 50%upeer leg and 50% lower leg, like a knee or elbow
if i turn of normalization, something very weird happen,as i play with those 3 setting, the mesh, acts weird,
i will try to upload the scene later, in a zip file
http://www.geocities.com/demianpelos/KimaraHelp.jpg
ercax
01-04-2006, 12:30 AM
yeah, if you could send the scene file it would be easier.
pelos
01-04-2006, 03:49 AM
http://www.geocities.com/demianpelos/scene.zip
ercax
01-04-2006, 09:08 AM
Just pulling the knees a little bit inside helped with the problem in the front.
If you don't want to have the polys going through each other on the back of the knee, you have to work on the geometry around the folding area I guess. Since it is not a subdivision surface you should be able to get real-time deformation perview in vertex paint in modeler.
Good luck http://forums.cgsociety.org/images/icons/icon10.gif
edit:forgot the attachment.
pelos
01-04-2006, 05:44 PM
ercax thanks i will check the scene in the night at home =)
just how do you get a real time preview in vertex paint? i know how to use it, but ca you deform using skelegons? and paint ?
thanks again
pelos
01-04-2006, 07:49 PM
why lightwave dosnt respect my weight maps?
is not supose to just move the points that are red? why is every thing jumping from place?
ercax
01-04-2006, 09:50 PM
In vertex paint hold the ctrl button and rotate the bone using the tansformation handles. To reset the transformation press r do not undo :)
About lightwave not respecting your weightmaps, If you're going to use weight map only option, you should create separate maps for left and right sides. You also need to disable the bones that you're not using for deformation, like the ones that end IK chains (Aux bones in your rig) or you can assign a weight map (a 0 value map on a vertex somewhere) to them where they won't affect anything.
I don't know what the problem is but your character's left hand is acting weird. The bones don't accept the weight maps for some reason (damn they don't want to listen) and they end up not deforming anything. I'm pretty sure this has something to do with your object being imported as an obj file, it's probably a lw bug. Or maybe It's me being dumb and I need more coffee, I don't know.
I gave up for now, I'll take a look at it later, I gotta get some coffee :)
edit: I keep forgetting the attachments :)
pelos
01-04-2006, 10:34 PM
jaja, thanks for the scenes you send me =) i apreciated
its weird the scene2, that has a problem with the hand, ,i didnt have it, just in your scene =)
for the legs, yes, i have a diferent weight map for each one, and still making this weird things
=( i am very angry because i al ready have some animation going on =(.
i will try to make another rig for the character, and if not, i will change to rig in messiah studio, jaja i dont have weight maps there, lets see how does behave in that program.
thanks again, i will let you know what happen
ercax
01-05-2006, 12:23 AM
It works if you disable weight maps only option.
See you 20 cups of coffe later :) (it means soon)
pelos
01-06-2006, 06:16 PM
thanks guys, after a lot of coffe! well hot choco =)
i fix a problem that i have in the game engine, i just dream the answer and i have to test it at 5 am! insane i know, now i have to fix a little bit the rig with the still problem on the weight maps, and some animation.
i post a lik to the game test so you can see in what i am working on and have some fid back =)
thanks again .
http://www.megaupload.com/?d=CRVALJA1
CGTalk Moderation
01-06-2006, 06:16 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2008, Jelsoft Enterprises Ltd.