PDA

View Full Version : MyRecentManipulatorGotStuck


HuaMuLan
06-11-2009, 03:37 AM
http://i486.photobucket.com/albums/rr230/HuaMuLanChina/1.jpghttp://i486.photobucket.com/albums/rr230/HuaMuLanChina/2.jpg
I tried to figured out(use boundingBox) how large the object I created in the scene and accordingly to build my mesh manipulator .
But obviously , in these two pictures ,see, GetLocalBoundBox returned me curious values.
.in the first pic . I used BaseObject::GetLocalBoundBox() and in the second pic ,it is
SimpleManipulator::GetLocalBoundBox() .
GetLocalBoundBox() in SimpleManipulator class is not inherited from BaseObject class ?
if so , why i got different return value ?
are there any other way to get an value that is associated with the space of my created object .So I can create relationship between the value and the size of my mesh .
http://i486.photobucket.com/albums/rr230/HuaMuLanChina/grab.jpg
and this what i finished in MXS /

HuaMuLan
06-11-2009, 06:45 AM
mpINode->GetObjectRef()->GetLocalBoundBox(t,mpINode,ve,boundingBox);
seems work ,but still did not know why?

CGTalk Moderation
06-11-2009, 06:45 AM
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.