简体   繁体   中英

OpenGL in C# in WinForms

I have to write a simple program that will draw something in a Windows Forms Application using OpenGL and C#? Can you give me example of library and/or maybe a tutorial? I found this: http://sourceforge.net/projects/csgl/files/CsGL/1.4.1/ but it is from 2002. Is there anything newer?

You could check this out: http://opentk.net/

The Open Toolkit is set of fast, low-level C# bindings for OpenGL, OpenGL ES and OpenAL. It runs on all major platforms and powers hundreds of apps, games and scientific research.

OpenTK provides several utility libraries, including a math/linear algebra package, a windowing system, and input handling.

另一种选择是 Code Project 上的SharpGL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM