Skip to content

bitzhuwei/CSharpGL

Repository files navigation

Object Oriented OpenGL in C#

🍏CSharpGL is an Object-Orinted OpenGL wrapper in pure C# without 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.

OpenGL via C# available now!

OpenGL via C#

Stencil Shadow Volume.

StencilShadowVolume.gif

Skeleton Animation.

SkeletonAnimation.gif

Physically Based Rendering.

PBR.IBLSpecularTextured

WorldSpace Billboard.

WorldSpaceBillboard

Picking.

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

Color Coded Picking

Front To Back Peeling.

FrontToBackPeeling.gif

Environment Mapping.

Refraction

VolumeRendering.Raycast.

VolumeRendering.Raycast

Order-Independent Transparency.

OrderIndependentTransparency

❓Support or Contact

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

simple guide

if (use OpenGL in C#) {
    add ref to CSharpGL.dll
    
    if (render with GPU) {
        if (on Windows) {
            add ref to CSharpGL.Windows.dll
        }
        else { not implemented. }
    }
    
    if (render with SoftGLImpl) {
        add ref to CSharpGL.SoftGL.dll
        add ref to SoftGLImpl.dll // work as graphics card
    }
}
else {
    go away.
}

End

About

🍏Object Oriented OpenGL in C#.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5