4aef572a44
* Fixed an issue with HDRIs not generating proper PMREMs over multiple viewer instances * WIP on makign the world tree multiple instanced * The WorldTree is no longer static. Each viewer has it's own instance and it hands it over to whoever needs it. * Fixed an issue with filtering and the new non-static tree. Also removed the 'root' key from the NodeData structure since it's not needed * Added an guard when building batches for situations where all render views have invalid geometries. This generally means there is somethign wrong with the stream itself * multi-viewer css fixes --------- Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com>
38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Vite App</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
</head>
|
|
<body>
|
|
<div class="w-screen h-screen">
|
|
<div id="renderer" class="absolute w-full h-full"></div>
|
|
<div
|
|
id="renderer-controls"
|
|
class="relative overflow-y-scroll h-full pointer-events-none w-auto"
|
|
></div>
|
|
</div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
<!-- <div class="w-screen h-screen flex flex-col" id="multi-root">
|
|
<div class="h-1/2">
|
|
<div class="absolute w-full h-1/2" id="renderer0"></div>
|
|
<div
|
|
id="renderer0-controls"
|
|
class="relative overflow-y-scroll h-full pointer-events-none w-auto"
|
|
></div>
|
|
</div>
|
|
<div class="border-t-2 border-blue-500 h-1/2">
|
|
<div class="absolute w-full h-1/2" id="renderer1"></div>
|
|
<div
|
|
id="renderer1-controls"
|
|
class="relative overflow-y-scroll h-full pointer-events-none w-auto"
|
|
></div>
|
|
</div>
|
|
</div>
|
|
<script type="module" src="/src/main-multi.ts"></script> -->
|
|
</body>
|
|
</html>
|