Page 1 of 1

wxWidgets+OpenGL+Magnum library

Posted: Fri Jul 16, 2021 7:07 am
by ollydbg23
I just finish building a wxWidgets application with OpenGL and Magnum library support.

This is a modified version of williamjcm's contribution at this branch:

https://github.com/mosra/magnum-bootstr ... -wxwidgets

The screen shot is here as attachment, and the code is in the link here: https://github.com/mosra/magnum-bootstr ... -881224413
ok2.png
ok2.png (31.37 KiB) Viewed 12248 times
I hope it can help other guys.

Re: wxWidgets+OpenGL+Magnum library

Posted: Fri Jul 16, 2021 3:11 pm
by bsenftner
Great work!

Re: wxWidgets+OpenGL+Magnum library

Posted: Sun Jul 18, 2021 10:39 am
by ollydbg23
https://github.com/asmwarrior/magnum-wx

I create a more complex project in the above site.

It can use the mouse to rotate the screen, but it looks like rotation dose not work as expected. Mouse scroll works OK.

EDIT:

I add an issue in the magnum's github site: magnum + wxWidgets sample projects, mouse drag can rotate the camera, but not as expected · Issue #27 · mosra/magnum-bootstrap