A 3d editor with wxMax ?BlitzMax Modules Forums/Brucey's Modules/A 3d editor with wxMax ?
| 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?
| You can use wxGLCanvas. There is an example if this in use in the samples folder of wx.mod called glcube.bmx. |
| Thanks i will try it!|
It's work with Leadwerks engine too?
I notice i wrong to write in my first post..
| I have no experience with Leadwerks but I can't see any reason why not. |
| 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).