-
Change obj of world coordinates into obj of local coordinates obj, glb and it's world center point by json
-
Used Cesium obj2gltf
-
Change obj's coordinates system by using python module
- this module's trasforming coords system completes quite fast even though it use's
geodesicwhich is quite slow in performing speed because of using python's multiprocessing. - this performs fast especially when transforming big size of obj. It is more faster when converting small amount of models with big size more than transforming lots of models with small size.
- this module's trasforming coords system completes quite fast even though it use's
You must prepare python environment, and then run node.
- Python >=3.7, <3.8
- Due to using of bpy 2.82.1
pip install -r requirements.txt
npm i
node ${workspaceFolder}\\bin\\customObj2gltf.js convert --i=${input path} --o=${output path} --e=${coordinates}
- it can convert multiple obj models in the input path
node ${workspaceFolder}\\bin\\customObj2gltf.js convert --i='F:/obj/input' --o='F:/obj/output' --e='epsg:5186'
-
μλ μ’νμ objλ₯Ό λ‘컬 λͺ¨λΈλ‘ λ³νμν¨ ν glbμ ν΄λΉ λͺ¨λΈμ μλ μ€μ¬μ μ json νμΌλ‘ export ν¨
-
Used Cesium obj2gltf
-
ν΄λΉ νμ΄μ¬ λͺ¨λ λ΄ μ’νκ³λ₯Ό λ³ννλ ν¨μλ μμ μ©λμ obj μ¬λ¬κ°λ₯Ό λ³ννλ κ² λ³΄λ€ μ μ μμ¬λ ν° λͺ¨λΈμ objλ₯Ό λ³νν λ λΉ λ₯Έ μ’ν λ³ν μλλ₯Ό λ. μ΄λ νμ΄μ¬μ multiprocessing μ ν΅ν΄ μλ κ°μ . (μμ μ©λμ λ§μ objλ₯Ό νλ²μ λ³ννλ μ’νκ³ λ³νν¨μλ μΆν μ¬μ λ‘μΈ λ κ°λ° μμ )
You must prepare python environment, and then run node.
- Python >=3.7, <3.8
- bpy 2.82.1 λ²μ μ μ¬μ©νκ³ μκΈ° λλ¬Έ
pip install -r requirements.txt
npm i
node ${workspaceFolder}\\bin\\customObj2gltf.js convert --i=${input path} --o=${output path} --e=${coordinates}
- input κ²½λ‘ λ΄ μ¬λ¬ objλͺ¨λΈλ€μ μΌκ΄μ μΌλ‘ λ³νν μ μμ
node ${workspaceFolder}\\bin\\customObj2gltf.js convert --i='F:/obj/input' --o='F:/obj/output' --e='epsg:5186'