TargetImagePreviewMesh
returnssRGB
material by default.- Fixed an issue with washed out camera feed r152+
- Fixed a curved image tracking performance issue.
- Fixed degenerate case for
ImageTargetPreview
. - Fixed an issue where the wrong camera would be used in
iOS 16.4
.
- Spanish, Portuguese and German translations for permissions screen
- Improvements to curved tracking
- Updated dependencies.
- Module is now built as
ESNext
.
- Children props are once again passed into
ZapparCamera
.
- Updated dependencies.
ZapparCamera
component'suseFrame
priority from2
to-1
.- Wrapped
ZapparCamera
inside of a<primitive>
component. - Updated dependencies.
- Updated to react 18
- Greatly improved instant tracking.
- Introduced
SequenceSource
and pipeline functions to record and playback sequences of camera+motion data. - Added support for curved tracking.
- Added support for fetching image element containing target image's embedded preview image.
- Improved GL state management.
- Migrated to Webpack 5 workers.
- Dropped support for webpack 4.
- An issue where
ZapparCamera
would get disposed between renders.
- An issue where
troika-text
would corrupt gl state on some devices.
- Multiple re-renders of
ZapparCamera
which caused the front camera to behave in unexpected ways.
- Disabled
antiAlias
on theZapparCanvas
component. This is a temp fix for ios 15.4.
- set peerDependencies
"@react-three/fiber"
to">= 6.0.0"
three
peer dependency locked to<= 0.128.0
node
16 engine requirement.
- Addressed texture encoding issues for the camera background texture with recent three.js versions.
.npmrc
-engine-strict=true
to enforce node >= 16.
three
peer dependency locked to<= 0.128.0
- Temporarily Removed
CameraEnvironmentMap
component, please use<ZapparCamera environmentMap />
instead. - Package now requires
node 16+
andnpm 8.3+
. This will be reverted onceios 15.4
webgl2
is stable.
- Cleaned up
ZapparCanvas
. - Updated
README.md
- Updated dependencies.
- Updated dependencies.
useEnvironmentMap
prop fromZapparCamera
component.
CameraEnvironmentMap
component. This can be used across the scene:<CameraEnvironmentMap attach="environment" />
or be attached selectively across materials:
<mesh>
<sphereBufferGeometry />
<meshStandardMaterial metalness={1} roughness={0}>
<CameraEnvironmentMap attach="envMap" />
</meshStandardMaterial>
</mesh>
- Additional tests added for
CameraEnvironmentMap
.
enabled
prop to the tracker group components. This can be used to disable/enable the underling tracker.
- Introduced
SequenceSource
and pipeline functions to record and playback sequences of camera+motion data. - Added instant tracker jest test.
- Added
start
prop toZapparCamera
, passing false will not automatically start the camera.
enabled
prop to the tracker group components. This can be used to disable/enable the underling tracker.
- Issue where
useInstantTracker
never gets called.
- Updated dependencies.
- Updated dependencies.
- Typings to the props of
ZapparCanvas
component.
ZapparCanvas
resize
polyfill added.
- Incorrect
main
andtypes
paths inpackage.json
.
- Updated compatibility section in
README.md
- Updated dependencies.
- Realtime Camera-based environment map to the
ZapparCamera
component. Realtime Camera-based Reflections
section toREADME.md
CameraEnvironmentMap
tests.- Added TypeDoc.
- GitHub badge line-break in
README.md
- Issue where camera source could not be a string.
- Minor ESLint formatting changes in tests.
onFirstFrame
callback prop toZapparCamera
component. This gets called when the first camera frame is processed.First Frame
section toREADME.MD
- Open-sourced on GitHub.
- Updated Dependencies.
- Eslint fixes.
- Ability to use img/video elements as camera sources.
- Face and Image tracking tests.
- Exposed
LogLevel
,setLogLevel
. permissionRequest
(true) prop toZapparCamera
.LICENCE.MD
.- issues/repo urls to
package.json
- Build badge to
README.md
skipVersionLog
.
- Licencing copy in
README.MD
- Changed licence to
MIT
in package.json
- Cleaned up internal usage of forwardRef
makeDefault
prop to ZapparCamera.renderPriority
prop to ZapparCamera.README.MD:
AddedmakeDefault
andrenderPriority
documentation to Camera section.
PlacementUI
styling.
- Updated dependencies
- Switched to yarn
- react-three-fiber updated to 6.0.1
- You will now need to set
ZapparCamera
as your main camera usinguseThree(state => state.set)
Prettier
printWidth
now matcheseslint
max-len
- Minor refactor of all components.
- Tracker Components:
- Removed
useUpdate
in favor ofuseRef
as@react-three/fiber
discontinued the hook. - Tracker Components which make use of forwardRef, now have correct ref types.
- Removed
- An easy to use placement UI for Instant Trackers. (
placementUI
prop forInstantTracker
component) @react-three/drei
dependency
- makeDefault prop from
ZapparCamera
component. This should now be handled by users. README.MD
: Camera'smakeDefault
documentation.
- Updated dependencies
- sources prop to
Camera
component, allowing custom video devices to be used.
- Missing
forwardRef
parameters
README.MD
- Temporally removed preview gif
README.MD
- Tidied up code snippets
- Added
create-react-app
instructions - Added
snapshot
guide toCamera
section - Added preview gif
- Issue where
<Loader>
component would not dispose of itself.
- React router test
skipVersionLog
for silencing version logs
<Loader>
now honoursstyle
andonLoad
changes (added touseEffect
's dependency list)
Pipeline
object to be used when removing and adding canvas (react-router-dom
support)react-router-dom
section to README.MDpipeline?
prop toZapparCamera
,InstantTracker
,ImageTracker
,FaceTracker
components.model?
prop toFaceTracker
component
- Tracker's callbacks are now cleaned up when dismounted
- Exposed
Types
interface containing types for primitive three tracker objects.
ZapparCamera
component now correctly supportsposeMode="anchor-origin
- Keywords to
package.json
zapparCanvas
id toZapparCanvas
componentcreate-react-app
templates will follow versioning of this package.
- Updated dependencies.
README.md
removed some incorrect info.
- Keywords to
package.json
- Camera prop is now optional when constructing trackers.
- Tidied up internal interfaces.
README.md
updated to reflect this patch.
animations
props to tracker components (needed for three 0.123.0)
- React Three Fiber peer dependency to ">= 5.2.1"
npx create-react-app
instructions to README.md
README.md
bootstrap project markdown formatting.
Initial release