does orge support parenting?

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
ron
Gnoblar
Posts: 3
Joined: Wed Sep 28, 2005 8:01 am

does orge support parenting?

Post by ron »

does anyone have a problem with linking/parenting meshes to bone objects?

i have a mesh object that i want to parent to a joint,so that my character can be animated while holding the said mesh object.But when i try to export my mesh,it crashes.

what i want to ask is if orge supports parenting?

im a maya user btw
appreciate any help on this :)
nfz
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 1263
Joined: Wed Sep 24, 2003 4:00 pm
Location: Halifax, Nova Scotia, Canada

Post by nfz »

Ogre does support attaching other scenenodes that have a moveable object attached to individual bones. I don't think the Maya exporter supports this directly, it is currently done through code or through a scene description interchange format.
ron
Gnoblar
Posts: 3
Joined: Wed Sep 28, 2005 8:01 am

Post by ron »

may i know who or where i can get that particular code or scene description interchange format from?
User avatar
CombatWombat
Greenskin
Posts: 138
Joined: Fri Feb 04, 2005 11:05 pm
Location: Melbourne, Aus

Post by CombatWombat »

The mis-spelling of Ogre as Orge has always struck me as a bit of a phonetic freudian slip, but this topic title certainly takes the cake :D

Play it safe now, kiddies ;)

To redeem my off topic post, take a look at SkeletonInstance::attachObjectToBone - you can get a SkeletonInstance from an Entity with Entity::getSkeleton.
User avatar
metaldev
Orc Shaman
Posts: 761
Joined: Thu Mar 17, 2005 11:56 pm
Location: Boston
x 15
Contact:

Post by metaldev »

@ ron

also, using the .scene file format allows you to describe a heirarchy of nodes / entities to ogre. I made a scene manager for maya that allows you to export this file.


grab it HERE
here is the topic:
http://www.ogre3d.org/phpBB2/viewtopic. ... 875#104875
Post Reply