the_fiddler
c152a724d6
Synced trunk with the 1.0 beta-1 release.
2009-11-10 09:22:46 +00:00
the_fiddler
20216d0d2b
* OpenTK/Test/Multithreading.cs: Replaced anonymous delegate by a private function for easier debugging.
...
Switch to/from fullscreen when Key.Space is pressed.
2009-11-09 19:14:14 +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
8af490627f
Fixed a large number of recurring spelling mistakes in documentation (patch by iRBiS). Fixes issue [ #1341 ]: "Vector4 constructor describes w component as z component + other spelling corrections".
2009-11-09 08:15:38 +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
2073a8805c
Added missing base.On* calls.
2009-11-04 17:01:44 +00:00
the_fiddler
8ce46fafde
Set window title and icon.
2009-11-04 11:47:58 +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
f58fe867e8
Added default icon to samples and the example browser.
2009-11-04 01:19:35 +00:00
the_fiddler
72045f4901
Added default application icon.
2009-11-04 00:57:14 +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
c2a40d0b66
Added multithreading test to verify GameWindow behavior with multiple threads.
2009-11-03 09:58:39 +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
af2d77cdc5
Updated version numbers in preparation for release.
2009-11-01 23:07:38 +00:00
the_fiddler
792c4e3645
Merged es20 branch back into trunk.
2009-10-28 23:09:25 +00:00
the_fiddler
fca4dde7cf
Initialize input vectors to random values.
...
Use smaller data blocks that can be verified visually.
Perform error checking when executing the kernel.
Wait for the command queue to finish before displaying the results.
2009-10-28 14:54:20 +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
0c0acfbf75
Track mouse enter/leave events.
2009-10-27 23:58:29 +00:00
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
the_fiddler
ab3e0d8c13
Changed the fps counter color to SkyBlue.
2008-06-22 16:20:40 +00:00
the_fiddler
30a1834dec
* IExample.cs: Updated licensing information.
2008-05-05 17:10:53 +00:00
the_fiddler
5e7a9f9299
* GluTessellation.cs: Updated licensing information.
2008-05-05 17:10:28 +00:00
the_fiddler
a8eee8da11
Added Inertia's FrameBufferObject example.
2008-05-05 17:05:11 +00:00
the_fiddler
029e2e24ef
Fixed path to wav file.
2008-05-04 19:44:21 +00:00
the_fiddler
1e6b7dd913
2008-05-04 19:16:46 +00:00
the_fiddler
ae6d22c0f3
Normalized naming.
2008-05-04 19:14:52 +00:00
the_fiddler
201f671cd9
The MouseChoose combobox now has the primary mouse selected by default.
2008-05-04 18:29:03 +00:00
the_fiddler
9ea06f2895
Trying to debug why mouse is not moving on Linux.
2008-05-04 18:15:14 +00:00
the_fiddler
bd238a8d85
2008-05-04 18:09:15 +00:00
the_fiddler
93f9ee797f
2008-05-04 18:08:56 +00:00
the_fiddler
3c6fc58750
Temporarily remove MouseDevice.Move event, due to issues with deltas when the mouse stops moving.
2008-05-04 18:08:03 +00:00
the_fiddler
7bcfee4bc4
Renamed to InputLogger.
2008-05-04 17:48:11 +00:00
the_fiddler
025b57d428
Added display for WheelDelta value.
2008-05-04 17:45:33 +00:00
the_fiddler
949f1e9ee2
Fixed line endings.
2008-05-04 17:44:13 +00:00
the_fiddler
5dbf0c100b
Make ExampleAttribute.Visible a named parameter, that is true by default (even for test examples).
2008-05-04 16:32:11 +00:00
the_fiddler
a8eafbd367
Use the same resolution as other examples.
2008-05-04 16:28:04 +00:00
the_fiddler
e64ce559d8
Try to change bits per pixel, too.
2008-05-04 16:27:41 +00:00
the_fiddler
50ff7cdc08
Fixed Alt+Enter fullscreen toggling.
2008-05-04 14:45:33 +00:00
the_fiddler
03765583da
Fix line endings.
2008-05-04 14:42:01 +00:00
the_fiddler
1540fab506
Added GetNext and GetPrevious methods to improve toggling of window states and borders.
2008-05-04 14:40:08 +00:00
the_fiddler
3d07e2597f
Normalized line endings.
2008-05-03 16:34:39 +00:00
the_fiddler
cecc9c4867
* Tests/GameWindowStates.cs: Add bidirectional mode changes.
2008-05-03 16:33:17 +00:00
the_fiddler
dab5111c3a
* Tests/GameWindowStates.cs: Updated GameWindowState.cs test pattern.
2008-04-25 22:09:41 +00:00
the_fiddler
655b706221
* Tests/GameWindowStates.cs: Fullscreen toggling on key 3.
2008-04-25 21:49:49 +00:00
the_fiddler
d4201c810e
* Tests/GameWindowStates.cs: Added current status to, and reduced font
...
size for instructions.
2008-04-25 21:32:43 +00:00
the_fiddler
cd3a577285
Test all WindowBorder and WindowStyle combinations. Add instructions.
2008-04-21 20:19:12 +00:00
the_fiddler
8000c46892
Changed all GameWindow.Fullscreen properties to GameWindow.WindowState.
...
Added WindowState test app.
2008-04-20 17:59:05 +00:00
the_fiddler
21cd2fd536
Display a scrollbar when too many examples are loaded.
2008-04-20 15:09:30 +00:00
the_fiddler
43b43fc256
Call Dispose on the loaded bitmap.
2008-04-13 21:31:24 +00:00