Truevision3D and WxMax

BlitzMax Forums/BlitzMax Programming/Truevision3D and WxMax

Volker(Posted 2009) [#1]
I want Truevision to work with WxMax on a panel or a frame.
The goal is to have TV3D run in pseudo-fullscreen so that
I can use WxMax with it.

As far as I got:
Get the HWND of the wxpanel with
local p:byte ptr=panel.gethandle()
This returns a byte pointer.
pEngine.RenderToOtherHWND() needs an Int (not an Int ptr).
so I did
Local i:Int = Int(p) ' is this correct?
and passed it to pEngine.RenderToOtherHWND(i).
I tried it to with the TVviewport.setHWND.

Can someone point me in the right direction?


Mr. Write Errors Man(Posted 2009) [#2]
There's some code here:
http://www.blitzbasic.com/Community/posts.php?topic=83616#943190


Volker(Posted 2009) [#3]
Wow,this is great. Thanks!
And a very big thanks to kenshin for his TV3D tutorial set.