Releases: Redninja106/simulationframework
Releases · Redninja106/simulationframework
Release list
v0.3.0-alpha.3
Added:
- Custom vertex shaders:
DrawTriangles<T>(draws triangles with a custom vertex type)ICanvas.Fill()overloads which accept aVertexShader(see the RenderCube example)
- Compute shaders (via
ComputeShaderandGraphics.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
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
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.
Additions:
- Added the new OpenGL graphics backend
- Programmable shaders via
CanvasShaderand associated shader APIs - Added
ICanvas.DrawTriangles(Vector2[]) - Added
ICanvas.DrawCodepoint(int) - Added
Angle.Between - Added
Polygon.IsClockwise,Polygon.Area,Polygon.SignedArea, andPolygon.Triangulate - Added
IFont.MeasureText()
Changes:
- Added an optional
tintparameter toICanvas.DrawTexture - Removed the SkiaSharp graphics backend
- Removed
TextBounds - Reworked
CanvasState ICanvas.MeasureText()now returns aRectangle
Known issues:
ICanvas.DrawRoundedRectis 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
- fixed a bug that caused fixed resolution simulations to not work
v0.2.1-beta.3
- fixed multiple issues related to the
Performanceclass - 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.SetFixedResolutionis now static- other minor changes/fixes
v0.2.1-beta.1
- Improved the
Performanceclass 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
- fixed a bug with related to textures that prevented any rendering done to them from appearing