Coder Social home page Coder Social logo

gltf-viewer-rs's People

Contributors

adrien-ben avatar expenses avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gltf-viewer-rs's Issues

Use gltf sampler

I just noticed I use a generic sampler for all textures instead of the sampler described in the gltf files

No support for large textures

I was thinking about using this viewer for very large files, but large textures are currently broken.
There exists an upstream issue with the gltf crate: gltf-rs/gltf#388

I have opened the issue here both so you are aware of the issue and have context, and to have a place to follow up if the API has to be adapted.

Image Layout Problem

When using RenderDoc I see 54 (!) warning and errors saying the image layout should be SHADER_READ_ONLY but is TRANSFER_DST ...

Texture's count is limited to 64 per model

I chose to handle textures by feeling a big array of 64 textures when loading the model. If a model contains more than that it is still loaded but only the 64 first textures aur loaded which results in incorrect shading.

I need to find a way to handle all textures.

Ideas:

  • Instead of one descriptor set containing the 64 textures use several of them (still up to 64 textures or the minimum required by Vulkan's spec) and batch draw calls.
    • It still keeps the descriptor switching to a reasonnable amount

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.