Re: [vassalengine-devel] tiled progressive scaling test
Brought to you by:
rodneykinney,
uckelman
From: Joel U. <uck...@no...> - 2007-09-07 11:10:40
|
Thus spake "Brent Easton": > Hi Joel, > > That is a vast improvement and completely usable in my opinion. I do have a r > esaonably spec'd system - 2GHz processor with 1Gb Ram. > > When I very first start scrolling into a new area, there is a lag and a white > strip, but then everything moves smoothly fpr the rest of the scroll. It is > not too annoying as is is just the once, whereas the last version had stripin > g during the entire scroll. I think I know the reason for that: I'm prefetching in the direction of movement only, which means that nothing is prefetched until movement starts. You've scrolled far enough between the last stationary repaint and the first repaint after moving that you've exposed new tiles before any prefetch requests can be made. So, I guess I need two prefetch modes: prefectch in the direction of travel when moving, and prefetch a one-tile-wide border when stationary. I'll try that out this evening. > The Pre-fetch would need to be a global preference that applies accross all m > odules. It could be a Slider that slides from 0x up to 10x. > > Perhaps the tile size could be adjustable in the same way and let people play > with it themselves. > > Once we get feedback from a lot of people on different systems, then perhaps > this could be simplified to a slider that slides from 'low-spec' to 'hi-spec' > and changes both? At what point do you think we should do that? > Depends on what we find - I am very interested to see how changing tile size > affects things also. I briefly tried chaning the tile size to 512x512 on my laptop last night; it didn't make a noticeable performance difference. I think I'll also add two sliders to the demo tonight, one for prefetch distance and one for tile size. Then we can play with the settings. -- J. |