This repository hosts the specification for Scene Layers which are containers for arbitrarily large amounts of geographic data. The delivery and persistence model for Scene Layers, referred to as Indexed 3d Scene Layer (I3S) and Scene Layer Package (SLPK) respectively, are specified.
Hi, I am trying to convert a slpk( i3s 1.7 ) file to .obj file. The geometries seems correct, but the texture mapping totally wrong, so are there some different between slpk and obj file in uv coordinate ? and how can i convert it correct?
What I do like this:
Read All leaf nodes in slpk with it's own schema.
Write v, vt, vn and f into obj file
Copy jpg texture in each node, and create mtl file.
I have already do this with 3D Object slpk( with uvRegion ) and Integrated Mesh slpk( without uvRegion ).
Besides, I have tried calculate new uv in 3D Object slpk, like
Hi, I am trying to convert a slpk( i3s 1.7 ) file to .obj file. The geometries seems correct, but the texture mapping totally wrong, so are there some different between slpk and obj file in uv coordinate ? and how can i convert it correct?
What I do like this:
I have already do this with 3D Object slpk( with uvRegion ) and Integrated Mesh slpk( without uvRegion ).
Besides, I have tried calculate new uv in 3D Object slpk, like
It should be like this![image](https://user-images.githubusercontent.com/49191632/154909963-a6aab786-f54d-49b1-b33f-03df5ab78b6a.png)
It showld be like this![image](https://user-images.githubusercontent.com/49191632/154910197-a15759cb-8f90-4072-895b-e58b776cef5b.png)