Code Monkey home page Code Monkey logo

web-tracing's Introduction

Web-tracing

Path tracer à embarquer dans une application web. Le projet n'est pas prêt pour une utilisation en production.

Web-tracing est composé :

  • du path tracer sous forme d'un module javascript, le coeur du projet, wasm-module

Contribution

Outils requis pour compiler le projet :

Commandes

wasm-module

Le module utilisable directement depuis le navigateur ; écrit en Rust et compilé en Webassembly.

# Construire le module 
yarn build:wasm-module

# Tester le module
yarn test:wasm-module

viewer

Une GUI pour tester le path-tracer. C'est une application web compilée avec webpack. Une fois lancée, il faut se rendre sur http://localhost:8080.

# Construire le viewer
yarn build:viewer

# Construire et lancer le viewer.
yarn run:viewer

Utilitaires

# -- Style --
# Reformater le code Rust (avec rust-fmt)
yarn fmt

# -- Bloat --
# Afficher les plus grosses fonctions dans wasm-module
yarn bloat:functions
yarn bloat:functions -n 100 # pour en afficher 100

# Afficher les plus grosses dépendances dans wasm-module
yarn bloat:deps
yarn bloat:deps -n 100 # pour en afficher 100

web-tracing's People

Contributors

fanaen avatar oktomus avatar

Stargazers

 avatar

Watchers

 avatar  avatar

web-tracing's Issues

Use binary for worker-modules messages

wasm-module should be handled with rust.
JS should be used only to send serialized messages from the module to the workers.

A new wasm will be required. Refactor if needed.

Add support for triangles

  • Retrieve meshes from aframe
  • Add meshes in the rendering context (only once if possible)
  • Read and test for meshes while rendering
  • Render triangles

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.