Computer Graphics Ii: Opengl Introduction
Computer Graphics Ii: Opengl Introduction
OpenGL Introduction
1
http://www.anthonyhays.com/glass/
Your version?
http://www.realtech-vr.com/glview/download.html\
OpenGL support in C#
http://www.opentk.com/
Console
Game.cs
Faster but without GUI
WinForms
GUI
Slower, but fast enough for simple applications
More?
OpenTK documentation
Same parameters
Proof
OpenGL
glLoadIdentity
glMatrixMode
glClear
glViewport
gluLookAt
gluPerspective
etc.
OpenTK
GL.LoadIdentity
GL.MatrixMode
GL.Clear
GL.Viewport
Matrix4.LookAt
Matrix4.
CreatePerspectiveFieldOfView
etc.
Not strict
Basic OpenGL
Console vs. WinForms
Where, what and when
Working environment
Viewports, perspective and orthogonal projection
Text rendering
Camera
Rendering content
Shaders
Application
Geometry
Rasterizer
OpenGL 4.X
Base
http://www.opengl.org/
2.X reference http://www.opengl.org/sdk/docs/man/
Books older editions
http://www.starstonesoftware.com/OpenGL/
Tutorials
http://www.arcsynthesis.org/gltut/
Google, GLSL, Shading, Shaders ...
http://www.opentk.com/doc
must read ~120 pages
From your first triangle to shaders in C#
Documentation in your installed OpenTK
Examples
OpenTK projects
http://www.opentk.com/project/all
http://www.cs.virginia.edu/~gfx/Courses/2004/RealTi
me/
http://www.cg.tuwien.ac.at/courses/Realtime/slides.h
tml