Closed mbredif closed 8 years ago
BTW, beware that src/lib/three.js has been hacked to enable support for 'm3' and 'm3v' uniforms (dbde73ac174d9afe5521079fe57a1903d4a5ba48)
WIP: 08b04309d6796d69134569ef23723eab45612caa
As this is needed for #8 it also looks like a blocker for 1.0. Any idea of when it will be ready, so that we can release ?
I'll check. Certainly some migrating from Three r63 to r73 like "Object3D's position, rotation, quaternion and scale properties are now immutable." https://github.com/mrdoob/three.js/wiki/Migration
IIUC, what #8 (and #20) really needs is an update to r67. While upgrading to r74 (released a couple days ago, unfortunately not yet available in NPM) or r73 would be ideal, maybe we could start with a "baby step" moving to r67 first?
@tbroyer indeed, first goal is to release v1.0 asap. We can upgrade to latest Three.js versions later on.
The modification for r74 will work on r73 or even 72.
Ok for the lidar now. But new ThreeJS seems to force computing bounding box on buffergeometry. As new points comes along it's computationaly heavy.
Computed once for every series seems cool. Picking ok too. @mbredif , you may check bati3D before the release :)
it looks like r74 landed on npm : https://www.npmjs.com/package/three
@mbredif is Bati3D ok ? Do you want to upgrade to r74 ?
@nosy-b and I are working on it, so that we can upgrade to r74 for the release.
in 410994086664e9dfca0811d3a99c94a297008253 three.js r74 is now pulled from npm (and removed from the sources). I just had to copy the DDSLoader extra since it is not part of the three
npm package.
@broyer, I have seen a three-js
npm package which appear to include extensions as well (these extensions are still present in the src/lib directory now). Should we pull from it instead ? I have not succeeded in using it with webpack though.
concerning bati3D, you can see the status when using
You should be able to import DDSLoader
as three/examples/js/loaders/DDSLoader
.
Have a look at the webpack
branch in iTowns2
Currently using R63 in src/lib/three.js We could update to a more recent version.