GithubHelp home page GithubHelp logo

orillusion / orillusion-webgpu-samples Goto Github PK

View Code? Open in Web Editor NEW
237.0 237.0 68.0 1.4 MB

Basic WebGPU samples from Orillusion

Home Page: https://orillusion.github.io/orillusion-webgpu-samples/

License: Other

HTML 2.35% TypeScript 97.08% JavaScript 0.43% Shell 0.13%
webgpu

orillusion-webgpu-samples's People

Contributors

jingwenbai avatar leonyuanyao avatar lizhiyu-me avatar lslzl3000 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  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  avatar  avatar  avatar

orillusion-webgpu-samples's Issues

Example incompatible with Firefox Nightly

Cause error when running example in firefox nightly.

It output following error message:

Uncaught (in promise) TypeError: GPUDevice.createRenderPipelineAsync: 'layout' member of GPUPipelineDescriptorBase is not an object.
    initPipeline basicTriangleMsaa.ts:57
    run basicTriangleMsaa.ts:87

FIrefox Nightly Version: 105.0a1 (2022-08-03) (64 位)
System: MacOS Monterey

示例中的一些问题

basic lights示例中,我注释掉点光源相关的代码时,并没有看到平行光所产生的的效果。

显存占用会随时间增加逐渐耗尽

cubesOffsets等几个立方体绘制显存占用会随时间增加耗尽后,会继续内存。
应该是webgpu调度问题吧,请教下我们自己能控制gpu显存释放么
显存占用

strange loss of gpu support when consuming landing page from url other than localhost

I'm using the examples to learn webgpu.
One observation is that if i change vite to host on non-localhost via 'vite --host 0.0.0.0', webgpu support is lost when i use the ip url rather than localhost:3000. If i use localhost:3000, then webgpu support is present.
Even when the browser is on the same system. I wanted to use this these examples to test webgpu from firefox/chrome running on a few different linux distributions.

I'll look deeper into where there may be any logic that distinguishes localhost in some way.

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.