Skip to content

Scene 3D Library #2

@ds84182

Description

@ds84182

Goals:

  • Allow Dart code to manipulate 3D objects in a virtual 3D scene.
  • Allow the scene to be exported to OBJ or previewed in a web browser or Flutter UI.

Proposed API:

abstract class SceneParent {
  void add(SceneObject o);
  void remove(SceneObject o);
}

class Scene implements SceneParent {
  factory Scene.load(Uint8List data);
  void exportObj(StringSink sink);
  Uint8List save();
}

abstract class SceneObject {
  SceneParent get parent;
  void attach(SceneParent parent);
  void detach();
}

// etc...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions