This repository has been archived by the owner on Jul 20, 2020. It is now read-only.
Releases: firtoz/react-three-renderer
Releases · firtoz/react-three-renderer
v2.0.0
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 installreact-three-renderer@^0
- This is because React is increasing separation between its core and
react-dom
, therefore
the tricks used to makereact-three-renderer
needed to change as well.
- This version should work with
- 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
npm install --save [email protected]
Changelog ( see diff )
Components
- Add <sprite> component ( #39 )
- Add
uniforms
property to <shaderMaterial> and <rawShaderMaterial> ( #36 ). - Allow reordering of components within the
<resources>
component ( #40 )
Documentation
- Improve <module> documentation ( Thanks @delvarworld )
- Improve commenting for materialDescriptorBase
v0.1.1
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
npm install --save [email protected]
Changelog ( see diff )
Components
- React3
- Add manual rendering support ( #17 )
- See React3#forceManualRender property
- Add callback property to get access to the WebGLRenderer ( #27 )
- See React3#onRendererUpdated
- Ensured that main logic is up to date with [email protected]
- Add manual rendering support ( #17 )
- Geometries
- Add TextGeometry ( #30 )
- Add TubeGeometry ( #31 )
- Add DodecahedronGeometry ( #32 )
- LatheGeometry fixes:
- Fixed the type of
points
to THREE.Vector2
- Fixed the type of
- Materials
- Add RawShaderMaterial ( #29 )
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
npm install --save [email protected]
Changelog: ( see diff )
Lights
- The
shadowBias
property no longer uses deprecated code
v0.0.20-alpha
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
- Also fixed the peer dependency to be at least
Lights
- Fixed defaults for shadow camera near / far properties
- Point Light
- Added support for
shadowCameraFov
andshadowCameraAspect
- Added support for
- Directional Light
- Fixed defaults for shadow camera top / left / right / bottom properties
v0.0.19-alpha
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
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
andoffset
properties
- Added docs for
v0.0.17-alpha
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
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
- added crossOrigin, onLoad, onProgress, and onError properties to Textures. ( #7, #18 )
Resources
- added better errors and warnings for resource types ( #9 )