This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
Releases: arcplus/ObjConvert
Releases · arcplus/ObjConvert
obj splits performance
v1.1.2 obj splits performance
obj file encoding and split obj
- add encoding support for obj and mtl files
- add an option to split obj model to multi models, so 1 obj can generate multi tiles for better responsiveness.
support more than 4 vertices for faces and generate MetallicRoughness material
- Generate MetallicRoughness material, model is brighter now
- Support face with more than 4 vertices
- Fix "Material is incompatible with mesh primitive: Texture binding needs 'TEXCOORD_0' attribute."
fix a gltf invalid problem
- object group's faces may have different mats, which causes gltf file to be invalid. Now mat grouped faces will be given a batchid.
- generate tileset.json for every b3dm file in merging, so a single b3dm file can be loaded in cesium.
- change some api, like that lod now is a method parameter for
TileConverter
.
fix some obj parse problems
- fix obj mat
Ks
as double; support some faces have uvs but others not have - fix empty array problem when there is no texture.
- support 4 vertex face, given default color if
Ka
andKd
not presented, if color value is greater than 1, scale it with max value. - fix transparency problem if dissolve value (
d
) set to 0
basic version release
Convert to:
- gltf/glb
- 3d tiles(b3dm) with batch ids
Obj file limitations:
- one mtl file
- all faces should be triangles already
- only convert ka, kd, map_ka, map_kd, Ns, d material info