(Probably stupid) 3ds question

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

(Probably stupid) 3ds question

Post by :wumpus: »

I've got a very nice rabbit mesh that I'd like to use in a demo, the problem is that is has 30 bones and that's too much for hardware skinning using vs_1_1 and arbvp1.

The model uses physique to assign weights to vertices. Is it possible to remove bones and have the affected area just static (or move with other bones)? Or does this mean having to re-skin the mesh from the beginning?

I don't really understand how this physique stuff works, I have to set envelopes in some way but moving the control points is very hard (some end up inside the mesh even, where they are invisible)

I'd really like to lower the number of bones to 24 it's unusable like this :(
User avatar
Pirate
Gnoblar
Posts: 16
Joined: Mon Mar 07, 2005 3:23 am
Location: Canada
Contact:

Post by Pirate »

paint the verts, to the selected bone

let me find a video tutorial for max

http://mtlstream02.discreet.com/streami ... s_200k.wmv
Last edited by Pirate on Sun Mar 13, 2005 6:30 pm, edited 1 time in total.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

I see in the xml file that there are bones that don't have vertices assigned to them. Can I remove those in some way? Without them I'd be at 22 bones, which is below the threshold.

They are also all leaves in the bone heirarchy. This is strange. I should be able to cull them easily in a postprocessing step.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Solved it with a little XML filter!

It turns out that the 3dsmax exporter exports too many bones in physique mode. The modeller needs to use this many bones as 3dsmax its own animation system uses the angles between bones instead of giving the bones an orientation? (I must say I don't completely understand it) Hence the 'leafs' of the skeleton can be thrown away on export.

Anyway, it worked.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Image

Image

Hardware skinned bunnies! woohoo!
User avatar
LordMyth
Gremlin
Posts: 181
Joined: Thu Jan 06, 2005 10:19 pm
Location: Belgium
Contact:

Post by LordMyth »

Cool stuff! Really cool...
Have a kiss from me!
Gentoo Linux on AMD64 3200+
NForce4 Chipset
Dual Channel DDR 2x512MB
PCX 16 GeForce 6600 256MB
User avatar
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark
Contact:

Post by DWORD »

Hehe! :D

Maybe scale them up a bit, if that's the grass demo?
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

LordMyth: thanks!

DWORD: yeah, that's the idea. I got the scale a bit wrong, in my own projects 1 unit = 1 meter, in the ogre demos less than 1cm :-) These rabbits are already about 30 units big, this means the grass is huge.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

More bunny shots =)
Image
Image
User avatar
Sputnick
Greenskin
Posts: 110
Joined: Wed Sep 08, 2004 11:49 pm
Location: Lausanne, Switzerland

Post by Sputnick »

Nice, where is Bambi ?
Did the Ogre eat him ?

I like the lighting. Maybe you should reduce a little bit the shininess of the rabbit.

- Sput
User avatar
Clay
OGRE Community Helper
OGRE Community Helper
Posts: 518
Joined: Wed Mar 17, 2004 4:14 am
x 1
Contact:

Post by Clay »

Reminds me of Watership Down. =)
Mr. Turner
Halfling
Posts: 88
Joined: Sun Sep 05, 2004 7:01 pm
Location: Belgium

Post by Mr. Turner »

Really cool, especially the second one (screenshot_3.png).
joi
Gnome
Posts: 327
Joined: Tue Feb 22, 2005 8:11 pm
Location: brazil

Post by joi »

omg, its a bunny invasion! :twisted:
maya 7.0, vs 2005, ogre 1.2
Post Reply