hoverinc/ray-tracing-renderer

View on GitHub
scenes/sample-models/dev.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Path Tracing - Sample Models</title>

  <script src="/node_modules/three/build/three.js"></script>
  <script src="/node_modules/three/examples/js/loaders/GLTFLoader.js"></script>
  <script src="/node_modules/three/examples/js/controls/OrbitControls.js"></script>
  <script src="/node_modules/three/examples/js/loaders/RGBELoader.js"></script>
  <script src="/node_modules/stats.js/build/stats.min.js"></script>
  <script src="/node_modules/dat.gui/build/dat.gui.min.js"></script>
  <script src="/build/RayTracingRenderer.js"></script>

  <style>
    html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
    }

    canvas {
      display: block;
    }
  </style>
</head>

<body>
  <script src="/scenes/sample-models/main.js"></script>
</body>
</html>