Progressive View Final
Bwain| No Comments »I’m calculating duplicate scanlines. They remain blank, and keep updating in an infinite loop.
The view update algorithm which would fix this, and ironcally, is simpler than both methods I’ve implemented so far is the following:
- Calculate new scanline positions
- Find all old scanlines which still have positions in the new view and copy them
- Fill in all blank scanlines
This works for panning and scaling, pity I didn’t come up with this sooner.
Yup, that worked. Do the zoomed view, window resizing, then we’re done. We’re fully functional with zooming and panning at all scales. Final Checklist:
- Have to handle recooking, image size changes.
- Have the Buffer correctly handle multiple inputs. This is a bit more complicated than it sounds. When tile based, the different Buffer images can always be properly filled. If they’re view dependent, they can only be filled when being viewed.
- Handle display window resizing.
- When the scanlines are initialized, one channel is shifted in ‘y’. Don’t know why….
FINISHED…. Unbelievable…. Hope not to have to go back and fix that later….
Now have to link the .png library… yuck



