2.3.2 ( see diff )
- Added LICENSE ( MIT )
- Added
<gridHelper>
( #60 ) <React3/>
:- Added
canvasRef
property for easier access to the canvas
- Added
<ambientLight/>
:- Add
intensity
prop ( #110 )
- Add
- Added production testing
2.3.1 ( see diff )
- Restore compatibility with
react@~15.3.1
2.3.0 ( see diff )
- Restore compatibility with
react@~15.3.0
2.2.1 ( see diff )
- Add
magFilter
andminFilter
attributes to<texture/>
( #75 ) - Fix the default value for the
rotation
property of<absEllipse/>
- Remove the
receiveShadow
property from light components - Add missing attributes to
<meshPhongMaterial/>
: - Fixed accidental swapping of
tubularSegments
andradialSegments
attributes for<torusKnotGeometry/>
- Add notes for default values for attributes
- Reorder some properties in the
<react3/>
and<boxGeometry/>
documentation to make more sense - Clarify documentation for
lookAt
property for<object3D/>
and its subclasses - Add missing default properties for some components
- Whitespace fixes
2.2.0 ( see diff )
- Restore compatibility with react@~15.2.0
2.1.4 ( see diff )
- Fixed bug which would cause a crash while mounting certain components with certain props that would trigger a remount ( #86 )
2.1.3 ( see diff )
- Fixed bug which would cause a crash when a component needs to update refs and it needs to remount ( déjà vu )
2.1.2 ( see diff )
- Fixed bug which would cause a crash when a child component needs to update refs and its parent needs to remount
2.1.1 ( see diff )
- Fixed bug which would prevent multiple React3 components in the same page
2.1.0 ( see diff )
- Lights
<directionalLight>
and<pointLight>
used to point to the origin by default, but from 2.1.0 they will look forward. If you would like to restore this behaviour you can do:
// initialisation
origin = new THREE.Vector3(0,0,0);
// and within render
<directionalLight ... lookAt={origin}/>
- Added
<lineSegments>
geometry descriptor ( #68 ) ( @Nopik ) - Lights
- Fixed
<directionalLight>
and<pointLight>
rotation updates ( #65, #73 ) - Fixed shadow bugs for materials which did not declare a
side
property
- Fixed
- Fixed updating of all arrow/axis helper props ( #59, #72 )
- Allowing updating of geometry properties in subclasses for geometry ( #76 ) ( @jardakotesovec )
- Fixed compatibility with
react@~15.1.0
- Fixed compatibility with
three@>=0.74.0 < 0.78.0
2.0.1 ( see diff )
- Adds CanvasRenderer fallback when WebGl support is not available #53
- Fixed crashes that happen when returning null from composite components
- Fixed crashes that happen when replacing composite components
- Improved testing:
- made faster and easier to debug
- Moved wiki files into repository to get rid of submodule
2.0.0 ( see diff )
- 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
0.1.2 ( see diff )
- Add
<sprite/>
component ( #39 ) - Add
uniforms
property to <shaderMaterial> and <rawShaderMaterial> ( #36 ). - Allow reordering of components within the
<resources>
component ( #40 )
- Improve <module> documentation ( Thanks @DelvarWorld )
- Improve commenting for materialDescriptorBase
- 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/>); } }
- Added tests for the above case
- Small documentation fixes
- 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
- Materials
- Add RawShaderMaterial ( #29 )
- 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
- Move tests into main repository