Posted
over 16 years
ago
by
the Fiddler.
A quick test proved that it is possible to safely garbage collect OpenGL resources. The necessary hooks have been commited to SVN, and a small article describing the interaction between the GC and OpenGL has been uploaded to the manual.
This feature
... [More]
is completely optional: unless you use the relevant hooks, the GC will remain oblivious of your resources. It is also not 100% complete yet: X11GLContext is being updated to accomodate the necessary changes, a few locks are still missing for thread-safety, and the code is generally in an experimental stage.
This experiment was inspired by a discussion on object-oriented OpenGL classes. Unfortunately I do not have the time resources to pursue this feature to its conclusion, but I will gladly accept code for garbage-collectable VertexBufferObject, Shader or Texture classes.
Current work concerns context creation enhancements (Fsaa support). These features will appear on OpenTK 0.3.14, which should arrive shortly after Mono 1.2.6 is released. [Less]
|
Posted
over 16 years
ago
by
the Fiddler.
Search functionality will be disabled for maintenance purposes, for a short while. It will be back as soon as the site is re-indexed.
Till then, you can use google to search site content. Thanks!
Edit: Maintenance complete.
|
Posted
over 16 years
ago
by
the Fiddler.
A new discussion forum has been added to help with the development of the OpenTK manual. If you have any ideas to share please post them at the Documentation forum.
|
Posted
over 16 years
ago
by
the Fiddler.
The Documentation section has been updated with new content and functionality. It now forms what is known as a "collaborative book", which functions not unlike a wiki; once logged in, you can create new pages in the book, edit existing ones, or even
... [More]
change the chapter layout. There isn't much content to speak of right now but new pages are slowly being added, with the intent of acting not only as a manual for OpenTK but also for 3d programming in the managed world (hey, let a man aim high!)
A rough outline of the chapters:
Installation
[Linux, Windows, compilation instructions, starting a new project]
A Simple Introduction
[creating a window, drawing shapes, resizing the window, user input]
Warming up
[common game-related tasks like framerate independence, text rendering, mode setting, projections/math, loading resources, playing sounds]
Putting it all Together
[show how to create a simple game, e.g. 3d pong or something of that calibre]
Advanced Topics
[managed/unmanaged resource pools, interop performance, the GC, scripting on .Net]
Crash-course in OpenGL
OpenAL madness
References
Any specific topics you'd like to see discussed? Interested in helping out? Waiting for your thoughts!
read more [Less]
|
Posted
over 16 years
ago
by
the Fiddler.
A preview is available online at Documentation->Reference. Not 100% ready yet (contains private members, misses a stylesheet), expect regular updates.
Edit: stylesheet updated.
|