Ok, I see. It is using service from <http://pici.picidae.net/> http://pici.picidae.net in order to convert html to image. Handy tool, but would be still nice to know if I can include HTML directly in opensim (which looks based on this email thread unlikely).
My understanding is that the web content in Second Life is client functionality, so maybe it would be quite easy to add this support also to opensim, if using Second Life client? Anyone have any pointers where I should look if I want to modify osSetDynamicTextureURL function behaviour? Should I be posting this to the developers list? Regards, Olli _____ From: [email protected] [mailto:[email protected]] On Behalf Of Tristan Sent: 14 January 2009 16:40 To: [email protected] Subject: Re: [Opensim-users] osSetDynamicTextureURL I copied the post I think Charles is referring to: Display web <http://osgrid.org/forums/viewtopic.php?f=5&t=55#p138> page on a prim <http://osgrid.org/forums/viewtopic.php?p=138#p138> Postby <http://osgrid.org/forums/memberlist.php?mode=viewprofile&u=54> charlesk on Wed Mar 12, 2008 9:24 pm Tx Oh has been kind enough to contribute the script running on the prim at the teleport landing point on Wright Plaza. To see a web site, use channel 5 in chat by typing "/5 http://www.osgrid.org <http://www.osgrid.org/> " // by tx Oh default { state_entry() { llListen(5, "", NULL_KEY, ""); llSetText("Say '/5 http://someurl.org' <http://someurl.org%27/> \nto get a webpage displayd on the prim", <1.0, 0.5, 0.0>, 1); } listen(integer ch, string name, key id, string url) { llHTTPRequest("http://pici.picidae.net/browse.php?c=0 <http://pici.picidae.net/browse.php?c=0&f=&u=> &f=&u="+url,[],""); } http_response(key rid, integer status, list metadata, string msg) { list l = llParseString2List(msg, ["img src=\""], []); string img = llList2String(l, 1); l = llParseString2List(img, ["\""], []); img = llList2String(l, 1); string url = "http://pici.picidae.net/" + img; string URLTexture = osSetDynamicTextureURL("", "image", url, "", 600); if (llStringLength(URLTexture)>0) { llSetTexture(URLTexture, ALL_SIDES); } } } On Wed, Jan 14, 2009 at 6:55 AM, Charles Krinke <[email protected]> wrote: Go to the second floor of the building on Wright Plaza. There are two large screens that display html on a prim, meaning web pages. Use the chat chat /10 for one of /11 for the other. The source for this is on the osgrid.org/forums and displays text and graphics using pcidae.net to do a little formatting. Charles _____ From: Olli Aro <[email protected]> To: [email protected] Sent: Wednesday, January 14, 2009 3:40:58 AM Subject: Re: [Opensim-users] osSetDynamicTextureURL Hi Orion, That example seems to be with images as well. Since it looks like the dynamic texture supports only images at the moment, does anyone know how to bring HTML web content in OpenSim? Even the Second Life way whereby you set it as parcel media does not seem to work. So, is there currently no way to bring HTML in? Regards, Olli _____ From: [email protected] [mailto:[email protected]] On Behalf Of John Sheridan Sent: 13 January 2009 18:47 To: [email protected] Subject: Re: [Opensim-users] osSetDynamicTextureURL In world take a look under your inventory for the OpenSim Library. There are a few example scripts in there which may help. OpenSim Library -> Scripts Library -> OpenSim Specific Scripts -> osWeatherMap When you open up the script it'll show as locked. Just ctrl-a ctrl-c to select all and copy, then paste it all into a new script to edit. Thanks, :) - Orion Pseudo/Shamroy Tristan wrote: I think it can only be a picture file, or some type of php that returns a picture. I could be wrong. On Tue, Jan 13, 2009 at 8:44 AM, Olli Aro <[email protected]> wrote: Hi all, I have been trying to Google for this, but cannot find answer. Please just point me to documentation if this is an obvious question :-) Does anyone know which are possible values for the content type parameter with osSetDynamicTextureURL? What I am looking for is a way to set html content as texture. I can find examples for dynamic images but not for html. Thanks for your help in advance, Olli _______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users -- "Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein "Anyone who has never made a mistake has never tried anything new." - Albert Einstein "If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut." - Albert Einstein _____ _______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users _______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users -- "Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein "Anyone who has never made a mistake has never tried anything new." - Albert Einstein "If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut." - Albert Einstein
_______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users
