- 10 7月, 2017 1 次提交
-
-
由 WestLangley 提交于
-
- 30 6月, 2017 1 次提交
-
-
由 Kai Salmen 提交于
-
- 24 6月, 2017 1 次提交
-
-
由 Kai Salmen 提交于
-
- 22 6月, 2017 1 次提交
-
-
由 Kai Salmen 提交于
- three.js #11422: OBJLoader2 and WWOBJLoader2 are able to load vertexColors when defined as: v x y z r g b - SmoothingGroups: activeSmoothingGroup is ensured to be a number (integer). "0" instead of "off" did not lead to detection of flat shading. - #8: OBJLoader2 sets the mesh name properly. Mesh name is taken from group name (g) if exists or object name (o). Fixed cut-off names (o, g, mtllib, usemtl) - #9: Fixed debug logging in MeshCreator related to Multi-Material creation
-
- 27 5月, 2017 1 次提交
-
-
由 Mr.doob 提交于
-
- 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
-