Simple model view on panel

Posted By: Aku_Aku

Simple model view on panel - 02/03/13 17:14

Hi!

Could somebody give me a hint, how should implement a simple model viewer on a single panel?
I know, how can i put a view onto a panel and show that, it isn't problem. I don't need to rotate the model or something else, only to show.
I just would like to get your advices related this with a model.
Thanks in advance.
Posted By: Uhrwerk

Re: Simple model view on panel - 02/03/13 17:17

Setting the view's target_map to the bmap of the panel should to the trick. If you just want to use part of the panel place a window element inside the panel with a bitmap that is exactly the window's size and render to the window's bitmap.

Now you just have to let the view face the model you want to render onto the bitmap.
Posted By: Aku_Aku

Re: Simple model view on panel - 02/03/13 20:58

Thanks.
© 2023 lite-C Forums