Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

GUI WPF + OpenGL 3.1

$
0
0

We will see how to place OpenTK.GLControl on WPF window to make GUI application with 2D/3D graphics using modern OpenGL 3.

EditedTriangle_WPFOpenGL31CSharp_Result.png.ee287ff2ace0598d55c51f32540d8876.png

How to create the project from scratch

Note 1: RMB - Right Mouse Button click
Note 2: Good Color calculator for normalized values: http://doc.instantreality.org/tools/color_calculator/

  • Create WPF application, with the name "EditedTriangle". See the screenshot:

Spoiler

EditedTriangle_WPFOpenGL31CSharp_NewProject.png.3f540ad7ae9d7549ca58724fd8ce393c.png

Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>