Getting map images? - SLUniverse Forums
 
Navigation » SLUniverse Forums > Development Discussion and Support > Scripting » Getting map images?


Scripting Discuss scripting for SL and other platforms

Reply
 
LinkBack Thread Tools Display Modes
Old 10-14-2009, 07:51 AM   #1 (permalink)
Senior Member
 
Similar McMillan's Avatar
Eels?
 
Join Date: Aug 2007
Posts: 115
SL Join Date: 2007-02-06
Business: SMM
Getting map images?

Been searching quite a bit, but I can't find anything, so I'm not sure it's even doable with a script. I have seen a few scripted items that appeared to do it, though, so ...

I sometimes use a somewhat old bot to get sculpt maps of sim terrain. That part works well and it also gets the overhead image from the SL map so you can texture the sculpt and get some idea what is where, but this is only 256x256 pixels, so it gets very pixelated even when the sculpt is small.
I have the impression that the map now has better images, so I wondered how to get those instead.

I can't find anything on the LSL wikis that sounds like it has anything to do with such functions, but maybe I'm looking in the wrong places.
__________________
"Madcow Cosmos: I have learned many things from sl, but I think the most important one is that women are natural light sources"
Similar McMillan is offline   Reply With Quote
Old 10-14-2009, 08:08 AM   #2 (permalink)
Fortuna vitrea est
 
Tyche Shepherd's Avatar
enjoying the victor's spoils
 
Join Date: Aug 2007
Location: UK
Posts: 5,470
My Mood:
SL Join Date: 26th April 2007

Awards: 1
Best Anglo-Saxon High Horse Reference 
You can use my region database at Second Life Grid Survey Just search for the region you want to see the map for and click on the region name . This will display both the Current Terrain and Objects Map Layer UUID's for that region (amongst other things) .All you need to do is use the llSetTexture function to set the objects texture to the UUID

e.g. llSetTexture("2d7b4f43-8c07-8a6a-d76b-e0f5fd754e12",ALL_SIDES);

I do have a private means of accessing the uuid in-world by querying this database but I have no plans to make this public , primarily because LL have said they plan on dropping the storing of these textures when they finally move to snowglobe. Also making the api public puts an onus on me to keep the database up to date or other peoples content could be broken or out of date.

As it happens the Region database is normally updated daily so if you can live with the manual lookup then it may be suitable.

EDIT: These are of course the UUID's for the old style 256x256 map images however , whilst loading faster the new Snowglobe style map images are no better resolution.
__________________

Vanguard of the LolCatz Revolution
This Post was financed by The National LolCatz Archives

Clancy Sullivan :Yeah. YEAH! The sultry seamstress of mirth is definitely in charge now.
Certified 7.8 on the Official Non-Arbitrary Trout Algorithmic Slut scale

A public copy of my Second Life Main Grid Survey Database can be found at http://www.gridsurvey.com - Now with added Second Life Incidents !!


Tyche Shepherd is offline   Reply With Quote
1 User Said Thanks:
Old 10-14-2009, 08:30 AM   #3 (permalink)
Senior Member
 
Similar McMillan's Avatar
Eels?
 
Join Date: Aug 2007
Posts: 115
SL Join Date: 2007-02-06
Business: SMM
Quote:
Originally Posted by Tyche Shepherd View Post
You can use my region database at Second Life Grid Survey Just search for the region you want to see the map for and click on the region name . This will display both the Current Terrain and Objects Map Layer UUID's for that region (amongst other things)

I do have a private means of accessing the uuid in-world by querying this database but I have no plans to make this public , primarily because LL have said they plan on dropping the storing of these textures when they finally move to snowglobe. Also making the api public puts an onus on me to keep the database up to date or other peoples content could be broken or out of date.

As it happens the Region database is normally updated daily so if you can live with the manual lookup then it may be suitable.
Easily; it's not very often I need it, so this is perfect.

Thank you very much.

Quote:
EDIT: These are of course the UUID's for the old style 256x256 map images however , whilst loading faster the new Snowglobe style map images are no better resolution.
ah, I've misunderstood the changes then.

I did once try (never been much good at camera scripting...) to make a script that would place the camera at specific positions over a sim to make it easier to take snapshots of it all and then merge them later, to get much higher resolution.
Maybe it's time to restart that project.
Similar McMillan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On