markaren / threepp

C++17 port of three.js (r129)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Summer cleanup

markaren opened this issue · comments

More intrusive changes than normal will be scheduled during the summer

  • Remove deprecated functions (#148)
  • Remove FPS from canvas (c9fd872)
  • Remove timings from canvas (#148)
  • Use Catch2 v3 (#151)
  • Allow non-owning add for Object3D (fb9d8fa)
  • Decouple GLRenderer from Canvas (#161)
  • Replacing int constants with Enums (#150) (mostly done)
  • Remove URLFetcer (#159)
  • Stack allocation of Object3D types (7ceb34f)
  • Decouple text rendering from GLRenderer (#167)

Things to look at in the future:

- [ ] Rethink physics integration
- [ ] Rethink BufferAttributes
- [ ] Less public fields
- [ ] Make it easier to add EventListeners
- [ ] Target C++20

Mac is holding C++20 targeting back....

have you considered jolt physics? It is tested in a AAA game and now starting to be adopted by godot game engine. also it has some support for js with emscripten

have you considered jolt physics?

Not heard about it before. I did a quick check, but unfortunatly the vcpkg package is incomplete and the sample code was overly complex compared to say bullet and similar.

I might come back to it in the future. But at the same time, threepp is not focused on physics. I might even remove the bullet example code at some point.