3DEngine 3.0.21

dotnet add package 3DEngine --version 3.0.21                
NuGet\Install-Package 3DEngine -Version 3.0.21                
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="3DEngine" Version="3.0.21" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add 3DEngine --version 3.0.21                
#r "nuget: 3DEngine, 3.0.21"                
#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.
// Install 3DEngine as a Cake Addin
#addin nuget:?package=3DEngine&version=3.0.21

// Install 3DEngine as a Cake Tool
#tool nuget:?package=3DEngine&version=3.0.21                

Logo License: MIT

3D Engine

Get it on the Microsoft Store
Documentation

Overview

The 3D Engine is currently in an early stage of development and is not yet equipped with the essential features required for a production-ready game engine. However, a clear and forward-looking development roadmap has been established, with active work being done to implement advanced systems such as virtualized geometry and Radiance Cascades for fully dynamic global illumination. As development progresses, I plan to foster a community starting next year, with the aim of building a C# game engine that integrates seamlessly with Unity workflows. With your support, we can create a powerful and user-friendly engine, complete with an editor, that meets the demands of modern game development.

Key Technologies

Windows App SDK

  • Use the WinAppSDK to create beautiful, modern apps for Windows 11.

Vortice.Windows

  • Vortice.Windows provides bindings for key Windows libraries including:
    • DXGI, WIC, DirectWrite, Direct2D, Direct3D9, Direct3D11, Direct3D12, XInput, XAudio2, X3DAudio, DirectInput, DirectStorage, DirectML, UIAnimation, and DirectSound.

Entity Component System (ECS)

  • ECS is a design pattern for high-performance and flexible game development. It emphasizes separation of data from behavior and supports the "composition over inheritance" principle, improving performance and code reusability.

Universal Scene Description (OpenUSD / USD.NET)

  • OpenUSD is a framework for interchange of 3D computer graphics data. The framework focuses on collaboration, non-destructive editing, and enabling multiple views and opinions about graphics data.

NuGet Package

  • 3DEngine NuGet Package: Install the package via NuGet Package Manager for integration into your project.

    dotnet new console -n Project
    cd Project
    dotnet add package 3DEngine
    dotnet add package Costura.Fody
    ./Project.csproj
    

    Example usage:

    sealed class RunProgram
    {
        [STAThread]
        private static void Main() =>
            new Engine.Program().Run(true, null, Frame);
    
        private static bool initialized = false;
        public static void Frame()
        {
            if (!initialized)
            {
                initialized = true;
            }
        }
    }
    
    sealed class Program
    {
        [STAThread]
        private static void Main() =>
            new Engine.Program().Run();
    }
    

    Setup in your project:

    <Project Sdk="Microsoft.NET.Sdk">
        <PropertyGroup>
            <OutputType>WinExe</OutputType>
            <TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
            <ImplicitUsings>enable</ImplicitUsings>
            <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
            <PlatformTarget>x64</PlatformTarget>
            <PublishAot>true</PublishAot>
        </PropertyGroup>
    
        <ItemGroup>
          <None Remove="FodyWeavers.xml" />
        </ItemGroup>
    
        <ItemGroup>
            <PackageReference Include="3DEngine" Version="3.0.21" />
            <PackageReference Include="Costura.Fody" Version="5.7.0">
              <PrivateAssets>all</PrivateAssets>
            </PackageReference>
        </ItemGroup>
    
        <ItemGroup>
            <Content Update="$(NuGetPackageRoot)\3dengine\3.0.21\contentFiles\any\net8.0-windows10.0.22621\Assets\Resources\**\*">
                <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
            </Content>
        </ItemGroup>
    </Project>
    

    Ensure "PreserveNewest" is set for files in the Assets folder in Visual Studio. Replace the Path to the NuGet Package 3DEngine\3.0.3

Solution Structure

The 3D Engine repository includes:

  • 3DEngine (Package)
  • Editor
  • Engine

You can build the 3DEngine (Package) for both the Editor and Engine as a MSIX Application or the Engine as a portable Win32 Application.

Upcoming Features and Development Roadmap

  • USD Integration
  • Materials
  • Render Textures
  • Compute Shaders
  • Post Processing
  • Gizmos
  • Asynchronous Reprojection
  • Radiance Cascade (Alexander Sannikov)
  • Virtualized Geometry (Nano Tech, Chris K)
  • Networking
  • Spatial Audio
  • PhysX 5
  • Export Build to the Xbox Platform

Build Instructions

To compile the 3D Engine, ensure you have Visual Studio 2022 with the following components:

Screenshots

3D Engine Layout 1 2 3 4 5 6 7 8 9 10 13

Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.22621 is compatible. 
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
3.0.21 67 9/19/2024
3.0.19 58 9/19/2024
3.0.18 63 9/18/2024
3.0.17 58 9/18/2024
3.0.16 60 9/18/2024
3.0.15 84 9/17/2024
3.0.14 48 9/17/2024
3.0.13 49 9/17/2024
3.0.12 153 9/15/2024
3.0.11 125 9/15/2024
3.0.10 101 9/15/2024
3.0.9 95 9/15/2024
3.0.8 96 9/15/2024
3.0.7 103 9/15/2024
3.0.6 89 9/15/2024
3.0.5 104 9/15/2024
3.0.4 90 9/15/2024
3.0.3 106 9/15/2024
3.0.2 129 9/11/2024
3.0.1 129 9/11/2024
3.0.0 122 9/8/2024
2.2.2 130 8/11/2024
2.0.2 305 3/7/2024
2.0.1 254 2/25/2024
2.0.0 262 2/25/2024
1.0.7 717 10/20/2023
1.0.6 243 10/20/2023
1.0.5 281 10/19/2023
1.0.4 279 10/18/2023
1.0.3 322 10/18/2023
1.0.2 287 10/18/2023
1.0.1 349 10/18/2023
1.0.0 306 10/13/2023