OpenSceneGraph.Net.Avalonia 0.1.0

dotnet add package OpenSceneGraph.Net.Avalonia --version 0.1.0
                    
NuGet\Install-Package OpenSceneGraph.Net.Avalonia -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenSceneGraph.Net.Avalonia" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenSceneGraph.Net.Avalonia" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="OpenSceneGraph.Net.Avalonia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OpenSceneGraph.Net.Avalonia --version 0.1.0
                    
#r "nuget: OpenSceneGraph.Net.Avalonia, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OpenSceneGraph.Net.Avalonia@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OpenSceneGraph.Net.Avalonia&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=OpenSceneGraph.Net.Avalonia&version=0.1.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 98 11/4/2026