This is the Spring23 version!
These files are taken from the THREE distribution.
They are the pieces that are required for the CS559 workbooks. This is the minimum. If you want other things (like the sources or the documentations or examples), download the entire three package.
This archive was created by downloading three.js-master on January 10, 2023. It is THREE version 148.
The version of THREE for class is in the 2023 CS 559 Three Repo.
The choices of files are based on last year (which might not be an informed choice).
What's here (all copied from the THREE distribution):
- The Three README.md and LICENSE files (renamed)
build/three.module.js
- the src folder (mainly to get the typing information)
- some of the examples (not all of them) - all from the jsm folder
- controls (in the past, it was a subset - this year I included more)
- curves
- libs
- loaders
- webxr
- the fonts (just the json for helvetiker) - this was added later in the semester
The build/types
folder is copied from this repository.
The following steps were taken:
- copied
index.d.ts
and renamed it tothree.module.d.ts
- copy
src
and renamed it totypes
- edit
three.module.d.ts
to refer totypes
(rather thansrc
)
This has not yet been tested fully... A few of the demos do work.
Note: step 3 (editing the files to point to the right thing) was not an elegant approach. In the future, we should use the library "as is" and then use an "import map" to load things correctly. (see https://threejs.org/docs/index.html#manual/en/introduction/Installation "Addons")