Skip to content
/ Aura3D Public

Aura3D is a lightweight, extensible, and high-performance 3D rendering control

License

Notifications You must be signed in to change notification settings

CeSun/Aura3D

Repository files navigation

Aura3D is a lightweight, extensible, and high-performance 3D rendering control


demo

Important

The project is actively being developed, and we welcome all to submit suggestions generously.

Features

1. Basic Functions

  • Model Rendering
  • Light
  • Shadow
  • Skeletal Animation
  • Default Blinn-Phong Rendering Pipeline

2. Advanced Functions

  • Custom Pipeline

3. Supported Platforms

  • Avalonia

Get Started

Add the Aura3D.Avalonia package to the Avalonia project:

dotnet add package Aura3D.Avalonia

Then use the Aura3DView control in your project and bind the SceneInitialized event:

<Window
    ...
    xmlns:a="https://sunce.tech/aura3d"
    ...>
	<a:Aura3DView x:Name="aura3Dview" SceneInitialized="OnSceneInitialized"/>
</Window>

Initialize your scene in the SceneInitialized event:

 public void OnSceneInitialized(object sender, RoutedEventArgs args)
 {
	
    var view = (Aura3DView)sender;
    
    var camera = view.MainCamera;

    camera.ClearColor = Color.Gray;

	var model = ModelLoader.LoadGlbModel("your model file path(*.glb)");

	model.Position = camera.Forward * 3;

	view.AddNode(model);

 }

About

Aura3D is a lightweight, extensible, and high-performance 3D rendering control

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •