Skip to content

Releases: 4eb0da/war3-model

IBL / Environment maps support

21 Aug 00:27
6f500ec
Compare
Choose a tag to compare
  • Added useEnvironmentMap render mode
  • Added renderEnvironment method

MDL fixes 2

12 May 20:27
Compare
Choose a tag to compare
  • Additional fixes for the MaterialID generation in MDL format

MDL fixes

11 May 19:39
Compare
Choose a tag to compare
  • Fixed an issue with the MaterialID parsing and generation
  • Fixed an issue with the incorrect PivotPoints order

Shadows support

11 May 13:56
Compare
Choose a tag to compare
  • Added setLightPosition and setLightColor methods
  • Added shadow-related properties for the render method
  • Added shadows in previewer

Reforged support

08 Jan 17:19
Compare
Choose a tag to compare

Reforged support:

  • mdx, mdl parsing and generation
  • Model rendering support (including) pbr rendering)

Changes:

  • Minor textures api changes
  • Package exports refactoring (node vs browser)

Fix package contents

02 May 12:41
Compare
Choose a tag to compare
v2.2.1

Fix publishing and version up

Better destroy and simple hd models' animation support

02 May 12:23
Compare
Choose a tag to compare
  • destroy method now cleans particles and ribbon emitters
  • Preview sample now supports skeleton and wireframe
  • Model renderer now supports hd models' animation

Fixed package contents & added destroy method

23 Apr 21:36
Compare
Choose a tag to compare

For a some reason, non-browser build have missed ModelRenderer class.
Also, added method destroy in that class and added first steps for "Reforged" format support

Maintenance update

10 Oct 13:33
Compare
Choose a tag to compare

Exports

Main change is about module exports and file structure
Separate internal files in package are gone (e.g. war3-model/mdx/parse)
Instead package now provides multiple ways to use it:

  • Common-js way
  • ES Module way
  • Direct browser usage with globals and es-modules

Also instead of providing full-size js & ts in package there are now full js and small typings for ts

Fixes

Infinite loop in mdl parse

Deps & infra

  • gl-matrix 2 -> 3
  • Typescript 1? -> 4.4
  • tslint -> eslint
  • browserify -> rollup & webpack
  • codemirror -> monaco

war3-model requires the same node.js@4, nothing changed here

Other

  • Better package.json with more infos
  • Better docs

Added missing files in npm package

24 Aug 16:05
Compare
Choose a tag to compare
  • renderer folder was missing