Skip to content

AaronLau0/CSharpGL

 
 

Repository files navigation

Object Oriented OpenGL in C#

🍏CSharpGL is an Object-Orinted OpenGL wrapper in pure C# wihtout any third party support.
It abstracts concepts(buffer, shader, state, matrix, vector, texture, canvas, scene, camera, light, picking, text, GUI ...) from OpenGL API and common requirements.
More than 30 simple demonstration projects show how to use CSharpGL. And there will be more.
Here are some of them.

Blinn-Phong.ShadowMapping.

Lighting.ShadowMapping.PointLights Lighting.ShadowMapping.SpotLights Lighting.ShadowMapping.DirectionalLights

Stencil Shadow Volume.

StencilShadowVolume.gif

WorldSpace Billboard.

WorldSpaceBillboard

Picking.

Get to know how CSharpGL\OpenGL implements picking and draging with modern OpenGL! Color Coded Picking

Texture2D.

This shows how 2D texture works. And now it also shows how to use CtrlImage, CtrlButton and CtrlLabel. Texture2D

Environment Mapping.

Reflection.

Reflection

Refraction.

Refraction

Emit Normal Line.

Normal

Basic Tessellation Shader.

BasicTessellationShader BasicTessellationShader2

Edge detection with Compute Shader.

ComputeShader.EdgeDetection

ImageProcessing.GrayFilter.

ImageProcessing.GrayFilter

VolumeRendering.Slicing.

VolumeRendering.Slicing VolumeRendering.Slicing.classification

VolumeRendering.Raycast.

VolumeRendering.Raycast

Order-Independent Transparency.

OrderIndependentTransparency

SimpleNoise.Sun.

SimpleNoise.Sun

Simple Particle System.

SimpleParticleSystem

Terrain Loading.

TerrainLoading

OpenGL Hardware Description.

OpenGLHardwareDescription

❓Support or Contact

Check my blog here or join my QQ GroupCSharpGL(C#+OpenGL).

About

🍏 Object Oriented OpenGL in C#.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.5%
  • Other 0.5%