Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-07-25 11:33:01



Reply to topic  [ 5 posts ] 
OpenSim Maptiles not correct 
Author Message

Joined: 2024-07-10 11:30:50
Posts: 7
Reply with quote
Seems maptiles of regions larger than 256x256 do not show correctly. Not sure how the map is built, but you can request all tiles and zoom levels from robust directly, which makes building the map easy and fast. Not a big deal, just looks a bit weird :)


2024-08-05 14:47:56
Profile

Joined: 2009-03-17 18:42:51
Posts: 6021
Reply with quote
Not a bug.

Just unsupported, sorry...

The "var region" stuff is an immense collection of dirty hacks, and with pretty much no documentation about it.

I will not spend time rewriting the whole world map code in the viewer to make things "look nice" with this ugly "feature". I have more important code and features to attend to.


2024-08-05 14:55:57
Profile WWW

Joined: 2024-07-10 11:30:50
Posts: 7
Reply with quote
Apart from the var regions the map appears to be very slow to load the tiles, especially when zoomed out. It looks like it's loading just every single region instead of the zoom levels though. The map- levels can be requested from robust directly, which would speed up loading as it doesn't have to load each regions tile, just the zoom level specific one. Something for the future I suppose. I have some javascript code for that you can steal if you get around to it :)

I agree that vars are a bit of a hack at times, especially in regards to scaling various features. Documentation is lacking, that is true and unfortunate. What parts are missing that would help with var region support in the future? I can certainly dig in and amend documentation, happy to help! :)


2024-08-05 15:10:54
Profile

Joined: 2009-03-17 18:42:51
Posts: 6021
Reply with quote
VincentSylvester wrote:
Apart from the var regions the map appears to be very slow to load the tiles
They load just fine and super-fast in SL...

If you did not enable the "Web map tiles" in the networking advanced menu (or if the grid does not serve map tiles via a HTTP capability), you might be the victim of the well known UDP max bandwidth bug plaguing OpenSim like forever (if you set it at 1024Kbps or more, the sim server starts slowing down everything); just lower it to 800Kbps or so, and yes, it will be slow...


2024-08-05 15:16:35
Profile WWW

Joined: 2024-07-10 11:30:50
Posts: 7
Reply with quote
Oh I did not know that. Thanks. I disabled that and now they load a lot faster and seem to also be the correct scale on vars, nice!

Huh two birds with one stone. Thank you!


2024-08-05 15:24:33
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.