- 23 11月, 2017 1 次提交
-
-
由 Kai Salmen 提交于
- WorkerRunnerRefImpl changes: No longer required `THREE.LoaderSupport.Validator` and `THREE.LoaderSupport.ConsoleLogger` which reduces size of worker. Default workers only include WorkerRunnerRefImpl for establishing communication and no longer need the Validator or the ConsoleLogger. - LoaderWorkerSupport changes: It always ensures logConfig parameters are properly initialized before being passed to worker. Fixed logging problems. - Issue #25: OBJLoader2 now logs an error if `THREE.LoaderSupport` is not included as script in HTML. The same is true for missing `THRE.MTLLoader`, but only if method `loadMtl` is used. - Issue #26: `WorkerSuport` now contains a inner private class `LoaderWorker` that encapsulates the native worker. This separates the runtime functionality from the setup and interaction. Workers are now terminated when immediately when they are not running otherwise `LoaderWorker.terminateRequested` ensures termination when final execution status is reached. `WorkerDirector` now properly handles shutdown of workers. Evaluation of status is always performed in `WorkerDirector.processQueue`. `WorkerDirector.callbackOnFinishedProcessing` is called when processing is completed and all workers are terminated. This allows to clear all meshes, for example.
-
- 15 9月, 2017 1 次提交
-
-
由 Kai Salmen 提交于
Fixed issue 15: better user control over console logging Fixed issue 16: use event objects in callbacks and numerical progress in onProgress Updated version to V2.0.0
-
- 04 9月, 2017 2 次提交
-
-
由 Kai Salmen 提交于
Example obj2_options: Removed manual file loading (not the focus here) Example run_director: Fixed asset assignment and clearAllAssests function
-
由 Kai Salmen 提交于
-
- 14 7月, 2017 1 次提交
-
-
由 Mr.doob 提交于
-
- 10 7月, 2017 1 次提交
-
-
由 WestLangley 提交于
-
- 30 6月, 2017 1 次提交
-
-
由 Kai Salmen 提交于
-
- 27 5月, 2017 1 次提交
-
-
由 Mr.doob 提交于
-
- 24 4月, 2017 1 次提交
-
-
由 Kai Salmen 提交于
Code related changes: - Validator and its functions replace all Boolean calls. It is included in THREE.OBJLoader2. - Versions are now defined inside OBJLoader2 and WWOBJLoader2. - Static OBJLoader2._getValidator and OBJLoader2_buildWebWorkerCode are reached via prototype of OBJLoader2. Instance of OBJLoader2 is no longer created. Bugfix in webgl_loader_obj2_ww_parallels: - Fixed "Run Queue" started new run before first was completed. - Replaced Boolean with Validator
-
- 22 4月, 2017 1 次提交
-
-
由 Kai Salmen 提交于
Code related changes THREE.OBJLoader2.WWOBJLoader2: - Function _receiveWorkerMessage now uses a meshDescription that allows to override material or bufferGeometry or to completely disregard the mesh. THREE.OBJLoader2.WWOBJLoader2.LoadedMeshUserOverride was introduced for this. - Allow usage of multiple callbacks per callback type - THREE.OBJLoader2.WWOBJLoader2.PrepDataArrayBuffer and THREE.OBJLoader2.WWOBJLoader2.PrepDataFile require less mandatory parameters. Setters are introduced to handle optional things THREE.OBJLoader2.WWOBJLoader2Director: - Added per queue object callbacks - Global callbacks in prepareWorkers will be specified with new object OBJLoader2.WWOBJLoader2.PrepDataCallbacks. This object is also used in both PrepData objects for defining extra per model callbacks in addition to the global ones - Callbacks will be reset and reassigned for every run All: - Improve code quality, especially, replaced != or == with Boolean() or ! Boolean() where applicable - Improve logging and comments
-
- 25 3月, 2017 1 次提交
-
-
由 Kai Salmen 提交于
Improvements since initial external V1.0.0 release: OBJLoader2: - Removed need for making Parser public. OBJLoader2 has a build function for web worker code. - MeshCreator is now private to OBJLoader2 WWOBJLoader2: - Added checks for Blob and URL.createObjectURL - Worker code build: Removed need to adjust constructor and some new Object calls - Allow to properly set CORS to MTLLoader via WWOBJLoader2 and WWOBJLoader2Director - Now allows to enable/disable mesh streaming Example webgl_loader_obj - Added GridHelper - resources to load are now defined outside example classes Example webgl_loader_obj2_ww - Allow to clear all meshes in - Allows to load user OBJ/MTL files - Added GridHelper - resources to load are now defined outside example classes All Examples: - Created one page examples and tuned naming - All examples now use dat.gui - Removed namespace "THREE.examples" - Fixed comment typos - Fixed some code formatting issues - Fixed tabs in examples General: - Headers now carry references to development repository
-