Convert OBJ to Cesium 3D Tiles
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

I have 4 very large OBJ files. (100MB each) They have companion JPG and MTL files as well.

I can view them in desktop viewing apps but I want to stream them on the web in cesium using Cesium 3D Tiles. https://github.com/AnalyticalGraphicsInc/3d-tiles

Please provide sample application with demonstrated ability to load at least 1 of the files for streaming in 3D Tiles on Cesium.

Here is zip of one of the OBJ files with MTL and JPG included:
https://www.dropbox.com/s/uigrs0d06jo1cnf/Tile1.zip?dl=0

I will tip additionally for a good solution, and even more tip for great explanation and/or creating a solution that will work generically for all of the OBJ files.

Crowdsource coding tasks.

1 Solution


there's actually a great github project created by the cesium team that does this already.

https://github.com/AnalyticalGraphicsInc/obj2gltf

you can install node and npm on your machine and follow instructions on the repository it is straight forward and works with OBJ and MTL. If you want I can create an app or a script to actually to this process for you.

Cheers.

That would be awesome if you could do that! Basically I believe the process will be: Run obj2gltf, then take the gltf and create 3D tiles out of that (probably using b3dm) -- It should be straightforward but i wasnt able to get anything to appear when i tried. They also have https://github.com/AnalyticalGraphicsInc/gltf-pipeline which you can use to streamline the gltf, and also https://github.com/AnalyticalGraphicsInc/3d-tiles-tools for doing some additional work with the 3D tiles.
Dakrin 2 months ago