Git Product home page Git Product logo

Comments (8)

Avnerus avatar Avnerus commented on May 30, 2024

Hi Eytan,
You can store the tileset in any simple web storage or locally in your public folder when developing.
Note that when exporting from RealityCapture, we recommend to compress the tileset using Draco and Basis compression with the 3d-tiles-validator tool. There are instructions on our End-to-End guide under 8. SHARING YOUR MODEL.
On another note, you have previously asked about layering the model over maps. We now added an option to preserve the WGS84 geo coordinates and also project to Web Mercator so you can use the tileset with other mapping providers as shown in this new example.

from three-loader-3dtiles.

Eytanm avatar Eytanm commented on May 30, 2024

this new update with maintaing the WGS84 is amazing! thanks:)
regarding the pipeline for compression, do I need to validate? and then run the python for compression?
during validation process I keep getting this error:
Validating filepath - 0 sub tiles . √ succeeds for valid tileset . √ returns error message when the geometricError is not defined . √ returns error message when asset.version property is missing F × returns error message when asset.version property value is incorrect - E**xpected 'Tileset version must be 1.0 or 2.0.0-alpha.0. Tileset version provided: 0.0' to be 'Tileset version must be 1.0. Tileset version provided: 0.0'.**

what am I missing?
Thanks Avner!!!

from three-loader-3dtiles.

Avnerus avatar Avnerus commented on May 30, 2024

Ah there is no need to run the validator, only the compression.
Also make sure you have installed the dwebp and basisu binaries listed here.

from three-loader-3dtiles.

Eytanm avatar Eytanm commented on May 30, 2024

ok, I'm struggling with the validators/tools..
installed the binaries, now I ran this:
node bin/3d-tiles-tools.js compressB3dm -i tile.b3dm -o tile_out.b3dm --options --basis
I get this Error: Cannot find module 'cesium'
Where should I plug-in here my files from the LOD from RC?

A bit confused:/

Thanks for the help:)

from three-loader-3dtiles.

Avnerus avatar Avnerus commented on May 30, 2024
  1. Make sure you run npm install (instructions here)
  2. You don't need to run that compressB3dm command separately. The python script runs it for you for each file in the folder that you provide.

from three-loader-3dtiles.

Eytanm avatar Eytanm commented on May 30, 2024

Hi, got a bit stuck again in running the compression python script - getting this message:
$ python compress-folder.py --concurrency 10 --basis c:/eytan/input/LOD_pasha c:/eytan/output/ Running pool with 10 workers
Do you know what is the meaning of this message: Running pool with 10 workers?
also - a general question: using the Cesium ION pipeline seems easier (uploading the file directly from RC..), does this pipeline include compression? would you recommend cesium ion?
Thanks!!!:)
Eytan

from three-loader-3dtiles.

Avnerus avatar Avnerus commented on May 30, 2024

Hi!
Sorry for the delayed reply, I am now in a period of low availability.
The output you mentioned is normal, so you should start seeing the new files being formed at the destination folder.
You could try to use the -v option to get more output when the script is running. If your machine does not have 10 CPU cores, you should decrease the --concurrency option to the number of cores you have available.

The Cesium ION service is a good option as well and choosing one or another would be on a case-by-case basis. On our captures, we got some better results using RealityCapture's tiler and benefited from having the tiles self-hosted. ION uses Draco compression but not Basis afaik. Cesium are also improving and upgrading their service all of the time, as well as being more likely to support new 3D Tiles spec features.

Hope you are able to sort it out!

/Avner

from three-loader-3dtiles.

Avnerus avatar Avnerus commented on May 30, 2024

Closing due to inactivity

from three-loader-3dtiles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.