Home

Awesome

Enterprise PBR Sample Renderer (Demo Viewer)

<!-- | [Validation Report](https://dassaultsystemes-technology.github.io/dspbr-pt/report/)) -->

A WebGL2 GPU path-tracer that runs in your browser.<br> Features physical materials by implementing the Enterprise PBR Shading Model (DSPBR)

Demo Viewer (glTF drag&drop)

Minimal Demo [ Code ]

Features

<!-- * [Validated](https://dassaultsystemes-technology.github.io/dspbr-pt/report/) against the official Dassault Systèmes Stellar renderer for the available set of validation scenes. Currently, this only covers a subset of the material features. Please see below for more info on the [validation suite](#Validation). -->

Development

# yarn is mandatory as this project uses yarn workspaces
yarn install

# Builds all packages
yarn build

# Launch the demo viewer with HMR enabled -> auto update on code change during development
yarn run dev
<!-- ## Validation The Enterprise PBR Specification repository provides a [*Validation Suite*](https://github.com/DassaultSystemes-Technology/EnterprisePBRShadingModel/tree/master/validation). The suite is a collection of lightweight test scenes accompanied by HDR reference renderings (generated by the Dassault Systèmes Stellar renderer). It further provides scripts to compare the output of a custom render engine to the provided grund-truth images. The suite generates an overview of the comparison result as HTML report. The report for the current state of dspbr-pt can be found [here](https://dassaultsystemes-technology.github.io/dspbr-pt/report/) ```bash # Clones the Enterprise PBR repo to the current working dir, runs the validation renderings and generates a report at ./validation/report/index.html npm run validation ``` ---> <!-- ## CLI Renderer Command-line rendering is available via headless electron ```bash # Builds the cli renderer to ./dist npm run build-cli # Renders an image via command-line npm run render -- -- <scene_path> --ibl <hdr_path> --res <width> <height> --samples <num_samples> ``` ```bash # Example # Writes output image to ./output.png npm run render -- -- "./assets/scene.gltf" --ibl "./assets/ibl.hdr" -r 512 512 -s 32 ``` -->

License