Commit graph

107 commits

Author SHA1 Message Date
the_fiddler
39297e5f6c Corrected version checks in examples. Finally fixes issue [#1898]: "Minor and major OpenGL version incorrect." 2011-09-06 12:55:19 +00:00
the_fiddler
3297ed54ed Moved GL.TexParameter calls to before GL.TexImage2D, as recommended by AMD/ATI. This ensures that no slow format conversion will take place. 2011-09-06 12:15:51 +00:00
the_fiddler
36349f667f Use v1.0 GL.ClearDepth(double) instead of v4.1 GL.ClearDepth(float). 2011-05-30 12:31:39 +00:00
the_fiddler
f4a7bf2a93 Cleaned up license information. 2011-01-18 11:40:49 +00:00
the_fiddler
5c5cda64f2 Added new TextRendering sample. 2011-01-18 11:15:49 +00:00
chrisbrandtner
2ea1b56b9d Changed FBO example and documentation to be more useful. 2010-10-28 15:58:10 +00:00
chrisbrandtner
261b3958c8 Added anaglyph rendering example (for red/cyan glasses). 2010-10-27 16:28:38 +00:00
chrisbrandtner
a93d43c590 Added OpenGL Diagnostics program, similar to OpenAL Diagnostics. 2010-10-24 14:29:27 +00:00
the_fiddler
5ed98455d9 Do not use deprecated methods. 2010-10-22 15:03:06 +00:00
the_fiddler
148578b1eb Fixed code formatting. 2010-10-09 19:59:06 +00:00
the_fiddler
0f80ff8f1d Avoid deprecated EnableClientState(EnableCap) in favor of EnableClientState(ArrayCap). 2010-10-09 19:56:33 +00:00
the_fiddler
1f4b5be7d0 Synced trunk with 1.0 branch. 2010-10-02 18:52:34 +00:00
the_fiddler
3f8f9b09e3 Synced with 1.0 branch. 2010-03-11 22:53:11 +00:00
the_fiddler
da7e4c7252 Backported bugfixes from 1.0 branch. 2010-02-03 19:04:42 +00:00
the_fiddler
d3ba9e61e0 * ImmediateMode.cs: Added missing calls to base.On* events. Removed tabs. 2009-11-09 17:34:24 +00:00
the_fiddler
7c82f66942 Fixed spelling of hertz and fps. Fixes issue [#1333]: "Spelling of SI units in documentation and captions". Patch by iRBiS. 2009-11-06 16:46:28 +00:00
the_fiddler
c0789ffa6e Cleaned up deprecated methods. 2009-11-04 20:48:31 +00:00
the_fiddler
507a890ceb Doubled the size of particles and made them slightly faster. 2009-11-04 10:47:20 +00:00
the_fiddler
74657d94f8 Cleaned up sample, added color and motion. 2009-11-04 10:44:56 +00:00
the_fiddler
baf44cff90 No need to burn 100% CPU time just for a spinning cube! (Especially important for the multithreading test, which opens multiple such windows). 2009-11-03 13:03:35 +00:00
the_fiddler
9d8cf134c1 Qualify System.Drawing.Rectangle/Point/Size structs fully when necessary, to avoid namespace clash with OpenTK.Rectangle/Point/Size. 2009-11-02 09:37:18 +00:00
the_fiddler
8e9ebf4fe1 Renamed dds textures to not contain strange characters that confuse Prebuild.
Added checks for extension support to SwizzledParallax sample.
2009-10-28 09:05:13 +00:00
the_fiddler
fe5b0afe5b Merged Inertia's example and geometry branch, 2009-10-24 10:07:43 +00:00
the_fiddler
b8bdfcd3a5 Fixed compilation issue caused by OnUnload access modifier changed (public -> protected). 2009-10-21 13:51:39 +00:00
the_fiddler
895e416ca1 OnLoad/OnUnload should be protected, not public, to conform with the class library design guidelines. This issue was supposed to be fixed in 0.9.9-2, but was apparently overlooked. 2009-10-21 13:33:00 +00:00
the_fiddler
856e13fcb8 Fixed several code instances that relies on C# 3.0 features. 2009-09-07 23:28:59 +00:00
the_fiddler
6fdf37f99f Added KeyboardKeyEventArgs.
Modified KeyboardDevice.KeyDown/KeyUp to follow the class library design guidelines.
Modified samples to use the new KeyDown/KeyUp event signatures.
2009-09-04 22:10:50 +00:00
the_fiddler
ba7f7ea6eb Use CreateRotationY instead of the deprecated RotateY. 2009-09-04 13:04:42 +00:00
the_fiddler
f6da09177e Fixed line endings and set svn:eol-style to native and svn:mime-type to text/plain for .cs files. 2009-09-03 19:01:11 +00:00
the_fiddler
3081d38199 * GeometryShaderAdvanced.cs: Committed pokemoen's advanced geometry shader tutorial. 2009-08-25 23:06:20 +00:00
the_fiddler
2695db5b79 * GeometryShader.cs: Changed the number of output vertices so that output_vertices * num_varying_components is not larger than MaxGeometryTotalOutputComponents. Moved ProgramParameter calls before LinkProgram. 2009-08-25 09:33:01 +00:00
the_fiddler
483ce0e533 Added pokemoen's Geometry Shader sample. 2009-08-20 22:15:54 +00:00
the_fiddler
af7175ea0a Manually check for OpenGL version. Removed TextPrinter references. 2009-08-17 09:57:43 +00:00
the_fiddler
33e90d1b97 Manually check for OpenGL extension support.
Removed TextPrinter reference.
2009-08-17 09:56:43 +00:00
the_fiddler
48973cdebc Manually check OpenGL version. 2009-08-17 09:56:16 +00:00
the_fiddler
28eec56fa5 Fixed Matrix4.CreatePerspectiveFieldOfView calls to use radians instead of degrees. 2009-08-15 17:52:49 +00:00
the_fiddler
3462e80978 Moved OpenTK.Graphics.GL class to the OpenTK.Graphics.OpenGL namespace (reason: necessary for OpenGL|ES support; necessary for support of different OpenGL profiles). OpenTK.Graphics.GL has been moved to the OpenTK.Compatibility library.
Removed OpenTK.Graphics.Glu class (reason: deprecated upstream; most functionality provided by OpenTK math; not compatible with OpenGL 3.0+.) OpenTK.Graphics.Glu can be accessed through OpenTK.Compatibility.
Added OpenGL|ES-specific ErrorHelper classes.
Moved OpenTK.Graphics.DisplayDevice and OpenTK.Graphics.DisplayResolution to the root OpenTK namespace (reason: their functionality is not specific and does not depend on OpenTK.Graphics).
Split Graphics*Exception classes into different files.
Made GraphicsErrorException public (reason: necessary for OpenTK.Compatibility).
2009-08-14 13:13:28 +00:00
the_fiddler
b38c7610cb Removed tabs. 2009-06-26 21:09:55 +00:00
the_fiddler
7f39df3460 Fixed license information.
Cleaned up Main method.
2009-06-26 21:07:57 +00:00
the_fiddler
b24ae1e28b Added nythrix's OpenGL 3.0 example. 2009-06-26 21:07:09 +00:00
the_fiddler
619a8dcb82 Fixed license information. 2009-06-26 21:06:28 +00:00
the_fiddler
00221ba225 * OpenGL/1.1/DisplayLists.cs: Avoid Glu in favor of OpenTK.Matrix4.
* OpenAL/Test/TestAudioContext.cs: Remove deprecated Alut calls.
* OpenTK/GLControl/SimpleGLControl.Designer.cs: Use DockStyle.Fill instead of anchoring.
2009-06-25 22:47:59 +00:00
the_fiddler
df6671cb4a Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace. 2009-06-25 11:42:05 +00:00
the_fiddler
7df9a448d6 Merged gw-next2 branch to trunk. 2009-06-02 15:49:39 +00:00
the_fiddler
03f9857bd2 Fixed source code resources for all examples. 2009-04-21 13:33:25 +00:00
the_fiddler
e7694a5a18 Fixed case (FramebufferObject.cs instead of FrameBufferObject.cs) 2009-04-21 12:28:19 +00:00
the_fiddler
6bbaad8bfb Moved and renamed examples to match the new example structurs.
Made example source code visible for all examples in example browser.
Updated Prebuild.exe to newest SVN version (resolves issues with resources).
Added .rtf and .resx files to Examples project in Prebuild.xml.
2009-04-20 09:48:33 +00:00
the_fiddler
7851bbff84 New sample browser with documentation and source code display.
Reduced example categories to OpenGL, OpenAL, OpenTK. Updated all samples to reflect this change.
Moved startup and loading code into separate files.
2009-04-20 07:20:25 +00:00
the_fiddler
484432ce36 GLU tesselation example is no longer visible in release builds (it fails on Mono).
FrameBufferObject example: upldated title to match the rest of the examples.
2009-03-25 23:15:03 +00:00
the_fiddler
37755cb398 Check that OpenGL resources have really been allocated, before deleting them in Unload(). 2009-02-22 16:01:29 +00:00