ebeaufay / threedtiles

3DTiles viewer for three.js
MIT License
300 stars 33 forks source link

Wrong transformation? #13

Closed laraduarte closed 1 year ago

laraduarte commented 1 year ago

Hi,

I'm having issues rendering a model after exporting IFC file to 3dtiles. In the Cesium the tileset is correct.

The issue seems to be when I export by type instead of by group but then I have no colours on the model.

What can I do to fix this?

Tileset tiles.zip

Cesium image

threedTiles (export by type) image

threedTiles (export by group) image

ebeaufay commented 1 year ago

Hi Lara,

What application are you referring to when you say you export by group or type?

Emeric

On Fri, Mar 3, 2023, 14:19 laraduarte @.***> wrote:

Hi,

I'm having issues rendering a model after exporting IFC file to 3dtiles. In the Cesium the tileset is correct.

The issue seems to be when I export by type instead of by group but then I have no colours on the model.

What can I do to fix this?

Tileset tiles.zip https://github.com/ebeaufay/threedtiles/files/10882279/tiles.zip

Cesium [image: image] https://user-images.githubusercontent.com/1926934/222725243-6e117c05-88e3-4ffb-b714-f86b1a66b1f8.png

threedTiles (export by type) [image: image] https://user-images.githubusercontent.com/1926934/222725312-02d0d24d-d0ba-405b-b8f8-746e72aa2da3.png

threedTiles (export by group) [image: image] https://user-images.githubusercontent.com/1926934/222728173-eb009c76-6b42-4367-bc79-8a39d536a32d.png

— Reply to this email directly, view it on GitHub https://github.com/ebeaufay/threedtiles/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBD5DCLQCACNJM2BGXP4TDW2HVUPANCNFSM6AAAAAAVOTK4YY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

laraduarte commented 1 year ago

Hi Emeric, py3dtilers

ebeaufay commented 1 year ago

I see.

Please understand I cannot give free consultancy for a product that competes with mine.

Sincerely,

Emeric

On Fri, Mar 3, 2023, 14:56 laraduarte @.***> wrote:

Hi Emeric, py3dtilers

— Reply to this email directly, view it on GitHub https://github.com/ebeaufay/threedtiles/issues/13#issuecomment-1453567293, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBD5DHW3JQXPTGHK2XGKUTW2HZ7RANCNFSM6AAAAAAVOTK4YY . You are receiving this because you commented.Message ID: @.***>

laraduarte commented 1 year ago

Hello again,

Sure I'm not asking you to do it, just give awareness that models like the one I attached (zip file) do not load properly with your plugin :)

If this is something you want to investigate or not it's up to you :)

Lara

ebeaufay commented 1 year ago

The problem is perhaps with the gltf decoder. I use the gltf decoder from threejs while cesium uses their own.

However, threejs might argue the problem is with the tiles themselves. To fix this you'd need to extract the gltf from a tile and look inside to see what py3dtilers produces.