View Full Version : Hierarchical Models? Help!
08-26-2000, 02:23 AM
I've written .MD2 file viewer, now When I load Character and it's Weapon file, and display it at it's initial coordinates, it displays file, like chracter holding the weapons, problems is that when character is animated, moved, how you can move weapon with character's hand, in 3D Studio you can make child objects, like attach weapons to character's hand, so where the hands move the weapon moves, does anything similar can be implemented in OpenGL ?
you can do that through glPushMatrix(), glPopMatrix()
glPopMatrix(); --> back to upper body matrix
glPopMatrix(); --> back to upper body again
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.