BLACKSPIRIT
.ch

Upcoming Features

The following features are planned for Blackspirit Graphics 2.0 feature releases. (e.g. 2.1.0, 2.2.0)

Feature enhancements:

  • JOGL 2 port of Blackspirit Graphics
  • Create and release buffers of existing images to gain more control over memory usage
  • Copy AWT BufferedImage content to an images buffer
  • Control over mouse display (visibility, image)
  • Access to top and left coordinates of RealtimeCanvas to know where it's located on screen

Video:

  • Video renderer to get images from a video source
  • GStreamer integration for video renderer

Particle System:

  • Multiple emitters
  • Pedigree format support from Slick2D
  • Generic so particles can be extended

Current Features

The following features are present in the current Blackspirit Graphics 2.0 release.

Drawing properties:

  • Color
  • Drawing Modes (Alpha Blend, Alpha Add, Addition, Subtraction, Multiplication, Overriding)
  • Transformations (Translation, Rotation, Scaling)
  • Color component masking (Red, Green, Blue, Alpha)

Primitive drawing operations:

  • Point (only of pixel size 1)
  • Single or multiple lines with optional color per end point (only with pixel line width 1)
  • Single or multiple triangle outlines with optional color per point (only with pixel line width 1)
  • Single or multiple filled triangles with optional texturing and color per point

Images:

  • Supported images include: PNG (recommended), JPG, GIF, BMP (TGA with ImageIO Plugin)
  • Image and sub image drawing
  • Draw on images (to image cache). Exactly the same as drawing on a canvas
  • Buffered images for procedural Image creation (like video rendering)
  • Update image cache from buffer
  • Update image buffer from cache
  • Copy current content of a graphics context into an images cache

Text:

  • Based on AWT fonts
  • Text drawing
  • Get text bounds without drawing

Shapes:

  • Shapes defining area and outline
  • Optional texturing and color per point
  • Factory for common Shapes (Circle, Ellipse, Rectangle, Rounded Rectangle, etc.)
  • Utility for manual creation of Shapes based on outlines and cut-outs (concave polygons supported)
  • Utility for creation of common polygon outlines to be used for shape creation (Circle, Ellipse, Rectangle, Rounded Rectangle, etc.)

Animation:

  • Sub images as frames (from multiple images)
  • Generic so frame class can be extended

Utilities:

  • Color gradient utility to populate buffered images and retrieve color for specific points
  • AWT utility helps converting buffered images to AWT images (saving AWT images is easy using ImageIO)

Links

BSGraphics

3rd Party Libraries