GithubHelp home page GithubHelp logo

Comments (7)

lilleyse avatar lilleyse commented on July 19, 2024

Along the same lines as you mentioned, I think enforcing gzip compression is too restrictive for the spec.

from 3d-tiles.

mramato avatar mramato commented on July 19, 2024

Along the same lines as you mentioned, I think enforcing gzip compression is too restrictive for the spec.

@lilleyse the goal here would be to make 3D Tiles tilesets easily interchangeable. The question we need to answer is "Should a 3D Tiles server be able to serve any 3D tileset?" If the answer is yes, then it has to be part of the spec (or somehow have a server-side component that informs the server regarding compression). If the answer is no, then it will be impossible to serve a tileset without knowing additional information not available in the tileset itself.

from 3d-tiles.

jbo023 avatar jbo023 commented on July 19, 2024

We would prefer that gzipping or not falls in the responsibilities of the webserver admin.

Our workflow always creates uncompressed data files (b3dm, terrain, quantized mesh).
This makes deploying the files to a default webserver easier. (You don't have to set the gzip header in the apache config).

If gzipping makes sense we activate dynamic gzipping on the webserver or create a static gzipped dataset and set the header in the apache configuration.

from 3d-tiles.

pjcozzi avatar pjcozzi commented on July 19, 2024

Thanks for the input, @jbo023.

from 3d-tiles.

pjcozzi avatar pjcozzi commented on July 19, 2024

A comment from https://groups.google.com/forum/#!topic/cesium-dev/EPjCzYgmIxo

there are multiple issues that i discovered when using my own http server rather than the server.js supplied.

  1. the encoding type for the b3dm and pnt files need to be 'gzip'
    otherwise nothing is displayed and no error..... very very painful.

from 3d-tiles.

pjcozzi avatar pjcozzi commented on July 19, 2024

Caught another user: #87 (comment)

from 3d-tiles.

pjcozzi avatar pjcozzi commented on July 19, 2024

Given that this has confused several users - including me at times - and that some mesh compression algorithms do not benefit from gzip (for example, see OpenCTM here), we are not going to require tiles be gzipped as part of the spec.

The Cesium sample data will not be served gzipped so it is easy for users to inspect. Users are free to serve gzipped or not in their own server implementations. We can add a comment to the spec that tiles may be served gzipped.

I'm going to make this change soon so please comment ASAP if there are any concerns.

from 3d-tiles.

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.