Commit graph

203 commits

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