Tuesday, September 29, 2009

« Wiki Page of Machinima Friendly Sims in Second Life | Main | New World Newsfeed: Will Real World Ads Return To Second Life Soon? (If So, Do It Right This Time, Fellas) »

Dynamic Second Life Building Reacts To Visitor Presence -- And Commands From Web!

Second Life programming guru Opensource Obscure just told us about the supremely cool project he's working on, using the new HTTP-in feature added to Second Life's code base: a virtual building called Chromutate, that dynamically changes based on user interaction "by rezzing things, changing colors, moving its structures. You can even interact with it and send messages to in-world visitors from this web page: Chromutate - make things happen in Second Life from the web!"

Video of the place in action above. SLurl teleport link: LOL (12,34,56). I asked Mr. Obscure to explain how he used the new HTTP-in. Full geek monty after the break:

"Both the HTML and LSL code I'm using for Chromutate are freely available, they can be checked up -- and improved! -- by anyone. I will put all of this on my SL wiki user page sooner or later. Right now, the HTML code can be read using your usual web browser. With regard to LSL, just take a copy of the Chromutate prims (should permissions be wrong, I apologize in advance, please contact me.)"

"The HTML part is quite trivial: the user makes her choices in the webpage, and a form transmits those values to a LSL scripted object in Second Life by using the recent HTTP-in functions. This scripted object works like a main controller. After it receives the values from the webpage, it elaborates them and sends appropriate commands to Chromutate structures, components and sub-controllers. Those are scripted objects too, and will change prim properties or rez stuff according to the commands.

"A big THANKS to Latif Khalifa who built and mantains Grid URL Persister, a basic component of the HTTP part of this installation. Grid URL Persister is also used in the megaprims search engine - another very, very useful free tool by Latif Khalifa."

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341bf74053ef0120a5a968be970b

Listed below are links to weblogs that reference Dynamic Second Life Building Reacts To Visitor Presence -- And Commands From Web!:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Loki

I wish i had a computer that could rezz secondlife like that!

Opensource Obscure

Hamlet,
could you please change the third link? The page for interact with the installation is now
http://alisl.org/chromutate. Thanks in advance ;-)

Post a comment

If you have a TypeKey or TypePad account, please Sign In.