A 3d editor with wxMax ?

BlitzMax Forums/Brucey's Modules/A 3d editor with wxMax ?

Azaratur(Posted 2008) [#1]
I use wxMax to create my 2d windows how can i include a 3d screen?
I explain it better, i wanna create a sort of 3d editor and i need to include in the main window the 3d screen of Leadwerks engine.
How can i?

Thanks

Aza


Pete Rigz(Posted 2008) [#2]
You can use wxGLCanvas. There is an example if this in use in the samples folder of wx.mod called glcube.bmx.


Azaratur(Posted 2008) [#3]
Thanks i will try it!
It's work with Leadwerks engine too?

I notice i wrong to write in my first post..

Aza


Pete Rigz(Posted 2008) [#4]
I have no experience with Leadwerks but I can't see any reason why not.


Brucey(Posted 2008) [#5]
There are issues using full-screen graphics contexts with wxMax, where I've had trouble getting input events to the context, but otherwise I'm fairly confident that you can use OpenGL with wxMax as normal.

It's also possible to "connect" a DirectX context to a wxWindow, although there aren't many examples for it at the moment. (there's method called GetHandle() which returns the HWND that you might use for such a case).