OpenSceneGraph.Net
0.1.0
dotnet add package OpenSceneGraph.Net --version 0.1.0
NuGet\Install-Package OpenSceneGraph.Net -Version 0.1.0
<PackageReference Include="OpenSceneGraph.Net" Version="0.1.0" />
<PackageVersion Include="OpenSceneGraph.Net" Version="0.1.0" />
<PackageReference Include="OpenSceneGraph.Net" />
paket add OpenSceneGraph.Net --version 0.1.0
#r "nuget: OpenSceneGraph.Net, 0.1.0"
#:package OpenSceneGraph.Net@0.1.0
#addin nuget:?package=OpenSceneGraph.Net&version=0.1.0
#tool nuget:?package=OpenSceneGraph.Net&version=0.1.0
OpenSceneGraph.Net
A .NET 10 scene graph for OpenSceneGraph: a managed core that runs anywhere .NET runs (including the browser), an optional native OSG 3.6.5 runtime, OpenGL and WebGL2 renderers, and Avalonia and Blazor components.
Created by Gravicode Studios, led by Kang Fadhil · Dibuat oleh Gravicode Studios dipimpin oleh Kang Fadhil
| Package | Use it for |
|---|---|
OpenSceneGraph.Net |
Scene graph, culling, LOD and paging, animation, particles, terrain, GIS, DIS, scientific visualisation |
OpenSceneGraph.Net.Rendering.OpenGL |
OpenGL 3.3 / GLES 3 renderer |
OpenSceneGraph.Net.Avalonia |
OsgView desktop control |
OpenSceneGraph.Net.Blazor |
OsgCanvas WebGL2 component |
OpenSceneGraph.Net.Native |
Real OSG 3.6.5 on Windows x64: 53 file-format plugins, osgViewer, offscreen rendering |
OpenSceneGraph.Net.Templates |
dotnet new osgnet-console, osgnet-avalonia, osgnet-blazor |
OpenSceneGraph.Net.Cli |
osgnet tool: inspect, convert, render, terrain, DIS, geo |
using System.Numerics;
using OpenSceneGraph.Net.Animation;
using OpenSceneGraph.Net.Meshes;
using OpenSceneGraph.Net.Scene;
using OpenSceneGraph.Net.State;
var root = new Group();
root.AddChild(new LightSource(Light.Sun(new Vector3(-0.4f, 0.5f, -0.8f))));
var spinner = new PositionAttitudeTransform { Position = new Vector3(0, 0, 2) };
spinner.AddChild(Shapes.Torus(2, 0.6f, 64, 24, Color.FromHex("#4cc9f0")));
spinner.AddUpdateCallback(new SpinCallback(Vector3.UnitZ, 45));
root.AddChild(spinner);
// Avalonia: View.Scene = root;
// Blazor: <div style="height:600px"><OsgCanvas Scene="root" /></div>
Documentation (English and Bahasa Indonesia), a gallery of 22 use cases and a simulator are in the repository.
MIT licensed. OpenSceneGraph.Net.Native redistributes OpenSceneGraph 3.6.5 binaries under the OpenSceneGraph Public License (OpenSceneGraph-LICENSE.txt in the package).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on OpenSceneGraph.Net:
| Package | Downloads |
|---|---|
|
OpenSceneGraph.Net.Native
Native OpenSceneGraph 3.6.5 runtime for OpenSceneGraph.Net: reads/writes every OSG format (.osg/.osgt/.osgb/.ive/.3ds/.flt/.dxf/.ac/.lwo/.x/.shp...), runs osgViewer windows and offscreen rendering, and converts between OSG and managed scene graphs. Created by Gravicode Studios, led by Kang Fadhil. |
|
|
OpenSceneGraph.Net.Rendering.OpenGL
OpenGL 3.3 / OpenGL ES 3.0 renderer for OpenSceneGraph.Net render lists: Blinn-Phong lighting with 8 lights, shadow maps, fog, textures, point sprites, render-to-texture, HUD cameras, stereo and HDR/bloom post-processing. Created by Gravicode Studios, led by Kang Fadhil. |
|
|
OpenSceneGraph.Net.Blazor
Blazor component (OsgCanvas) that runs an OpenSceneGraph.Net viewer in .NET and renders it with a WebGL2 renderer: lighting (8 lights), textures, fog, sky gradient, transparency, points/lines, HUD cameras, render-to-texture, shadow maps and bloom/HDR post-processing. Works with Blazor WebAssembly and Blazor Server. Created by Gravicode Studios, led by Kang Fadhil. |
|
|
OpenSceneGraph.Net.Avalonia
Avalonia UI control (OsgView) that hosts an OpenSceneGraph.Net viewer with the OpenGL renderer: mouse/keyboard manipulators, picking, continuous or on-demand rendering. Created by Gravicode Studios, led by Kang Fadhil. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 143 | 11/4/2026 |