negative scale

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
sithh
Gnoblar
Posts: 3
Joined: Thu Feb 28, 2008 11:29 am
x 1

negative scale

Post by sithh »

hi
I have a 3d studio character with his animation
when I try to export him in ogre there are a lot of problem with the left body parts...I look in 3ds and here some left bones have negative scale....
how can I resolve?
the animation is ok on the right but not on the left...
User avatar
xavier
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 9481
Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22

Post by xavier »

You can't use negative scale -- you need to re-do the scale on those flipped parts before exporting.
Do you need help? What have you tried?

Image

Angels can fly because they take themselves lightly.
sithh
Gnoblar
Posts: 3
Joined: Thu Feb 28, 2008 11:29 am
x 1

Post by sithh »

thanx, but I don't know how to change the scale!!!If I transform the negative number in positive the animation doesn't work!
User avatar
Evak
Orc Shaman
Posts: 707
Joined: Sun Apr 02, 2006 7:51 pm
Location: Sacramento, CA
x 1
Contact:

Post by Evak »

If your using 3dsmax your probably going to have to save your bones and anims, remove your skin/physique modifier. select your mesh and use reset Xform and collapse. Both found in the Utilities tab. Then redo skin/physique.

Normaly people follow a strict workflow when using 3dsmax for realtime animation because its a common problem with the way 3dsmax works with scale when exporting realtime meshes. You just have to remember to reset the transforms. You don't always have to, the mirror modifier etc often work fine. But its better to be safe than have to redo a bunch of work.
User avatar
nedelman
Gnome
Posts: 315
Joined: Wed Feb 21, 2007 6:03 am
Location: San Francisco, California
x 6
Contact:

Post by nedelman »

This is a very common problem.

When creating your skeleton you should not use the standard 3DS Max "mirror" tool. You should instead use the mirror tool in the "Bone Tools" dialog, which you can find in the Animation menu.
http://www.ogremax.com - Ogre3D Scene Exporter for 3DS Max, Maya, and Softimage
http://www.linkedin.com/in/dereknedelman - My LinkedIn Profile
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

For info, I just added a feature in Shoggoth which should eliminate this difficulty. Ogre now defaults to automatically compensating for negative scalings and inverting the culling modes so things display properly.
Fernickk
Gnoblar
Posts: 5
Joined: Thu Jan 24, 2008 2:36 pm
x 1

Post by Fernickk »

The problem remains in Shoggoth. We're reskinning our model with the bones mirrored like nedelman said, I'll tell you if it worked when we're done.
loath
Platinum Sponsor
Platinum Sponsor
Posts: 290
Joined: Tue Jan 17, 2012 5:18 am
x 67

[solved] negative scale

Post by loath »

this is obviously a long dead thread but i have a solution in case someone hits this problem. (thanks to christophe canon of frogames.net)

unreal engine 2 has an exporter for their actorX format that automatically corrects this issue. so if you have a mesh with this problem use the actorX exporter from:

max/maya 2011 or prior: http://udn.epicgames.com/Two/ActorXMaxTutorial.html

OR

max/maya 2012+: (this is an unofficial build but works great on max 2015)
http://www.gildor.org/down/38/actorx/ActorX_All.zip

1. export the files from max/maya to the actorX format. (psk and psa files)
2. load these files into ultimate unwrap 3d (i hear milkshape works as well)
3. save them out as .mesh / .skeleton files
4. load the mesh in ogre meshy -- it works!
Post Reply