Coder Social home page Coder Social logo

Comments (9)

pjcozzi avatar pjcozzi commented on May 19, 2024

We'll also want to be able to support LOD where instanced models are rendered when zoomed in close, and billboards are rendered when zoomed out. I think the right tile.json layout (e.g., with i3dm tiles at the leafs and vector tiles with billboards in non-leafs) will work.

from 3d-tiles.

lilleyse avatar lilleyse commented on May 19, 2024

Updated batchTableLength to be the length in bytes rather than the numbers of elements.

from 3d-tiles.

lilleyse avatar lilleyse commented on May 19, 2024

Some questions:

  • glTF can be embedded binary or a url. Should Batched3DModel also allow both for consistency? Should Instanced3DModel only allow a url?
  • Naming conventions: usually we use length to specify byte length but instancesLength refers to the number of instances. Should we use byteLength instead?

from 3d-tiles.

pjcozzi avatar pjcozzi commented on May 19, 2024

+1 on byteLength. We should also rename it for b3dm.

from 3d-tiles.

mramato avatar mramato commented on May 19, 2024

Would we be able to specify any kind of scaling factor for each instance as part of the tile, or would that have to be done client side after-the fact? For example, I may have 100k trees that all use the same model but each tree's height and radius might be different based on their size and age. It would be convenient to bake that information into the tile rather than have to store the meta-data and do extra work to scale them every time the tile is loaded.

from 3d-tiles.

pjcozzi avatar pjcozzi commented on May 19, 2024

Yes, scale will be a semantic in the Batch Table just like, for example, b3dm has per-building heights.

from 3d-tiles.

pjcozzi avatar pjcozzi commented on May 19, 2024

from 3d-tiles.

pjcozzi avatar pjcozzi commented on May 19, 2024
  • Composite spec: #31

from 3d-tiles.

pjcozzi avatar pjcozzi commented on May 19, 2024

glTF can be embedded binary or a url. Should Batched3DModel also allow both for consistency? Should Instanced3DModel only allow a url?

Discussed offline with @lilleyse. No changes here. b3dm embeds binary glTF since it is unlikely that tiles would reuse the same model; i3dm has the uri option to share models across tiles and the embed option for a single tile use case.

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.