Models displayed in a GUI window
by Alexis Baroody · in Torque Game Engine · 05/16/2005 (5:31 pm) · 2 replies
Hello,
I am currently trying to create a window that will pop up and show detailed information about an in game object along with a large rendering of the object. I can create the window, I can get a pointer to the object, however, I don't know how to actually render the object in the window. Currently I have created my own control by parenting from guiBitmapCtrl. I've tried writing a few things into the control's onRender, but my knowledge of how Torque renders models is a bit sketchy. I'm not sure how to approach this, whether to pop in and somehow change the viewport for the model temporarily, or create a whole new model for a brief time. Any help is appreciated.
Thanks
I am currently trying to create a window that will pop up and show detailed information about an in game object along with a large rendering of the object. I can create the window, I can get a pointer to the object, however, I don't know how to actually render the object in the window. Currently I have created my own control by parenting from guiBitmapCtrl. I've tried writing a few things into the control's onRender, but my knowledge of how Torque renders models is a bit sketchy. I'm not sure how to approach this, whether to pop in and somehow change the viewport for the model temporarily, or create a whole new model for a brief time. Any help is appreciated.
Thanks
Associate Jaimi McEntire
King of Flapjacks