Coder Social home page Coder Social logo

pardofelis-pipeline's Introduction

Pardofelis Pipeline

Pardofelis - A tiny deferred rendering pipeline based on WebGPU. (Bachelor dissertation project)

Live demo: (current version: v1.3.1)

The server is located in mainland China with limited bandwidth, so assets loading can take many seconds.

screenshot

Recommended Browser

We develop and test this project on a Google Chrome browser. You can get the Canary version of Chrome at its website. A recommended version of Google Chrome Canary is any not lower than 114.0.5735.6.

chrome_canary_webgpu

Before open the live demo or a demo running locally, WebGPU should be enabled in your browser. For a Google Chrome Canary browser, you can find "Unsafe WebGPU" item in chrome://flags page. Then set this item to "Enabled" and restart the browser.

Google Chrome Canary on an Android mobile device is also supported. The same operation to enable WebGPU as above is required.

Build & Run

Pardofelis Pipeline is created by a Vue template. To configure the project, NodeJS and NPM are required.

Prepare Dependencies

Run npm install on project root. NPM will fetch all dependencies to node_modules folder.

Run a Demo

Run npm run dev on project root. You will find a URL in the terminal like http://localhost:5173/. Then append demo/forward to it for a forward demo page or demo/deferred for a deferred one.

We also provide a live demo with details above.

Build

Run npm run build on project root. Built files can be found in dist folder.

Q&A

Blank page with no text

May cause by a wrong URL. Check if the URL is one of demo/forward or demo/deferred.

Blank page with text "WebGPU is not supported!"

Your browser doesn't support WebGPU API currently. Try upgrade the browser or check if proper development flag is set.

"Loading Assets..." never ends

  • Network connection is slow or broken. Check network connectivity.
  • Something is wrong with the pipeline. Collect error message in your browser's console and contact us.
  • For a Firefox browser, it may mean WebGPU is not supported.

Reference

Resource

pardofelis-pipeline's People

Contributors

kskun avatar tsukimi125 avatar

Stargazers

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

Watchers

 avatar

Forkers

frankzh-1

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.