Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Releases: firtoz/react-three-renderer

v2.0.0

16 Apr 15:25
Compare
Choose a tag to compare

npm install --save [email protected]

Changelog ( see diff )

Core

  • Should work with React 15 ✨
    • This version should work with react@^15.0.0
    • For react@^0.14.7, please install react-three-renderer@^0
    • This is because React is increasing separation between its core and react-dom, therefore
      the tricks used to make react-three-renderer needed to change as well.
  • Lots of the core has been rewritten to stay in sync with React 15
    but that means there will probably be new bugs appearing.
  • Convert to a proper version system
  • Upgrade other npm packages

v0.1.2

11 Mar 18:54
Compare
Choose a tag to compare

npm install --save [email protected]

Changelog ( see diff )

Components

Documentation

  • Improve <module> documentation ( Thanks @delvarworld )
  • Improve commenting for materialDescriptorBase

v0.1.1

11 Mar 00:06
Compare
Choose a tag to compare

npm install --save [email protected]

Changelog ( see diff )

Fixes

  • core

    • Fixed a bug which would crash when the return type from a composite component would change e.g.:
    class Wrapper extends React.Component {
      static propTypes = {
        internal: React.PropTypes.bool,
        res: React.PropTypes.bool,
      };
    
      render() {
        if (this.props.internal) {
          return (<scene/>);
        }
    
        if (this.props.res) {
          return (<MyResources/>);
        }
    
        return (<MyScene/>);
      }
    }

Tests

  • Added tests for the above case

Documentation

  • Small documentation fixes

v0.1.0

26 Feb 19:08
Compare
Choose a tag to compare

npm install --save [email protected]

Changelog ( see diff )

Components

Documentation

  • Improve README.md
  • Add CHANGELOG.md
  • Fix view source links
  • Add docs for shared properties in geometries and materials
  • Add cross-links between shape and extrude geometry

Project

  • Move tests into main repository

v0.0.21-alpha

11 Feb 22:25
Compare
Choose a tag to compare

npm install --save [email protected]

Changelog: ( see diff )

Lights

  • The shadowBias property no longer uses deprecated code

v0.0.20-alpha

11 Feb 21:56
Compare
Choose a tag to compare

npm install --save [email protected]

Changelog: ( see diff )

Core

  • Upgraded to [email protected]
    • Also fixed the peer dependency to be at least 0.74.0 since some changes may break on earlier versions

Lights

  • Fixed defaults for shadow camera near / far properties
  • Point Light
    • Added support for shadowCameraFov and shadowCameraAspect
  • Directional Light
    • Fixed defaults for shadow camera top / left / right / bottom properties

v0.0.19-alpha

10 Feb 20:35
Compare
Choose a tag to compare

npm install --save [email protected]

Changelog: ( see diff )

Core

  • Implement clearAlpha property to React3
  • Fix bug that would create redundant frames if a prop modification caused a canvas recreation

v0.0.18-alpha

09 Feb 22:50
Compare
Choose a tag to compare

npm install --save [email protected]

Changelog: ( see diff )

Textures

  • Added support for the offset property ( #25 )
  • Improved wiki for textures a little
    • Added docs for repeat and offset properties

v0.0.17-alpha

07 Feb 17:08
Compare
Choose a tag to compare

npm install --save [email protected]

Changelog: ( see diff )

Core

  • Confirmed support up to THREE 0.73.2
  • Added all WebGLRenderer properties to <React3/> ( #23 )

Geometry

  • Added faceVertexUVs property ( #24 )

Contributors

v0.0.16-alpha

14 Jan 21:40
Compare
Choose a tag to compare

v0.0.16-alpha

npm install --save [email protected]

Changelog:

Core

  • Using three instead of three.js ( Thanks again @delvarworld ) ( #14 )
  • Move some dependencies to peerDependencies

Textures

Resources

  • added better errors and warnings for resource types ( #9 )