spectre 0.5.0 copy "spectre: ^0.5.0" to clipboard
spectre: ^0.5.0 copied to clipboard

Dart 1 only

Graphics Library

Spectre #

Introduction #

A low level 3D graphics library for Dart.

Spectre is a modern graphics API wrapping WebGL.

A "modern graphics API" consists of:

Device - Manage vertex buffers, index buffers, textures, shaders, and other GPU objects ImmediateContext - Set GPU state and initiate draw calls ProgramBuilder - Build your rendering commands once Interpreter - Execute your prebuilt programs Resource - Resource types including images, meshes, shaders, and more ResourceManager - Manage and load resources

Spectre also includes a resource manager and a demo framework called 'Javeline'.

Status: Beta #

Stuff works but the API is not guaranteed yet.

Getting Started #

Create a Dart project and add a pubspec.yaml file to it

dependencies:
  spectre:
    git: https://github.com/johnmccutchan/spectre.git

and run pub install to install spectre (including its dependencies). Now add import

#import('package:spectre/external/DartVectorMath/lib/vector_math_html.dart'); 
#import('package:spectre/spectre.dart');
#import('package:spectre/spectre_scene.dart');
#import('package:spectre/spectre_post.dart');
0
likes
5
pub points
0%
popularity

Publisher

unverified uploader

Graphics Library

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

handle_system, marker_prof, unittest, vector_math

More

Packages that depend on spectre