We are happy to announce the next major release of Zea Engine 4.0.0.
Zea Engine has been migrated to TypeScript. This is a major change that should enhance developer productivity significantly.
TypeScript has enabled new features in the engine such as:
- Convenient and typed access to parameters.
- Statically defined materials, which allows typed access to parameters.
As with any major release, there are several breaking changes. Breaking changes include:
- The HTMLCanvas element must be nested under another DOM element without any sibling elements.
- The variables of SceneSettings have been moved to Scene and Viewport classes.
- VertexAttributes are now typed. Adding Vertex Attributes to geometries now requires that the user constructs the appropriate typed attribute.
- FilePath parameters have been deprecated, instead, the ‘load’ method is used.
- GLShader.getParamDeclarations was replaced with getMaterialTemplate getParamDeclarations would return an array of parameter descriptors, but now we return an instance of a Material from getMaterialTemplate instead.
- The deprecated Group class was removed from the build. You must now use one of the specialized classes based on BaseGroup. e.g. SelectionSet, or KinematicGroup.
Further details on the newly added features and examples of how to use the updated API are in the Zea Engine Change Log
Additionally, Zea-CAD 4.0.1 has been released. The following updates to the API include:
- This version now requires v4.0.0 of the engine.
- Removing Parametric Surface Evaluation from Zea-CAD. ZCAD files containing parametric surfaces are no longer supported.
- Refactored Zea CAD to be compatible with the new TypeScript version of the engine.
The Release notes for Zea-CAD can be found here: Zea CAD Change Log