Пример, как использовать GUI WinForms вместе с OpenGL 3.1
Запись от 8Observer8 размещена 11.02.2019 в 20:31
Показов 3296
Комментарии 2
|
Содержание блога Пример, как использовать GUI WinForms вместе с OpenTK.GLControl и OpenGL 3.1
Стандартный диалог цвета при нажатии на кнопки для смены цветов: |
Размещено в Без категории
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
Всего комментариев 2
Комментарии
-
That is good stuff, but imho I think you can focus mainly on OpenGL tutorials/examples because the window framework / window creation library is just a tool that creates OpenGL context and each window library has different API, while OpenGL API is almost the same among all platforms and languages. I am particularly interested in nasty OpenGL stuff like framebuffers, advanced shaders, shadows, etc.Запись от MrOnlineCoder размещена 12.02.2019 в 18:56
-
GUI can help you to practice with OpenGL. You can make simple editors with: buttons, radio button, check boxes and so on. For example, it is difficult for beginners to make GUI for simple games in pure shader OpenGL 3: "Start Game" button or "Score"/"Lives" labels for Snake Game. Another example: some people want to make non-game GUI applications using WinForms/WPF with 2D or 3D graphics in OpenGL 3. Or web applications with GUI in HTML/CSS + WebGL. I will use only C#, JavaScript, and TypeScript. I think it is good idea to combine learning of: C#, JS, TS, WinForms, WPF, HTML/CSS, GameDev, shader math, GLSL, game physics, algorithms (path finding and so on), TDD/BDD, OOP, design patterns, game engine architectures, graphics libraries (Pixi.js, Three.js), game libraries/frameworks/engines (Phaser.js, Unity, Babylon.js). If someone want to translate examples from WinForms to Qt I think it will not be very complicated if he studies Qt + OpenGL for creating non-game applications with reach GUI, for example: editors or 3D viewers.
Сообщение от MrOnlineCoder
Запись от 8Observer8 размещена 12.02.2019 в 19:47


