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."