Releases: ab4d/Ab4d.SharpEngine.Samples.Web
Releases · ab4d/Ab4d.SharpEngine.Samples.Web
v0.8.9432-beta2
Ab4d.SharpEngine.Web v0.8.9432-beta2
New samples:
This version provides new samples that show how to use Ab4d.SharpEngine.Web in a pure WebAssembly .Net project with no references to Blazor. Such project can then be compiled to WebAssembly and used on any website. This new version shows how to do that with the following web servers:
- Asp.Net Core web server
- Express Node.js web server
- Python's socketserver
New Ab4d.SharpEngine.Web features:
- Added support for loading, creating and showing textures. Added classes: Ab4d.SharpEngine.Utilities.TextureLoader and TextureFactory.
- Added support for rendering back-face materials (set to BackMaterial property).
- Added support for AlphaClipThreshold property (when bigger than 0, then pixels with alpha below the AlphaClipThreshold are not rendered).
- Added support for different texture samplers (Wrap, Clamp, Mirror, etc).
- Added Utilities.TextureLoader class that can be used to load texture files to GpuImage objects.
- Added new constructors to StandardMaterial that take textureFileName and initialDiffuseColor and can be used to easily show texture images.
- Added Utilities.TextureFactory class (from core SharpEngine library). It can be used to create gradient and small 1x1 textures.
- Added ObjImporter that can import obj files.
- Added support for SolidColorMaterial.
- Added Utilities.BitmapFont and Utilities.BitmapTextCreator that can be used to render text by using bitmap fonts.
- Added Utilities.TrueTypeFontLoader and Utilities.VectorFontFactory that can be used to create a vector text mesh from TrueType font (.ttf) files.
- Fixed sorting transparent objects by camera distance so that objects that are farther away from the camera are rendered first, and this makes them visible through transparent objects that are closer to the camera.
- Improved disposal of WebGL resources.
- Added WebGLDevice.ContextLost event that can be used to save the state of the 3D scene before the user reloads the web page.
- When WebGL 2.0 is not supported, then WebGL 1.0 is used (if supported).
This version of Ab4d.SharpEngine.Web will expire on 2026-01-31.
v0.8.9400-beta1
This is the first public version (beta 1) of the Ab4d.SharpEngine.Web library.