Commit graph

479 commits

Author SHA1 Message Date
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
the_fiddler
3db006f122 Added audio file as example. 2008-04-13 20:06:55 +00:00
the_fiddler
d4590f183b Made AudioContext.Device private. Added AudioContext.SupportsExtension. 2008-04-13 19:42:37 +00:00
the_fiddler
1ef220c5ab Fixed framerate rendering. 2008-04-13 18:43:15 +00:00
the_fiddler
c56152fe3b Removed the example number. 2008-04-13 16:54:07 +00:00
the_fiddler
bd8cc95bc2 License. 2008-04-13 16:53:41 +00:00
the_fiddler
2b744c07c4 Added Inertia's Julia Fractal example. 2008-04-13 16:52:15 +00:00
the_fiddler
fb13f49a85 Moved OpenTK.Graphics.OpenGL to OpenTK.Graphics. 2008-04-13 16:45:56 +00:00
the_fiddler
537015b337 Now handles security exceptions. 2008-04-13 15:51:31 +00:00
the_fiddler
2645abef72 Got rid of obsolete DisplayMode. 2008-04-13 15:51:09 +00:00
the_fiddler
71407f76d0 Updated to use AudioLoader. 2008-04-06 14:48:47 +00:00
the_fiddler
1474e3b9bc Trying to fix sound popping. 2008-04-06 14:28:29 +00:00
the_fiddler
55bbd2d5f8 Updated using (AudioContext) declaration. 2008-04-06 01:28:42 +00:00
the_fiddler
2fa1330f3b Fixed SoundReader prermissions.
Fixed a problem with SoundReader.EndOfFile.
Removed a Dispose() call i Playback.cs (was not necessecary).
Streaming code updates.
2008-04-04 22:14:42 +00:00
the_fiddler
98ded8fd9e Moved streaming code to StreamingPlayback.cs. 2008-04-04 21:33:34 +00:00
the_fiddler
224f917a49 Added licenses. 2008-04-04 21:05:03 +00:00
the_fiddler
ddf7f3ac34 Renamed TestPlayback.cs to Playback.cs 2008-04-04 21:04:39 +00:00
the_fiddler
5f4a639ebd Renamed TestPlayback.cs to Playback.cs. 2008-04-04 20:44:47 +00:00
the_fiddler
b5974951d7 Move streaming playback to its own file. 2008-04-04 20:20:33 +00:00
the_fiddler
feea08d121 Initial commit (stubbed). 2008-04-04 20:19:53 +00:00
the_fiddler
7001076f5a Moved OpenTK.OpenAL to OpenTK.Audio.
Added SoundReader class.
Added OpenTK.Math.Functions.NextPowerOfTwo 
Fixed several AL functions, and added overloads to AL.BufferData.
Added OpenAL wave playback sample.
2008-04-04 19:46:08 +00:00
the_fiddler
26f1ac30d0 Added support for higher mouse buttons under X11.
Use XCheckWindowEvent instead of XNextEvent.
2008-03-24 18:18:26 +00:00
the_fiddler
ac68af8730 Do not call opengl functions when in Visual Studio designer. 2008-03-24 13:27:18 +00:00
the_fiddler
be13869712 Use GLControl. 2008-03-24 13:26:25 +00:00
the_fiddler
e1a30509cb Updated some licenses. Remove a couple of DisplayMode warnings. 2008-03-24 13:15:25 +00:00
the_fiddler
73914709ba Call GL.Clear. Slightly reduce Update speed. 2008-03-10 11:38:05 +00:00
the_fiddler
1e397fcee5 Moved OpenTK.Fonts to OpenTK.Graphics namespace. 2008-03-08 14:38:10 +00:00
the_fiddler
edd10b86d9 Report the size of uploaded VBO data, when an error occurs. 2008-03-03 12:45:18 +00:00
the_fiddler
459cbb0c8f Updated hidden window constructor. 2008-03-01 13:16:34 +00:00
the_fiddler
6213551844 Added screenshot capability. 2008-03-01 13:15:35 +00:00
the_fiddler
7d6d34c686 Renamed GraphicsFormat to GraphicsMode. 2008-02-28 15:26:13 +00:00
the_fiddler
9145d0b6ca Updated examples to use GraphicsFormat instead of DisplayMode.
Improved S04_Input_Logger and W03_Extensions shutdown.
2008-02-28 13:57:48 +00:00
the_fiddler
4fe6d37770 Completed move of OpenTK.OpenGL to OpenTK.Graphics.OpenGL. 2008-02-02 00:58:26 +00:00
the_fiddler
5b9991cba3 Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext. 2008-01-31 14:39:54 +00:00
the_fiddler
8c899ab16a 2008-01-31 14:27:24 +00:00
the_fiddler
22c80f5b2e Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext. 2008-01-31 14:23:20 +00:00
the_fiddler
7380c1616e Removed MakeCurrent() tests. 2008-01-31 14:11:56 +00:00
the_fiddler
2f6f12f935 Fixed test. Restored fade-out/fade-in effects. 2008-01-26 14:38:35 +00:00
the_fiddler
76566b840e Updated test. 2008-01-26 14:21:02 +00:00
the_fiddler
6f9deacc85 Added fadeout and fadein effect. 2008-01-26 14:02:58 +00:00
the_fiddler
1caf0c77eb Explicitly change to 640x480@60Hz. 2008-01-26 10:40:20 +00:00
the_fiddler
e17439384b Fullscreen mode changes now work! 2008-01-24 12:36:40 +00:00
the_fiddler
793744402e WinDisplayDevice is now multiple-monitor aware.
Added SelectResolution function to DisplayDevice.
Updated test to change settings on all available monitors.
2008-01-24 10:50:39 +00:00
the_fiddler
542fd0b2f7 Added test for DisplayDevice. 2008-01-24 09:25:43 +00:00
the_fiddler
70ad9b8714 Fixed capitalization of Texture2D etc. 2008-01-24 09:25:24 +00:00
the_fiddler
40e9857c6f Reverted last commit (bogus!) 2008-01-24 09:24:11 +00:00
the_fiddler
d8860a6aaa Fixed capitalization of Texture2D etc. 2008-01-24 09:17:07 +00:00
the_fiddler
3c7d4e27b0 Disabled multiple AudioContext under linux.
Moved AudioContext.LoadAvailableDevices() call outside the static constructor.
2008-01-22 21:18:47 +00:00
the_fiddler
5ec6a23527 Added as hidden example. 2008-01-22 14:54:11 +00:00
the_fiddler
5ec59ff280 Use Utilities.SetWindowTitle() 2008-01-22 14:54:00 +00:00
the_fiddler
f3916e3357 Still trying to debug crash on Mono. Reverted changes. 2008-01-20 22:35:46 +00:00
the_fiddler
9c0087e1bf Commented out IsCurrent = true to help debug crash on Mono. 2008-01-20 22:19:52 +00:00
the_fiddler
8153d50b3e Removed Suspend call before MakeCurrent() 2008-01-20 22:17:23 +00:00
the_fiddler
ec9b9fd59c Corrected an assertion. 2008-01-20 22:12:04 +00:00
the_fiddler
cf0747df6c Trying to debug alcMakeContextCurrent crash on Linux. 2008-01-20 22:04:41 +00:00
the_fiddler
a8353d7e33 Worked around a Mono bug with unsafe inline constructors. 2008-01-20 19:42:01 +00:00
the_fiddler
878af03601 Documentation updates. Getting rid of all remaining warnings in debug build. 2008-01-20 19:29:42 +00:00
the_fiddler
5a66d44f19 Documentation updates. Getting rid of warnings. 2008-01-20 19:00:03 +00:00
the_fiddler
b0116f903c Updated version numbers. 2008-01-20 17:29:29 +00:00
the_fiddler
5716c6a334 Updated example attribute and tessellation function. It now works! 2008-01-20 17:21:04 +00:00
the_fiddler
66ab195cec Spelling. 2008-01-20 09:29:48 +00:00
the_fiddler
98f7e0a837 Removed unused code. 2008-01-20 09:22:58 +00:00
the_fiddler
5d1aa04bc6 Update to Keyboard Handling. 2008-01-20 09:00:15 +00:00
the_fiddler
f24139c26a Added example. 2008-01-20 08:42:19 +00:00
the_fiddler
cf729f5df6 Updated licensing information. Added more test data. 2008-01-19 15:26:16 +00:00
the_fiddler
57caf66538 Updated licensing information. 2008-01-19 15:25:51 +00:00
the_fiddler
3174141b23 Fixed AudioContext.IsCurrent getter (would throw if no context was current). 2008-01-18 15:10:25 +00:00
the_fiddler
c3b14818ea Renamed TestContext.cs to TestAudioContext.cs 2008-01-18 14:13:30 +00:00
the_fiddler
f36fe39044 Start testing of AudioContext class. 2008-01-18 14:13:04 +00:00
the_fiddler
f2f59590ac Removed MathSpeed.Difficulty. 2008-01-18 14:01:25 +00:00
the_fiddler
5cb5f2c74b Removed TryMouse structure left from testing the WinRawMouse code. 2008-01-18 14:01:06 +00:00
the_fiddler
d3538521ee Updated test to use the latest AudioContext version. Logic commented out for now. 2008-01-18 14:00:28 +00:00
the_fiddler
e43203675e ExampleAttribute.ToString() now ignores ExampleAttribute.Difficulty if it is zero. Simplified ExampleAttribute constructors. 2008-01-18 13:59:26 +00:00
the_fiddler
6b2169daf6 Test OpenTK.Audio.AudioContext 2008-01-17 14:07:32 +00:00
the_fiddler
bf269b2d0d Show hidden examples in debug mode. 2008-01-17 14:06:14 +00:00
the_fiddler
8d68aa3305 Updated version numbers. 2008-01-15 16:44:17 +00:00
the_fiddler
6f7286e7e0 Use Utilities.SetWindowTitle 2008-01-15 12:24:57 +00:00
the_fiddler
586e982ce0 Add SetWindowTitle utility. 2008-01-15 12:24:43 +00:00
the_fiddler
4d70f64c9a Hide from ExampleLauncher (not ready yet). 2008-01-15 12:24:36 +00:00
the_fiddler
e8cd2dc6c5 Fix for "unknown reference to KeyboardDevice" or on Mono. 2008-01-15 09:51:32 +00:00
the_fiddler
e3c67f4dcf Changed the name of a label (clashed with base GLControl). 2008-01-15 09:35:08 +00:00
the_fiddler
66f2143856 Bumped version number. 2008-01-15 00:10:12 +00:00
the_fiddler
2b378b5a99 Updated GL.DrawElements to use DrawElementsType instead of Enums.All 2008-01-15 00:03:32 +00:00
the_fiddler
ad057fbd98 Slight documentation update. 2008-01-15 00:01:46 +00:00
the_fiddler
2ad50d33b6 Got rid of some warnings. 2008-01-11 20:54:06 +00:00
the_fiddler
84f0ff047f Possible performance improvement. 2008-01-11 20:18:51 +00:00
the_fiddler
09e6d60293 Added Ctrl-F1 command to show hidden items. 2008-01-11 20:17:36 +00:00
the_fiddler
ef75237981 Initial commit. 2008-01-11 20:17:01 +00:00
the_fiddler
d008b32cd6 Renamed MouseButtons to MouseButtonsBox (clashed with Windows.Forms.MouseButtons)
Used full namespace in anonymous delegate declaration.
2008-01-06 10:56:10 +00:00
the_fiddler
f4c9e21924 Disabled from ExampleLauncher. 2008-01-06 02:35:32 +00:00
the_fiddler
6d8d4aa846 Bumped version number. 2008-01-06 02:19:08 +00:00
the_fiddler
8476ff2c08 Fixed data marshaling to winforms thread. 2008-01-06 02:18:58 +00:00
the_fiddler
bbb38b9271 Updated according to the new enums. 2008-01-04 20:55:52 +00:00
the_fiddler
33495b5d63 Updated according to the new enums. 2008-01-04 20:55:33 +00:00
the_fiddler
891bb9c6af Fixed cross-threading calls into Windows.Forms, using delegates and BeginInvoke(). 2008-01-04 20:55:15 +00:00
the_fiddler
18296ea663 Updated T08_VBO and T10_GLSL_Cube to use the more specific, updated enums. 2008-01-02 01:01:40 +00:00
the_fiddler
938b2b8519 Hooks for garbage-collectable OpenGL resources.
the [...]GLNative classes now use GLContext instead of the platform-specific [...]GLContext implementations.
Updated the IGLContext interface with functions to query the current context.
2007-12-09 18:15:51 +00:00
the_fiddler
8db2411038 Added ITextPrinter.Begin()/End() functions to speed up font rendering. Updated Fonts and Text examples. 2007-11-12 07:36:34 +00:00
the_fiddler
2a315072f2 Added MathSpeed.cs test. 2007-11-11 23:25:41 +00:00
the_fiddler
fe1d12d037 Final touches before release. 2007-11-11 21:48:00 +00:00
the_fiddler
b4f044b293 Fixed loading of Bitmap on Linux (invalid path separator). 2007-11-11 20:09:18 +00:00
the_fiddler
9725f72fb9 glControl1_Resize event was not fired. 2007-11-11 19:39:09 +00:00
the_fiddler
255e0f5cf9 Added ExampleAttribute to all examples. Improved Textures example. Modified several other examples. 2007-11-11 18:44:10 +00:00
the_fiddler
405e949a2a Added example data. 2007-11-11 18:43:16 +00:00
the_fiddler
9f1593aada Initial check-in. 2007-11-10 23:31:30 +00:00
the_fiddler
3bdcc9dbcf Changed background color to SteelBlue. Added ExampleAttribute. 2007-11-10 23:31:01 +00:00
the_fiddler
db06500dd2 Change enum in GL.TexParameter from All to more specific type. 2007-11-10 23:30:14 +00:00
the_fiddler
7bbab20112 Updated licensing information. 2007-11-10 23:29:45 +00:00
the_fiddler
0c3e912dd4 Added SansSerif font. 2007-11-08 16:43:03 +00:00
the_fiddler
bfcfe107b2 Added documentation. 2007-11-08 16:42:30 +00:00
the_fiddler
4772bfee9e Tests text rendering and layout code. 2007-11-06 21:02:27 +00:00
the_fiddler
120f96f3bc Changed implementation. Now tests font rendering on different sizes. 2007-11-06 21:02:01 +00:00
the_fiddler
37f94717de Tried to implement some things, but it's broken. 2007-11-06 21:01:35 +00:00
the_fiddler
e14a460d2a Removed an unused variable warning. 2007-11-04 16:49:19 +00:00
the_fiddler
a65e1ea45c 2007-11-04 15:33:43 +00:00
the_fiddler
455ed4213a Updated to use the new math classes. 2007-11-04 15:32:52 +00:00
the_fiddler
e556150d2f Updated to follow the new naming conventions. Fonts tutorial is broken. 2007-11-04 15:32:24 +00:00
the_fiddler
2435891f7a Updated to match latest TextureFont revision. 2007-11-01 23:24:32 +00:00
the_fiddler
c45f2d97e4 Updated font rendering code. 2007-10-26 15:55:24 +00:00
the_fiddler
bd156c4ac0 Temporarily removed font rendering. 2007-10-26 15:55:07 +00:00
the_fiddler
f7c5c73aa5 Platform neutral path separator. 2007-10-21 15:46:00 +00:00
the_fiddler
edfea5cf08 Example Data directory. 2007-10-20 14:20:09 +00:00
the_fiddler
705de68940 Example Data directory. 2007-10-20 14:19:25 +00:00
the_fiddler
5fde8da87c Bumped version number to 0.3.13.x 2007-10-20 14:18:24 +00:00
the_fiddler
20ce34c6a8 Example now reads the poem from Data\Poem.txt instead from an embedded resource. 2007-10-20 13:41:39 +00:00
the_fiddler
cff4587ebd Delete Resources.resx because it wouldn't play nice with Prebuild.exe. I should report the problem to Prebuild and add it in back in the future - resources are rather nice. 2007-10-20 13:40:24 +00:00
the_fiddler
4fa9a71fe6 Added ordering information. 2007-10-20 10:54:40 +00:00
the_fiddler
a19c45e895 Added Resources class to Examples. 2007-10-20 10:35:32 +00:00
the_fiddler
a072f32920 Simplified ExampleLauncher. Better naming scheme. 2007-10-20 10:34:29 +00:00
the_fiddler
b269cc2832 Added Fonts example (Tutorial 6) that showcases the use of the TextureFont class. 2007-10-20 10:32:52 +00:00
the_fiddler
433562e99d Cleaned up and simplified the ExampleLauncher reflection functions. Can now launch "console" examples (which utilize neither GameWindow nor Windows.Forms). Better naming scheme for loaded examples. 2007-10-20 10:29:39 +00:00
the_fiddler
3e425f23ca Deleted obsolete tests. 2007-10-17 21:14:36 +00:00
the_fiddler
7ee58e02b9 Added ability to launch console applications. 2007-10-17 11:33:11 +00:00
the_fiddler
ca79c08c7f Improved Call Performance test. It now outputs to the console / log file, and provides much better results. 2007-10-17 11:32:36 +00:00
the_fiddler
f69be39f20 Fixed build (changes to GLControl). 2007-10-15 11:16:53 +00:00
the_fiddler
f5ead52dd1 Removed Fullscreen property (fixes build issue). 2007-10-15 11:13:51 +00:00
the_fiddler
605225822a Removed the glControl.CreateControl() calls. 2007-10-05 07:46:56 +00:00
the_fiddler
0ea1aaf6cf Deleted obsolete examples. 2007-09-30 14:11:46 +00:00
the_fiddler
b9cd62e372 Now uses disposable pattern when launching GameWindows and Forms. 2007-09-30 12:38:40 +00:00
the_fiddler
1e33b950c7 Updated to use the new Shapes.Cube interface. 2007-09-30 12:36:41 +00:00
the_fiddler
0b92d270df Added some debug information. Updated to use the new Shapes.Cube interface. 2007-09-30 12:35:35 +00:00
the_fiddler
3cd9a23b17 Fixed memory corruption issue with (Cube's vertices were being moved by the GC). I think. 2007-09-30 12:34:20 +00:00
the_fiddler
0328e31356 Correct class names. 2007-09-27 01:14:09 +00:00
the_fiddler
8970ad4c94 Added UnLoad event handler. 2007-09-26 23:31:53 +00:00
the_fiddler
e2fbd2e264 OnLoad event updated to better demonstrate its usage. 2007-09-26 23:15:18 +00:00
the_fiddler
e99d642792 Rewrote from scratch, using direct OpenGL methods. Added OnUnload override to cleanup resources. 2007-09-26 23:14:50 +00:00
the_fiddler
80a951d20d Bumped version numbers. 2007-09-26 16:49:10 +00:00
the_fiddler
7e8f555329 Renamed T02 and T04 examples. 2007-09-26 16:37:24 +00:00
the_fiddler
eafe44f3b1 Added IsoSphere.cs which creates a sphere Shape using theta ad phi coordinates. 2007-09-26 16:14:32 +00:00
the_fiddler
bc2bbf9cf6 Local light for nicer looks :) 2007-09-26 16:12:59 +00:00
the_fiddler
0e297c3c4e Added general documentation to Tutorials. 2007-09-26 15:39:32 +00:00
the_fiddler
a64fd74ac1 Added Shape.cs and Plane.cs, for use in Examples. Shape is an abstract class that is parent to all shapes, and Plane derives from Shape, implementing a configurable plane (with vertex, normal, index and texcoord arrays). 2007-09-26 12:00:29 +00:00
the_fiddler
7c159bc2df Bumped version number. 2007-09-26 11:48:11 +00:00
the_fiddler
8a3ad855b0 Updated all examples. Added documentation and generally cleaned them up. 2007-09-26 11:47:30 +00:00
the_fiddler
a267b4a381 Vector and example updates. 2007-09-25 21:11:16 +00:00
the_fiddler
1b60956d3a Disabled test - InputDriver does not work with Mono's Linux Winforms yet. 2007-09-25 15:47:39 +00:00
the_fiddler
66dfecfee7 Bumped version numbers. 2007-09-24 19:58:45 +00:00
the_fiddler
c204763f3a W03_Extensions now uses the Application.Idle event to load extensions instead of the OnLoad event. Fixes flickering problems. 2007-09-24 19:57:37 +00:00
the_fiddler
4af4ca65c4 Start of T04_Lighting example. Slight updates to T10_GLSL_Cube. Updates to ExampleLauncher exception handling. 2007-09-23 13:38:03 +00:00
the_fiddler
cc00d875d5 Updated update and render frequencies for all examples. 2007-09-23 12:49:38 +00:00
the_fiddler
700393b688 Added GameWindow.SwapBuffers(). Fixed T02_Vertex_Array_Cube to 60Hz. 2007-09-23 12:37:07 +00:00
the_fiddler
a696bbc765 Added constant and variable time-step update logic to GameWindow. Updated examples to use the new GameWindow UpdateFrame and RenderFrame events. 2007-09-23 12:09:42 +00:00
the_fiddler
e361e4c10b Added timing information to UpdateFrame.
Removed T02_Resizable_Window.cs and added T02_Vertex_Array_Cube.cs
Added Shapes/Cube.cs to Examples.
2007-09-22 22:01:43 +00:00
the_fiddler
0712635670 Fixed build. 2007-09-22 15:07:28 +00:00
the_fiddler
26f5d0dff4 Updated BindStreamWriter to better handle endlines. Reverted WinRawInput to standard reads. 2007-09-22 14:59:33 +00:00
the_fiddler
e277e3b272 Windows raw input now works. 2007-09-22 13:13:17 +00:00
the_fiddler
ce48c29668 Added license to S04. 2007-09-21 23:36:59 +00:00
the_fiddler
52a6690150 Removed Move event from IMouse (too inefficient). Polled input only.
S04 now polls for the mouse position.
Keyboard now handles events generated from code and not from physical devices.
2007-09-21 22:49:42 +00:00
the_fiddler
21d6030a6a Corrected Windows.API.RawMouse class. Mouse input now works! 2007-09-21 22:39:16 +00:00
the_fiddler
b660f5af9b Updated Input Logger example. Better handling of mice. 2007-09-21 21:30:18 +00:00
the_fiddler
4bac183f77 Added S04: Input Logger test. 2007-09-21 20:45:47 +00:00
the_fiddler
55a84c70c7 Added licensing information. Added Close() call on failed initialization of W01_First_Window. Moved GLContext to OpenTK namespace. 2007-09-09 16:07:39 +00:00
the_fiddler
827b76b6e9 Improved documentation for DummyGLContext and Dummy.
Disabled S02_RawInput_Logger for updating.
Added WindowInfo.cs
2007-09-09 11:53:25 +00:00
the_fiddler
e74cfac148 Updated W03_Extensions example (background loading of extensions). 2007-09-05 13:35:40 +00:00
the_fiddler
5e28f31660 Improved GL loading speed.
Added background worker thread to W03_Extensions.
Added debug output to failed WinGLContext.MakeCurrent() calls.
Removed object field from Windows.MSG struct.
2007-09-03 21:47:34 +00:00
the_fiddler
fe0b2c66db Synced 0.3.11 to trunk. 2007-09-02 23:40:50 +00:00
the_fiddler
296f83257b Adding asynchronous extension loading. 2007-09-02 23:26:12 +00:00
the_fiddler
096d33dca4 Updated Documentation and version numbers for release. 2007-09-02 23:13:28 +00:00
the_fiddler
d757447a8f T04_Lit_Cube not ready yet. 2007-09-02 22:52:56 +00:00
the_fiddler
a813684176 Merged with Bind. Added GLU bindings. Corrected OpenGL overload trimming. 2007-09-02 22:52:00 +00:00
the_fiddler
58bad52607 Bumped version number. 2007-09-02 13:36:54 +00:00
the_fiddler
437d8fe627 Updated T10_GLSL_Cube to remove NRE exception on Mono 1.2.x.
Added debug info to the GL.LoadAll function.
Added W03_Extensions.cs example.
2007-09-02 13:34:44 +00:00
the_fiddler
1947662281 T10_GLSL_Cube now really exits when OpenGL 2.0 support is not available.
The ExampleLauncer example TextBox is now docked inside the parent form.
Bumped version numbers.
2007-09-02 08:25:10 +00:00
the_fiddler
6ddd024fbf Added System.Drawing.Color overload to GL.ClearColor.
Updated W01 and W02 examples to use this overload.
Removed 'Paint' message from W01 Paint event.
2007-09-02 08:08:12 +00:00
the_fiddler
2f09c15672 Trunk now compiles again. 2007-09-02 00:53:24 +00:00
the_fiddler
017a345927 Merged with bind branch: updated GL.cs wrappers, Glx and Glu implementation suppoort files, faster Bind. 2007-09-02 00:40:43 +00:00
the_fiddler
defa7aa9c5 Updated examples to reflect namespace change of DisplayMode and ColorMode.
Renamed T03_RotatingCube.cs to T03_Immediate_Mode_Cube.cs.
Renamed T07_DisplayLists_Cube.cs to T07_Display_Lists_Flower.cs.
Renamed Cube.cs to W02_Immediate_Mode_Cube.cs
Updated colors in T10_GLSL_Cube and T03_Immediate_Mode_Cube
Add S03_Stack_Imbalance.cs test.
Add T01_Simple_Window.cs and T02_Resizable_Window.cs tutorials.
2007-09-02 00:07:40 +00:00
the_fiddler
c2c3dac7df Moved ColorDepth and DisplayMode to the /OpenTK directory (where under /OpenTK/Platform).
Renamed ColorDepth to ColorMode, to avoid clash with System.Windows.Forms.ColorDepth
Updated examples to use the new namespace for DisplayMode and ColorMode.
2007-09-02 00:04:34 +00:00
the_fiddler
6af814b655 Example names are now more readable (ExampleLauncher.Load())
ExampleLauncher behavior is now more consistent when launching GameWindow and WinForm examples. The launcher becomes invisible, and the launched examples exist in the same thread as the launcher.
Better documentation for IExample.cs
2007-09-02 00:02:10 +00:00
the_fiddler
1d62f8521c Corrected bug affecting the GL.Load and Wgl.Load functions, where the delegates where not retrieved by the GetFields call. 2007-08-22 16:13:41 +00:00
the_fiddler
6ae06d82bd Added IDisposable to all input drivers.
Updated Cube.cs to use System.Drawing.Colors.
Improved DefRawInputProc in windows API.cs
2007-08-22 00:30:16 +00:00
the_fiddler
7cf8aa3d95 Added AdjustWindowRect to Windows.API. The client are in WinGLNative is now correctly specified. 2007-08-21 12:04:01 +00:00
the_fiddler
9e536a72e0 Improved X11GLControl compatibility - now sets a safe DisplayMode.
Added utility that control's whether xplatui should throw exceptions on X11 errors.
2007-08-21 10:48:32 +00:00
the_fiddler
7d5087f1f8 Improved GLControl event handling on initialization sequence (Resize event is now raised after loading the GL class).
Improved WinForms.Cube example to hook the GLControl events instead of the parent Form's ones.
Improved Debug output in X11GLContext and X11GLControl
2007-08-20 14:12:57 +00:00
the_fiddler
33527aa2c9 Added KeyDown and KeyUp events to IKeyboard and Keyboard.
Improved input logger test to hook on the aforementioned events.
Removed Debug printing of keys in OpenTK.Input.Keyboard.
Beautified X11Keyboard.cs
Added experimental code to handle X11 keyboard events (not used yet).
2007-08-20 13:45:04 +00:00
the_fiddler
2254388903 Merged with bind branch. 2007-08-20 12:25:48 +00:00
the_fiddler
7efeeda3ca 2007-08-20 10:46:37 +00:00
the_fiddler
273405e4a0 Improved opengl overload trimming. 2007-08-10 20:16:05 +00:00
the_fiddler
2256864b92 Improved shutdown sequence in WinGLNative and GameWindow 2007-08-10 16:55:24 +00:00
the_fiddler
7a2da17f5c Updated Build.exe to correctly generate sharpdev and sharpdev2 projects.
Removed some unused variables.
Added licensing information.
2007-08-10 09:27:13 +00:00
the_fiddler
318c8e619d Debugging X11GLControl crash on MakeCurrent. 2007-08-09 12:06:09 +00:00
the_fiddler
d19466956b Debugging crash on X11 32bits. 2007-08-07 20:32:26 +00:00
the_fiddler
c67859d7ca Keyboard handling now plays well with normal event handling on X11.
One more issue to go: GLControl on X11 throws when calling MakeCurrent.
2007-08-06 12:13:50 +00:00
the_fiddler
6e9ac53c7f Corrected S02_RawInput_Logger crash by creating a render window. 2007-08-06 11:26:58 +00:00
the_fiddler
863a8e9557 Added Create and Destroy events to NativeGLWindow. 2007-08-06 11:22:18 +00:00
the_fiddler
40add1aaef Renamed OpenTK.Input.Keys to OpenTK.Input.Key.
Added keymap to X11/X11Keyboard.cs (not complete).
Added GetKeyboardMapping(), DisplayFlags() and XKey enum to OpenTK.Platform.X11.API.cs
2007-08-05 16:04:39 +00:00
the_fiddler
2357f54af6 Removed exceptions from Fullscreen properties. 2007-08-05 13:51:07 +00:00
the_fiddler
b630d84add Added IWindowInfo.cs, X11/WindowInfo.cs and Windows/WindowInfo.cs, which hold information regarding a platform specific window object.
Updated everything to not use raw window handles, but rather WindowInfo objects.
Added code that (hopefully) creates an invisible input window for X11.
2007-08-05 13:42:31 +00:00
the_fiddler
2f239284a9 Corrected T10_GLSL_Cube.cs build errors. 2007-08-04 23:44:41 +00:00
the_fiddler
c855420287 Merged with gl3 branch. Resolved conflicts. Added IMouseDriver.cs 2007-08-04 23:39:56 +00:00
the_fiddler
6812739418 Renamed InputDevices.cs to InputDriver.cs.
Added IMouseDriver.cs and WinRawMouse.
2007-08-04 13:28:16 +00:00
the_fiddler
f9ab9f5242 Updated T10_GLSL_Cube to explicitly create a render window.
Added input driver to W01_First_Window. Works perfectly!
Added a debug message to GameWindow.cs, when accessing the opengl Context before creating a render window (this forces render window creation).
2007-08-04 12:17:30 +00:00
the_fiddler
59b503b3c3 Bumped version numbers.
WinRawInput now correctly subclasses WinGLNative or WinGLControl. WinRawKeyboard now correctly responds to events.
Removed T10_GLSL_Cube.cs which was erroneously moved outside the Examples/Tutorial directory.
Updated INativeWindow, IGameWindow and IGLControl interfaces.
Updated examples to use the new GameWindow interface.
Added documentation to GameWindow.
Improved GameWindow error handling. More defensive programming.
2007-08-04 12:09:58 +00:00
the_fiddler
2f64fb372e Major updates to keyboard input. The infrastructure (drivers etc) is ready. Windows raw input works (now implementing multiple devices). The examples need updating for the new input methods.
Updated the ExampleLauncher to not process exceptions. Updated the IExample interface to contain the Launch method. Updated examples and the ExampleLauncher according to the IExample interface.
Synced with gl3 branch.
2007-08-03 00:14:31 +00:00
the_fiddler
00da3bf3f4 Sycned with gl3 branch. 2007-08-01 21:14:39 +00:00