ActDim.Three 1.0.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package ActDim.Three --version 1.0.7
                    
NuGet\Install-Package ActDim.Three -Version 1.0.7
                    
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="ActDim.Three" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ActDim.Three" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="ActDim.Three" />
                    
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 ActDim.Three --version 1.0.7
                    
#r "nuget: ActDim.Three, 1.0.7"
                    
#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 ActDim.Three@1.0.7
                    
#: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=ActDim.Three&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=ActDim.Three&version=1.0.7
                    
Install as a Cake Tool

ActDim.Three

ActDim.Three is a 3D graphics math, geometry, scene graph, and serialization library for .NET inspired by standard three.js data structures and workflows.

Features

  • Linear Algebra & 3D Math Primitives: High-performance 3D math types (Vector3, Matrix4, Euler, Quaternion, Color).
  • Scene Graph Hierarchy: Scene, Element, BufferGeometry, Camera (PerspectiveCamera, OrthographicCamera), and Lights (AmbientLight, DirectionalLight, PointLight, SpotLight).
  • Standard Materials: MeshBasicMaterial, MeshStandardMaterial, MeshPhongMaterial, MeshLambertMaterial, LineBasicMaterial, PointsMaterial.
  • High-Performance Typed Arrays: Efficient buffer memory abstractions (Float32Array, Float64Array, Int32Array, Uint8Array, Uint8ClampedArray).
  • JSON Scene Serialization: Built-in ThreeSerializer for serializing and deserializing 3D scene graphs (SceneDocument, DocumentGraph) compatible with JSON interchange formats.

Installation

Install via the .NET CLI:

dotnet add package ActDim.Three

Or via Package Manager Console:

Install-Package ActDim.Three

Quick Start Examples

1. Scene & Camera Setup

using ActDim.Three.Cameras;
using ActDim.Three.Core;
using ActDim.Three.Geometries;
using ActDim.Three.Lights;
using ActDim.Three.Materials;
using ActDim.Three.Math;
using ActDim.Three.Scenes;

// Create 3D scene
var scene = new Scene();

// Add ambient light and directional light
var ambientLight = new AmbientLight(new Color(0x404040));
scene.Add(ambientLight);

var dirLight = new DirectionalLight(new Color(0xffffff), 1.0f);
dirLight.Position.Set(5, 10, 7.5f);
scene.Add(dirLight);

// Create perspective camera
var camera = new PerspectiveCamera(75.0f, 16.0f / 9.0f, 0.1f, 1000.0f);
camera.Position.Set(0, 0, 5);

2. Scene Graph Serialization

using ActDim.Three.Scenes;
using ActDim.Three.Serialization;

var scene = new Scene();
// ... configure scene geometry & materials ...

// Serialize 3D scene to JSON string
string jsonString = ThreeSerializer.Serialize(scene);

// Deserialize 3D scene from JSON
Scene restoredScene = ThreeSerializer.DeserializeScene(jsonString);

Testing & Quality

  • Test Suite: ActDim.Three.Tests
  • Total Tests: 35 passed (100% success rate, 0 failed, 0 skipped)
  • Target Framework: .NET 10.0
dotnet test Tests/Three.Tests/ActDim.Three.Tests.csproj

License

This project is licensed under the MIT License.

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 (1)

Showing the top 1 NuGet packages that depend on ActDim.Three:

Package Downloads
ActDim.Three.NewtonsoftJson

Newtonsoft.Json serializer adapters and custom converters for ActDim.Three 3D scene graphs and typed array buffers.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.10 43 8/26/2026
1.0.9 57 8/25/2026
1.0.8 43 8/25/2026
1.0.7 64 8/20/2026
1.0.6 65 8/19/2026
1.0.5 65 8/19/2026
1.0.4 63 8/19/2026
1.0.3 73 8/18/2026
1.0.2 74 8/18/2026
1.0.1 74 8/17/2026
1.0.0 67 8/17/2026