-
Notifications
You must be signed in to change notification settings - Fork 14
Aardvark Rendering 5.5 changelog
Aardvark.Rendering 5.5 migrates to .NET 8 and Aardvark.Base 5.3. Apart from the changes in Aardvark.Base 5.3 some breaking changes in this release may require manual intervention.
Custom fonts are now retrieved and bundled at compile time via the Aardvark.FontProvider type providers. The FontSquirrel and GoogleFonts modules have been removed. Either use the predefined fonts from the DefaultFonts module or a provider instead:
open Aardvark.FontProvider
module Fonts =
module Types =
type LeafyGlade = FontSquirrelProvider<Family = "Leafy glade", Bold = false, Italic = false>
let LeafyGlade = Types.LeafyGlade.FontThen you may use Fonts.LeafyGlade instead of FontSquirrel.Leafy_glade.Regular. There are also providers for loading Google fonts and fonts from a specific URL or path (GoogleFontProvider and FontProvider respectively).
The package and namespace Aardvark.SceneGraph.IO has been renamed to Aardvark.SceneGraph.Assimp. Simply find and replace all occurences of the string Aardvark.SceneGraph.IO.
Types and APIs concerning surfaces and effects have been reworked. The ISurface interface has been removed. It was redundant apart from being a common interface for backend surfaces and effects via the FShadeSurface proxy type. Either use IBackendSurface or Surface instead.
The cases of the union type Surface have been renamed and modified:
-
Surface.FShadeSimple->Surface.Effect -
Surface.FShade->Surface.Dynamic -
Surface.Backendnow contains anIBackendSurface
The support for layered rendering has been improved:
- Added support for layered rendering with dynamic shaders. The signature of dynamic shader functions changed from
EffectConfig -> DynamicSurfacetoIFramebufferSignature -> IndexedGeomtryMode -> DynamicSurface. - Added
Effect.linkandEffect.Link()(use instead of deprecatedIRuntime.AssembleModuleand removedEffectConfigutilities) -
IRuntime.PrepareEffectnow takes an optional topology for layered effects.
- [GLFW] Added support for stereo rendering with OpenGL
- Moved some common types and modules (
IndexedGeometry,Camera,DefaultSemantic) to separate Aardvark.Rendering.Common project. - Removed obsolete
IResourceManagerinterface - Removed various other obsolete APIs
- [GL] Cleanup up shader program creation and caching. Removed various methods for creating and compiling shaders from
Context. - [Vulkan] Updated wrapper to Vulkan 1.3.282
- [Vulkan] Removed unused
Pipelinetype - [Vulkan] Removed
TextureFormat.ofGLSLType