Skip to content

Releases: Redninja106/simulationframework

v0.3.0-alpha.3

v0.3.0-alpha.3 Pre-release
Pre-release

Choose a tag to compare

@Redninja106 Redninja106 released this 09 Aug 18:05

Added:

  • Custom vertex shaders:
    • DrawTriangles<T> (draws triangles with a custom vertex type)
    • ICanvas.Fill() overloads which accept a VertexShader (see the RenderCube example)
  • Compute shaders (via ComputeShader and Graphics.Dispatch)
  • Vertex shaders accept custom vertex data via a field with a VertexDataAttribute
  • Vertex shaders can pass values to the canvas shader (fragment shader) via a field with a VertexShaderOutputAttribute

Fixed:

  • Reimplemented gradients as canvas shaders
  • Shader array alignment issues
  • Various other bugs and crashes

Known Issues:

  • anti aliasing doesn't work when rendering to a texture
  • jump statements cause shader compilation errors (early returns, continue, break, etc)
  • Texture saving is not yet supported
  • Self-Intersecting polygons are not triangulated properly

v0.3.0-alpha.2

v0.3.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@Redninja106 Redninja106 released this 31 Jul 18:59

Changes:

  • Various Compiler bug fixes
  • Added missing shader intrinsics
  • Added Rounded Rectangle Rendering
  • Fixed jagged edges on large circles
  • Many, many more bug fixes

v0.3.0-alpha.1

v0.3.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@Redninja106 Redninja106 released this 10 Jul 22:19

This version of SimulationFramework is the first release to contain the new OpenGL graphics backed and shader compiler.
Check out the The Wiki for information on how to write shaders.

⚠️ ⚠️ ⚠️ This is a very early alpha release. Expect lots of bugs and missing features. ⚠️ ⚠️ ⚠️

Additions:

  • Added the new OpenGL graphics backend
  • Programmable shaders via CanvasShader and associated shader APIs
  • Added ICanvas.DrawTriangles(Vector2[])
  • Added ICanvas.DrawCodepoint(int)
  • Added Angle.Between
  • Added Polygon.IsClockwise, Polygon.Area, Polygon.SignedArea, and Polygon.Triangulate
  • Added IFont.MeasureText()

Changes:

  • Added an optional tint parameter to ICanvas.DrawTexture
  • Removed the SkiaSharp graphics backend
  • Removed TextBounds
  • Reworked CanvasState
  • ICanvas.MeasureText() now returns a Rectangle

Known issues:

  • ICanvas.DrawRoundedRect is not yet implemented
  • Gradient and Textured Fill modes are not yet supported
  • Texture saving is not yet supported
  • Early returns cause shader compilation errors
  • Shader array alignment issues due with 12-byte types (like Vector3)
  • Large text is blurry
  • Large circles/arcs have jagged edges
  • Self-Intersecting polygons are not triangulated properly
  • Textures access is only supported in shaders through ShaderInterinsics.Sample
  • CanvasState's property setters should not be public

If you run into any issues, please don't hesitate to open an issue or ping me on discord!

v0.2.1-beta.4

v0.2.1-beta.4 Pre-release
Pre-release

Choose a tag to compare

@Redninja106 Redninja106 released this 24 Oct 00:58
  • fixed a bug that caused fixed resolution simulations to not work

v0.2.1-beta.3

v0.2.1-beta.3 Pre-release
Pre-release

Choose a tag to compare

@Redninja106 Redninja106 released this 21 Oct 20:33
  • fixed multiple issues related to the Performance class
  • added the ability to disable/enable VSync (via Graphics.SwapInterval)
  • added the ability to save textures to files/streams (via ITexture.Encode())
  • fixed a bug where textured were vertically flipped
  • Simulation.SetFixedResolution is now static
  • other minor changes/fixes

v0.2.1-beta.1

v0.2.1-beta.1 Pre-release
Pre-release

Choose a tag to compare

@Redninja106 Redninja106 released this 03 Oct 14:38
  • Improved the Performance class to provide averaged framerate values
  • Behind the scenes texture improvements
  • Bugfixes related to controller vibration
  • Fixed resolution simulations
  • Support for imgui images

v0.2.1-beta.2

v0.2.1-beta.2 Pre-release
Pre-release

Choose a tag to compare

@Redninja106 Redninja106 released this 03 Oct 18:11
  • fixed a bug with related to textures that prevented any rendering done to them from appearing