panorama-viewer/TODO.txt

22 lines
1.0 KiB
Plaintext
Raw Normal View History

2022-10-24 17:38:30 +00:00
Try replacing UV mapping with shader sampling based on view direction
2022-10-24 05:40:39 +00:00
Make the panning match the cursor
2022-10-24 05:47:59 +00:00
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.
2022-10-24 17:38:30 +00:00
Enforce a maximum zoom that matches the pixel density of the original image at its natural dimensions, normal to the camera
2022-10-24 05:47:59 +00:00
Choose a pleasant initial zoom
2022-10-24 17:38:30 +00:00
Allow pinch-zooming
2022-10-24 05:47:59 +00:00
Add data- attribute for minimum zoom
Add data- attribute for starting angle
2022-10-24 17:38:30 +00:00
Add data- attributes for canvas dimensions
2022-10-24 05:40:39 +00:00
Automatically create canvas for each marked <img> once it loads, and display:none the <img>
2022-10-24 17:38:30 +00:00
Set default canvas dimensions to match the size of the image
2022-10-24 05:40:39 +00:00
Add a class to the <canvas> for styling
Copy matrix funcs into code
Add licenses
Add instructions
Fix up code locality
Give the uniforms simpler names
Delete the defunct view matrix
Rename the model matrix as the view matrix, because that's really what it is.
2022-10-24 05:47:59 +00:00
Consider better names for the angle variables