Commit graph

423 commits

Author SHA1 Message Date
the_fiddler
198c12ef35 Plane.cs belongs to the 'old' structures. 2009-10-24 10:21:14 +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
7066b8bb8b Bumped version numbers and updated documentation in preparation of 0.9.9-3 release. 2009-10-21 13:35:29 +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
cf859d7694 * OpenCL/VectorAdd.cs: Use hCmdQueue instead of hContext and added
missing CL.EnqueueWriteBuffer calls (patch by mike vasiljevs, fixes
  issue [#1233]: "OpenCL - AddVector.cs - example corrections").
Output calculation results.
2009-10-19 17:45:50 +00:00
the_fiddler
48c85b313a Indicate whether the window is focused or not. 2009-10-18 15:58:48 +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
66e17487b0 Updated in preparation of 0.9.9-2 release. 2009-09-05 18:35:20 +00:00
the_fiddler
fb08c51881 * GameWindowStates.cs: Increased texture size to ensure the text fits inside. 2009-09-04 23:48:44 +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
9425b187c9 Added missing resx to DerivedGLControl. 2009-09-04 13:05:24 +00:00
the_fiddler
ba7f7ea6eb Use CreateRotationY instead of the deprecated RotateY. 2009-09-04 13:04:42 +00:00
the_fiddler
aa11568b72 Add conditional compilation for assembly signature. 2009-09-04 12:45:58 +00:00
the_fiddler
2c4e0feb1a * Source/Build/Properties/AssemblyInfo.cs:
* Source/OpenTK/Properties/AssemblyInfo.cs:
* Source/Examples/Properties/AssemblyInfo.cs:
* Source/GLControl/Properties/AssemblyInfo.cs:
* Source/Compatibility/Properties/AssemblyInfo.cs: Added
  AssemblyKeyFile and AllowPartialTrustCallers attributes.

* Source/OpenTK/Configuration.cs: Added [assemly: AssemblyKeyFile]
  attribute.
Added missing license information.
Moved [assembly: CLSCompliant] to Properies/AssemblyInfo.cs.
2009-09-04 10:34:18 +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
501e690c85 Changed default namespace to OpenTK.Examples. 2009-08-25 15:38:50 +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
6581d66007 Suppressed "Example Browser not ready" message box. 2009-08-20 22:16:11 +00:00
the_fiddler
483ce0e533 Added pokemoen's Geometry Shader sample. 2009-08-20 22:15:54 +00:00
the_fiddler
ed9cdeee47 Removed unused code. 2009-08-19 13:20:45 +00:00
the_fiddler
6b46659b0e Deleted OpenTK.Utilities project. 2009-08-17 10:36:38 +00:00
the_fiddler
bb49daff4c Added OpenGL|ES 2.0 sample. 2009-08-17 10:34:50 +00:00
the_fiddler
c1f41d1eb9 Moved Alut to OpenTK.Compatibility.
Moved SoundData and SoundFormat to OpenTK.Compatibility.
Moved AL and Alc classes to OpenTK.Audio.OpenAL and added the previous namespace to OpenTK.Compatibility.
Removed SoundData wrappers from AL class.
Updated samples to use the new API.
2009-08-17 10:32:20 +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
78df834e1d Disabled TextPrinter samples.
Removed TextPrinter references.
2009-08-17 09:32:50 +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
2841a635a7 Added support for OpenCL samples.
Added VectorAdd sample.
Bumped version number.
2009-08-11 20:18:05 +00:00
the_fiddler
5408787be8 Updated version information. 2009-08-04 10:01:33 +00:00
the_fiddler
b88ce5438b Added Parrot capture & playback sample. 2009-07-19 20:57:17 +00:00
the_fiddler
6b2bb1d79b Updated to use latest AudioCapture / AudioContext APIs. 2009-07-19 20:56:49 +00:00
the_fiddler
5ca63466aa Ported updates from 0.9.8. 2009-07-18 08:44:31 +00:00
the_fiddler
3222b976b3 Updated to use latest Audio api. 2009-07-17 23:00:50 +00:00
the_fiddler
1037fd2ca6 * OpenALDiagnostics.cs: Added new diagnostics sample to Examples project. 2009-07-17 09:58:47 +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
36edcad914 Merged OpenTK.Compute from the cl branch.
Merged changes from the 0.9.8 branch.
Updated version numbers for 0.9.9 release.
2009-06-24 15:47:41 +00:00
the_fiddler
f230535dfc Removed obsolete IResizable, DisplayMode and ColorMode APIs.
Marked carbon API class as internal.
Added a large number of missing XML comments.
2009-06-04 11:31:02 +00:00
the_fiddler
7df9a448d6 Merged gw-next2 branch to trunk. 2009-06-02 15:49:39 +00:00
the_fiddler
95a1e9d297 Added FSAA example. 2009-06-01 11:05:00 +00:00
the_fiddler
42ae25022c Removed obsolete using directives. 2009-06-01 10:52:45 +00:00
the_fiddler
6b56856da7 Added warning when launching the new sample browser.
Removed unused code.
2009-05-31 15:13:28 +00:00
the_fiddler
a2c0cd8b30 Replaced Control.Invoke() by Control.BeginInvoke() to avoid deadlock when Debug.Print() is called from the finalizing thread. 2009-05-30 21:06:51 +00:00
the_fiddler
7244b80332 Fixed exception while the Sample Browser is shutting down. 2009-05-30 17:51:19 +00:00
the_fiddler
2fd79b720e Added workaround for broken Mono GDI+ text offset.
Commented-out unused code.
2009-05-30 17:35:42 +00:00
the_fiddler
339348bb95 Merged the latest specs from opengl.org.
Replaced all instances of Version14, Version15, Version20, Version30 and Version31 enums by type-safe equivalents.
Added gloverrides.xml to support overrides to function parameters / return types. This will make future spec updates easier to merge.
Improved handling of invalid tokens in the specs.
Bindings are now written in alphabetical order. This will reduce patch size for future updates and make side-by-side comparisons easier to perform.
2009-05-29 15:57:01 +00:00
the_fiddler
03f9857bd2 Fixed source code resources for all examples. 2009-04-21 13:33:25 +00:00
the_fiddler
e8dff6f102 * ExampleBrowser.cs: Output TextBox now uses a monospace font.
* ExampleBrowser.Designer.cs: Worked around RichTextBox scrolling artifacts on Mono 1.9.2/2.0.
2009-04-21 13:06:50 +00:00
the_fiddler
8cbbb4087f * ExampleBrowser.cs: Replaced tabs with spaces. 2009-04-21 12:58:16 +00:00
the_fiddler
5c633fef8b * ExampleBrowser.cs: Worked around RichTextBox crash with empty text on Mono 2.0. 2009-04-21 12:55:43 +00:00
the_fiddler
4eb5af7ef7 * Resources.resx: Fixed case in filenames (Visual Studio resource designer ignores case). 2009-04-21 12:47:50 +00:00
the_fiddler
e7694a5a18 Fixed case (FramebufferObject.cs instead of FrameBufferObject.cs) 2009-04-21 12:28:19 +00:00
the_fiddler
548bbd36c2 Let Visual Studio automatically update Resources.Designer.cs. 2009-04-20 10:18:39 +00:00
the_fiddler
632f6b9f1b Completely removed old ExampleLauncher. 2009-04-20 10:18:13 +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
8a0d494069 Updated OpenGL bindings: 'v' suffixes are now trimmed from all functions.
Added Matrix4 and Vector* overloads to Uniform* methods.
2009-04-12 18:24:56 +00:00
the_fiddler
046bdbb403 Fixed type (wrap around). 2009-03-30 21:31:24 +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
bae796307d Updated version numbers and documentation for the 0.9.6 release. 2009-03-25 22:46:31 +00:00
the_fiddler
6b82a491e8 Added snocrash' reverb EFX example. 2009-03-25 18:42:54 +00:00
the_fiddler
d8ab1e972b Replaced C# 3.0 code ('var') with its C# 2.0 equivalent. 2009-03-08 22:28:32 +00:00
the_fiddler
280b8525ea Updated version numbers and documentation for 0.9.5 release. 2009-03-08 22:19:00 +00:00
the_fiddler
8eaa30ea33 Added pokemoen's enhancements to Extensions sample (return values, parameters). 2009-03-08 19:17:36 +00:00
the_fiddler
f4b6f1d0f2 Modified Extensions example to request a GL3.0 context. 2009-03-07 18:33:23 +00:00
the_fiddler
87c04d5bfc Prepare for 0.9.4 release. 2009-03-01 09:55:22 +00:00
the_fiddler
f46deb7103 Fixed exception when no joystick is present. 2009-03-01 01:20:26 +00:00
the_fiddler
8b31086055 Added missing parameters to joystick event loggers.
Updated to use the JoystickAxis and JoystickButton enumerations.
2009-03-01 01:18:00 +00:00
the_fiddler
2eeb1a7bd9 Implemented JoystickDevice events.
Added GameWindow interface to JoystickDevices.
Added HID support to Tests/InputLogger.
2009-03-01 00:28:31 +00:00
the_fiddler
837ea0d90c Removed unused code. 2009-02-28 23:10:25 +00:00
the_fiddler
047eee206c Improved Mono support. 2009-02-28 20:49:58 +00:00
the_fiddler
7a4e5bb4c4 Moved to the Tests namespace. 2009-02-28 20:42:25 +00:00
the_fiddler
8a53a142bb Massively improved example: more information displayed, better layout. 2009-02-28 20:40:10 +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
the_fiddler
6e5eaf4653 Set SVN mime-type to text/plain and eol-style to native. 2009-02-22 15:51:06 +00:00
the_fiddler
5dfa3e4de2 Check whether EXT_framebuffer_object is supported and abort if it is not. 2009-02-22 15:50:08 +00:00
the_fiddler
5e85dfc40e Use GameWindow.Exit() instead of GameWindow.ExitAsync(). 2009-02-22 15:49:33 +00:00
the_fiddler
69b17fa43f Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler
ef6562d266 Bumped version number. 2009-02-20 19:49:07 +00:00
the_fiddler
1fbbeff3be Fixed parameters on MouseDevice.Move and MouseDevice.WheelChanged event loggers. 2009-02-20 19:48:22 +00:00
kanato
c2fd0e5eb2 Merged in macos branch for Mac OS X support. 2009-02-20 18:57:57 +00:00
the_fiddler
12d81be831 Updated to use the ExampleAttribute instead of the old IExample interface. 2009-02-20 18:04:01 +00:00
the_fiddler
d443691b74 Update to use the new MouseDevice interface. 2009-02-20 18:03:05 +00:00
the_fiddler
db690b144f Merged text branch and updated changelog. 2009-02-13 19:09:38 +00:00
the_fiddler
8919350730 Fixed line endings. 2009-02-12 23:43:06 +00:00
the_fiddler
2b7f413fc9 Added Color4 structure serialization test. 2009-01-23 15:51:12 +00:00
the_fiddler
0468453761 Add a call to Application.DoEvents() before launching the example. This should ensure that the launcher window disappears before the example is launched and should also take care of any keyboard/mouse handling issues. 2008-12-25 00:57:00 +00:00
the_fiddler
3606f4ec5c Normalized line endings. 2008-12-10 09:36:33 +00:00
the_fiddler
c084833d48 Removed unused variables and relevant warnings. 2008-09-19 20:57:35 +00:00
the_fiddler
437273f215 Temporarily disabled math serialization test (now examples.exe compiles). 2008-09-02 09:45:52 +00:00
the_fiddler
1c1bf9dad8 Added serialization test. 2008-07-10 14:01:52 +00:00
the_fiddler
0a8f1a9c6a Added screenshot capabilities on F12. 2008-06-22 16:22:30 +00:00