react-ogl

🦴 A barebones react renderer for ogl.

MIT License

Downloads
228
Stars
143
Committers
5

Bot releases are hidden (Show)

react-ogl - v0.0.9

Published by CodyJasonBennett over 2 years ago

What's Changed

  • fix(shared): correctly filter interactive meshes (#6) by @CodyJasonBennett in a7f504622ea81190ade8e14ef4c1bdc311b26263

Full Changelog: https://github.com/pmndrs/react-ogl/compare/v0.0.8...v0.0.9

react-ogl - v0.0.8

Published by CodyJasonBennett over 2 years ago

What's Changed

  • fix(reconciler): use correct version for devtools by @CodyJasonBennett in a215a5890af57d75c1f6f2595331f4a873c727a1

Full Changelog: https://github.com/pmndrs/react-ogl/compare/v0.0.7...v0.0.8

react-ogl - v0.0.7

Published by CodyJasonBennett over 2 years ago

What's Changed

  • fix(native): use location{X,Y} for events by @CodyJasonBennett in ecb10b2bbea0fb2d7ec299cb70305ce20c8619f3
  • fix(native): correctly link expo modules by @CodyJasonBennett in f8465283c326b51948245737043dec3c025d5219

Full Changelog: https://github.com/pmndrs/react-ogl/compare/v0.0.6...v0.0.7

react-ogl - v0.0.6

Published by CodyJasonBennett over 2 years ago

What's Changed

  • fix(deps): correctly mark native peer deps by @CodyJasonBennett in 8c0bf019c05475dbd8548e0bf8c29c5fa33109ad

Full Changelog: https://github.com/pmndrs/react-ogl/compare/v0.0.5...v0.0.6

react-ogl - v0.0.5

Published by CodyJasonBennett almost 3 years ago

What's Changed

  • fix(native): bind manager handlers by @CodyJasonBennett in 9193989c36acb2a0fd077afe35e772f70cb29f45
  • fix(types): use correct types for extensions, RootState by @CodyJasonBennett in c48ed769ab3845ca856d49d51375ff29095bd687
  • chore: cleanup build & TS for tests & demo by @CodyJasonBennett in cc01e5afbb0dfb592ff19201233d067ffed22f7c
  • chore: add metro config to readme native example by @CodyJasonBennett in d17673f5b182757f745f889fee3d886c66280074
  • fix(native): bind listeners from renderer by @CodyJasonBennett in 4884f887096ce7483b1675be4a0ca873b6da3947
  • fix(shared): reset hover state on missed touch by @CodyJasonBennett in 7bf3c8e065f6e60948ced60582f56e356f9a1ce4
  • fix(types): make extensions optional in useLoader by @CodyJasonBennett in 0d477bc3f729bbc18691e729a919d2fe3c439c37

Full Changelog: https://github.com/pmndrs/react-ogl/compare/v0.0.4...v0.0.5

react-ogl - v0.0.4

Published by CodyJasonBennett almost 3 years ago

What's Changed

  • fix(core): safely access GLTF materials by @CodyJasonBennett in e02c74eb404987543fb0cc29f2a103eab7d559ce
  • chore: cleanup core, create shared target by @CodyJasonBennett in ea1a564e6adb3690889c694085f90926975ee9a8
  • chore: cleanup usage in README by @CodyJasonBennett in cde86a5d4a8e9bd7aa389782e0da1f7df5afb3f0

Full Changelog: https://github.com/pmndrs/react-ogl/compare/v0.0.3...v0.0.4

react-ogl - v0.0.3

Published by CodyJasonBennett almost 3 years ago

What's Changed

  • fix(native): check URI when unpacking in useLoader by @CodyJasonBennett in f565185dde26f34f712b9cff07e57eb6a378990f
  • fix(native): skip unpack in useLoader by @CodyJasonBennett in 823add6dbdf511b13d9723a57bd455cfb0bfc609
  • fix(web): use correct signature for TextureLoader by @CodyJasonBennett in f0198e2d4a3ff6df31b928faba408bfbc72e9756

Full Changelog: https://github.com/pmndrs/react-ogl/compare/v0.0.2...v0.0.3

react-ogl - v0.0.2

Published by CodyJasonBennett almost 3 years ago

What's Changed

  • feat(core): accept shorthand props as uniforms by @CodyJasonBennett in baed3f642184542495912759fc084e14cd42fa74
  • fix(core): safely handle external events & set camera defaults by @CodyJasonBennett in e5816947a96633401047050ae7edf14fcaf73287
  • feat: create useLoader and useGraph hooks by @CodyJasonBennett in e5816947a96633401047050ae7edf14fcaf73287

Full Changelog: https://github.com/pmndrs/react-ogl/compare/v0.0.1...v0.0.2

react-ogl - v0.0.1 - Initial Release

Published by CodyJasonBennett almost 3 years ago

The first public release of react-ogl is here.

Features we've implemented:

  • TypeScript support and IntelliSense for JSX
  • events (onClick, onPointerUp, onPointerDown, onPointerMove, onPointerOver, onPointerOut)
  • hooks (useOGL and useFrame — same API as R3F)
  • web & react-native support (<Canvas /> and platform bindings for events)

Features to be implemented:

  • more events (we can use R3F's)
  • useLoader hook
  • disposal (this needs to be implemented in ogl — we'd just call .dispose())
  • WebXR support (this will need changes to ogl itself but we can automatically support it like R3F v8)

Full Changelog: https://github.com/pmndrs/react-ogl/commits/v0.0.1