Resize the viewer and choose a new mapping
This commit is contained in:
parent
bf1856c84c
commit
01d421d47b
4
TODO.txt
4
TODO.txt
@ -1,4 +1,6 @@
|
|||||||
Try replacing UV mapping with shader sampling based on view direction
|
Make parallels denser at the poles where it makes a bigger difference
|
||||||
|
The south pole looks really good with very dense vertices.
|
||||||
|
The parallels should be the circles where the sphere would intersect with a series of concentric, evenly spaced cylinders.
|
||||||
Make the panning match the cursor
|
Make the panning match the cursor
|
||||||
Enforce a minimum zoom that will keep the edges of the sphere from showing
|
Enforce a minimum zoom that will keep the edges of the sphere from showing
|
||||||
This probably just needs simple math with the aspect and/or the viewport's diagonal length.
|
This probably just needs simple math with the aspect and/or the viewport's diagonal length.
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Panorama Viewer</h1>
|
<h1>Panorama Viewer</h1>
|
||||||
<canvas id="viewer" width="800" height="300" style="border: 1px solid black;"></canvas>
|
<canvas id="viewer" width="800" height="800" style="border: 1px solid black;"></canvas>
|
||||||
<img id="image" height="400" width="800" src="Provo_River_Falls_360.JPG">
|
<img id="image" height="400" width="800" src="Provo_River_Falls_360.JPG">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user