All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Expose
SvgSet
(#48)
- Averaging of gradients for fallback (instead of showing nothing) (#41)
- Add custom
Origin
variant (#39)
- Update bevy to
0.12
(#35)
- Fix SVG scaling issues (hopefully) (Fixes #18)
- Update bevy to
0.11
(#33 Thanks @NiseVoid) - Change
rust-version
to 1.70
- Added a
from_bytes
function on theSvg
struct that loads in an SVG from byte data (#30) - Added a
tesselate
function on theSvg
struct that calculates the bevy mesh. (#30)
- Update bevy to
0.10
- because
GlobalTransform.translation_mut()
was made private we now replace theGlobalTransform
of anSvg
when itsOrigin
changes.
- custom pipelines for 2D and 3D
- add new examples
- add common lib for examples with shared functionallity
- support for HDR rendering
- Fix README example and also add
bevy_svg::prelude::*
- Update bevy to
0.9
- Add common lib to every example
- Update usvg to
0.27
and svgtypes to0.9
- Rendering now takes view visibility into account
- Change how the origin is applied (Fixes #11)
- Update mesh components for entities which have had their
Handle<Svg>
component modified (Fixes #10) thanks @tasgon
- Update bevy to
0.8
- Update lyon to
1.0
- Added missing origins
BottomLeft
,BottomRight
,TopRight
- Tessellation of a SVG file will now happen on load in the
AssetLoader
- Use
copyless
to avoid unnecessary allocations. - Update mesh vertex buffer layout. This includes changing vertex color from
[f32, 4]
tou32
. - The origin will now not be applied to the transform in the
app world
, which could mess with the transform of childrens. It will instead be applied to the transform in therender world
, which doesn't have the concept of a transform hierarchy.
- Typos in
README.md
- Added features
2d
and3d
, both are activae on default, but can be used separately if needed.
- Rendering now uses the new renderer introduced in Bevy
0.6
- Now using
WGSL
instead ofGLSL
shaders SvgBundle
is replaced bySvg2dBundle
andSvg3dBundle
- Updated
usvg
to version0.20
Skipped this version number to be in sync with bevy.
- Implement AssetLoader for SVG
- Support for displaying SVGs with 3D cameras
- New 3D examples
- This file! 🚀
- Refactored and changed some internal, like how an when the different
y
-axis origin gets changed.
- Fix problem with drawing a SVG multiple times
- Fix washed out colors
- Ability to load a
SVG
file directly from the file system, you now need to useasset_server.load("path/to/file.svg")