SharpGL comes packaged with many sample applications to demonstrate key features or for you to use as starting points for your own development. This page is an index of the Sample Applications. Select any Sample Application to find out what it does, how
it does it, and what it teaches you about SharpGL.
The WinForms samples use the SharpGL, SharpGL.SceneGraph and SharpGL.WinForms assemblies to demonstrate various features. They all use either the OpenGLControl or SceneControl.
Simple Drawing Sample
This basic sample shows how we can quickly create an application that uses SharpGL to render some geometry.
Native Textures Sample
Want to add textures to your models? Here we see how the Scene Graph's Texture object can help us load texture data from image files, which you can then use in your applications.
SharpGL Textures Sample
If you're using the Scene Graph Texture object, there's more you can do with Textures than just load them - in this sample we investigate more advanced functionality.
If you want to really unleash the power of the Scene Graph, you need a Scene. In this sample we create a Scene and show what can be done with it.
Hit Test Sample
SharpGL can handle hit-testing for you - in this sample we find out how.
Particle System Sample
Particle Systems are a great way to demo functionality - in this sample we create a simple Particle System.
Polygon Loading Sample
Want to load geometry form *.obj or other files? No problem! In this sample we load some geometry from data files and display it in a Scene.
Radial Blur Sample
In this sample we create a cool radial blur effect.
Render Contexts Sample
Understanding how Render Contexts work is very useful - in this sample we demonstrate some of the different Render Contexts and look at how they compare to each other.
The WPF samples use the SharpGL, SharpGL.SceneGraph and SharpGL.WPF assemblies to demonstrate various features. They all use either the OpenGLControl or SceneView controls.
The Utah Teapot is a classic for 3D applications - let's show how we can render it in a WPF application!
Simple Shader Sample
Shaders are a powerful OpenGL feature, fully supported in SharpGL. In this sample we create, compile and use some simple shaders.
Text Rendering Sample
Need to render 2D or 3D text? This sample shows you how you can do that!