Commit graph

111 commits

Author SHA1 Message Date
Stefanos A.
b66912a8e1 Potential fix for issue 3430
EnableCap.ColorArray is part of the client state and must be enabled
with GL.EnableClientState, not GL.Enalbe. This is a potential fix for
http://www.opentk.com/node/3430 "Picking example's problem"
2013-11-09 15:13:50 +01:00
thefiddler
8dcb8601a2 Normalized line endings
Hopefully this is the first and last time we have to do this.
2013-10-11 01:58:54 +02:00
the_fiddler
f3250baf07 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
06db92585a 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
45083fb996 Use v1.0 GL.ClearDepth(double) instead of v4.1 GL.ClearDepth(float). 2011-05-30 12:31:39 +00:00
the_fiddler
5d1777ffab Cleaned up license information. 2011-01-18 11:40:49 +00:00
the_fiddler
263f33ca5b Added new TextRendering sample. 2011-01-18 11:15:49 +00:00
chrisbrandtner
a2d53705e7 Changed FBO example and documentation to be more useful. 2010-10-28 15:58:10 +00:00
chrisbrandtner
ceca4403ad Added anaglyph rendering example (for red/cyan glasses). 2010-10-27 16:28:38 +00:00
chrisbrandtner
c9502aae54 Added OpenGL Diagnostics program, similar to OpenAL Diagnostics. 2010-10-24 14:29:27 +00:00
the_fiddler
7c5d4fab58 Do not use deprecated methods. 2010-10-22 15:03:06 +00:00
the_fiddler
546decd579 Fixed code formatting. 2010-10-09 19:59:06 +00:00
the_fiddler
9516b56eb4 Avoid deprecated EnableClientState(EnableCap) in favor of EnableClientState(ArrayCap). 2010-10-09 19:56:33 +00:00
the_fiddler
88e6aceae0 Synced trunk with 1.0 branch. 2010-10-02 18:52:34 +00:00
the_fiddler
bca3751e8b Synced with 1.0 branch. 2010-03-11 22:53:11 +00:00
the_fiddler
53b84d18d4 Backported bugfixes from 1.0 branch. 2010-02-03 19:04:42 +00:00
the_fiddler
2cbf60bb6f * ImmediateMode.cs: Added missing calls to base.On* events. Removed tabs. 2009-11-09 17:34:24 +00:00
the_fiddler
67fed8705f 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
75843147b8 Cleaned up deprecated methods. 2009-11-04 20:48:31 +00:00
the_fiddler
f0fb55b864 Doubled the size of particles and made them slightly faster. 2009-11-04 10:47:20 +00:00
the_fiddler
11b68be5d0 Cleaned up sample, added color and motion. 2009-11-04 10:44:56 +00:00
the_fiddler
92c5cbfaf2 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
ef183b18cc 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
af94d707c0 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
cde8d8771b Merged Inertia's example and geometry branch, 2009-10-24 10:07:43 +00:00
the_fiddler
c65d6789b0 Fixed compilation issue caused by OnUnload access modifier changed (public -> protected). 2009-10-21 13:51:39 +00:00
the_fiddler
15cad88758 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
a212881e72 Fixed several code instances that relies on C# 3.0 features. 2009-09-07 23:28:59 +00:00
the_fiddler
d2f28a6e97 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
43ec20a3dc Use CreateRotationY instead of the deprecated RotateY. 2009-09-04 13:04:42 +00:00
the_fiddler
d6c4c801e1 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
ec3ef00a4e * GeometryShaderAdvanced.cs: Committed pokemoen's advanced geometry shader tutorial. 2009-08-25 23:06:20 +00:00
the_fiddler
5018a2113b * 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
765c109b44 Added pokemoen's Geometry Shader sample. 2009-08-20 22:15:54 +00:00
the_fiddler
486c42168a Manually check for OpenGL version. Removed TextPrinter references. 2009-08-17 09:57:43 +00:00
the_fiddler
b599535679 Manually check for OpenGL extension support.
Removed TextPrinter reference.
2009-08-17 09:56:43 +00:00
the_fiddler
7f7662cfb8 Manually check OpenGL version. 2009-08-17 09:56:16 +00:00
the_fiddler
dc877c5bfe Fixed Matrix4.CreatePerspectiveFieldOfView calls to use radians instead of degrees. 2009-08-15 17:52:49 +00:00
the_fiddler
0e02f67749 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
2d535853af Removed tabs. 2009-06-26 21:09:55 +00:00
the_fiddler
828836675b Fixed license information.
Cleaned up Main method.
2009-06-26 21:07:57 +00:00
the_fiddler
6aabf2cef5 Added nythrix's OpenGL 3.0 example. 2009-06-26 21:07:09 +00:00
the_fiddler
38947ffba5 Fixed license information. 2009-06-26 21:06:28 +00:00
the_fiddler
258f2a4e57 * 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
a7363b54e6 Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace. 2009-06-25 11:42:05 +00:00
the_fiddler
cb661c2dca Merged gw-next2 branch to trunk. 2009-06-02 15:49:39 +00:00
the_fiddler
c83fda0419 Fixed source code resources for all examples. 2009-04-21 13:33:25 +00:00
the_fiddler
8bcf089eee Fixed case (FramebufferObject.cs instead of FrameBufferObject.cs) 2009-04-21 12:28:19 +00:00
the_fiddler
989be84c96 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
ec7315500e 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