Beta 2023.12.21.109: Difference between revisions

From Resonite Wiki
m Fix capitialization in links, flux links.
m get rid of 1 in protoflux
 
Line 21: Line 21:
** Added [[DocumentPageMetadata (Component) | DocumentPageMetadata]] component - this provides metadata of individual page of the document (currently the reference size)
** Added [[DocumentPageMetadata (Component) | DocumentPageMetadata]] component - this provides metadata of individual page of the document (currently the reference size)
** Added [[DocumentInterface (Component) | DocumentInterface]] which allows creating custom document (PDF) viewers for importing - you can use this same way as custom video/audio players and other interfaces
** Added [[DocumentInterface (Component) | DocumentInterface]] which allows creating custom document (PDF) viewers for importing - you can use this same way as custom video/audio players and other interfaces
* Implement [[Value Lerp Unclamped`1 (ProtoFlux Node) | ValueLerpUnclamped<T>]] node, which provides linear interpolation that can go past the 0...1 range, extrapolating the values (requested by @baxterottoman, issue [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/934 #934])
* Implement [[Value Lerp Unclamped (ProtoFlux) | ValueLerpUnclamped<T>]] node, which provides linear interpolation that can go past the 0...1 range, extrapolating the values (requested by @baxterottoman, issue [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/934 #934])
* Add [[Constant Lerp Value`1 (ProtoFlux Node) | ConstantLerpValue<T>]] component, which allows lerping a target value at constant speed (requested by @baxterottoman, issue [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/925 #925])
* Add [[Constant Lerp Value (ProtoFlux) | ConstantLerpValue<T>]] component, which allows lerping a target value at constant speed (requested by @baxterottoman, issue [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/925 #925])
* Implemented support for CubicBezier interpolation for animation curves (based on request, samples and other materials provided by @rucio, @stiefeljackal, @baxterottoman, @lexevo, @banane9, issue [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/682 #682])
* Implemented support for CubicBezier interpolation for animation curves (based on request, samples and other materials provided by @rucio, @stiefeljackal, @baxterottoman, @lexevo, @banane9, issue [https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/682 #682])
** This can be used with .animj files by specifying "CubicBezier" as the interpolation method for the frames
** This can be used with .animj files by specifying "CubicBezier" as the interpolation method for the frames

Latest revision as of 01:47, 14 January 2024


Beta 2023.12.21.109 is a Resonite version released on 2023/12/21.

The following notes were sent by Frooxius:

Resonite now officially supports PDF files, based on popular demands from our educational users! You can import .pdf files and navigate the pages, very large documents are supported too - you can view PDF's with thousands of pages without severe performance impact.
IMPORTANT: In this build, the viewer UI is very barebones, content team will be working on a much nicer UI soon, so there's still more to come!
This introduces new internal asset type - Document, of which PDF's are only supported format right now. There is component for rendering the document pages into texture (you can have multiple pages rendered out of the same document at the same time) as well some metadata. We will add more as time goes (e.g. access to bookmarks and other metadata).
The document viewer UI also uses the same entity interface system as video/audio players - meaning you can make your own (or customize the official one) and set it as your favorite!
There are some other additions in this build too, like proper support for Cubic Bezier curves for animations (and exposing it as nodes too).

New features:

  • Added native support for PDF documents (requested by PatriceFRey, @mpmxyz, @gamethecupdog, @pek2442 and number of other educational institutions/users, issue #708)
    • Added StaticDocument component, which loads the document asset data (in this case PDF)
    • Added DocumentPageTexture, which allows rendering individual pages of the document into a texture
      • Size configures the larger side of the texture (the smaller side is computed automatically)
      • PageRegion allows rendering a subregion of the page (e.g. when zooming in)
    • Added DocumentAssetMetadata component - this provides metadata (currently number of pages) for given document
    • Added DocumentPageMetadata component - this provides metadata of individual page of the document (currently the reference size)
    • Added DocumentInterface which allows creating custom document (PDF) viewers for importing - you can use this same way as custom video/audio players and other interfaces
  • Implement ValueLerpUnclamped<T> node, which provides linear interpolation that can go past the 0...1 range, extrapolating the values (requested by @baxterottoman, issue #934)
  • Add ConstantLerpValue<T> component, which allows lerping a target value at constant speed (requested by @baxterottoman, issue #925)
  • Implemented support for CubicBezier interpolation for animation curves (based on request, samples and other materials provided by @rucio, @stiefeljackal, @baxterottoman, @lexevo, @banane9, issue #682)
    • This can be used with .animj files by specifying "CubicBezier" as the interpolation method for the frames
    • Generally this is the type of interpolation you want for smooth paths, especially exported from other software, rather than the "Tangent" curve, which has a different behavior
    • Add BezierCurve and MultiBezierCurve interpolation nodes (this uses same math/algorithm as the animation tracks above)
  • Add MaxIsExclusive to ButtonValueShift - when true, the Max value will be exclusive, meaning the shifted value will never reach it (the new effective max is the Max - Abs(Delta))

Locale:

  • Merged Korean locale update by @mirpasec
  • Merged Japanese locale update by @.aesc
  • Merged Russian locale update by @Shadow Panther [RU/EN, UTC+1/+2]
  • Merged German locale update by @muppeq
  • Merged Polish locale update by @foxobread
  • Merged fix for Esperanto, Dutch and Polish locales by rassi0429

Tweaks:

  • Imported/generated images are now always setup with TextureSizeDriver, which will make the quad update its aspect ratio when the image changes

Bugfixes:

  • Add handling for invalid parsing arguments/flags when parsing numbers, resulting in crashes (reported by @Zandario | Space Wizard and @ukilop, issue #922)