The current level switching algorithm for VTs keeps a certain level, until the resolution for the next one has been reached, and then switches to that one. This leads to repeated blur-unblurr views while zooming in.
Reversing this mechanism - keeping a certain level until it's original resolution is reached, and then switching to the next one, initially showing it smaller than original - would widely avoid that blurs and result in much smoother zooms.
maxim
Feature request: Reversed VT level switching
-
- Posts: 1048
- Joined: 19.10.2003
- With us: 21 years 1 month
- Location: Germantown, Ohio - USA
Maxim,
I don't know if it's of any help or not, but I set the TileSize value (in the CTX file) at 1/2 of the actual tile texture size. I did this at Selden's suggestion, and I have not noticed any of the blurring you mention.
Just a thought...
Take care, Bob
I don't know if it's of any help or not, but I set the TileSize value (in the CTX file) at 1/2 of the actual tile texture size. I did this at Selden's suggestion, and I have not noticed any of the blurring you mention.
Just a thought...
Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
maxim wrote:BobIf it is so simple, wouldn't it be cleaner then to divide the tile size setting by two inside the code (well documented of course) rather than in the ctx-definition?
It really is that simple . . . In the code, the level of detail is rounded down rather than up, resulting in slightly blurrier but better performing virtual textures. Because rounding the LOD up would result in so many more texture tiles getting loaded, I'm reluctant to change it even though it's more correct. Perhaps there should be a config file setting for virtual texture detail? I'm going to optimize the way that virtual textures are handled in 1.3.3; I'll probably wait until then before I adjust anything.
--Chris