Commit graph

322 commits

Author SHA1 Message Date
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