Rob Taglang

Results 74 comments of Rob Taglang

It is to be omitted, but thanks for the correction @javagl.

Hi @easyfrog, can you attach your collada model and the outputted gltf?

@sbtron, currently this project doesn't support reading zipped COLLADA archives. > Is there a way to script this so that the ZAE is first unzipped then transcoded or does the...

Actually looking at it again - I think OpenCOLLADA does (in theory) support this via LibXML, so I may just need to flip a switch somewhere to enable it.

@rck1, are you using the 2.0 branch?

@rck1, can you attach the model that isn't converting correctly here?

Comparison with BoxAnimated whose rectangular faces are made of four point polygons. ### Before (19.7kb) ![image](https://user-images.githubusercontent.com/2489570/48438742-a1a3c800-e752-11e8-9f4b-3d4d5936926d.png) ### After (15.3kb) ![image](https://user-images.githubusercontent.com/2489570/48438667-7325ed00-e752-11e8-9d9b-57c0eac7a877.png)

> Does that reduce the number of triangles and points in the model? Only if those triangles/points are redundant/degenerate. As it is, this would only be applied for polygon conversion.

See the comment at: https://github.com/KhronosGroup/COLLADA2GLTF/blob/master/src/COLLADA2GLTFWriter.cpp#L633 ``` This approach is very efficient in terms of runtime, but there are more correct solutions that may be worth considering. Using a 3D variant...

Looking at it again, I think I would use [earcut](https://github.com/mapbox/earcut.hpp) to do this. Compute the plane that the polygon lies on -> project to 2D -> earcut -> map back...