Dynamic web texture
|
Pj Paolino
Registered User
Join date: 24 Oct 2009
Posts: 12
|
10-24-2009 06:46
Hi all, I already searched a lot about this but I can't find an answer to my 'quest'.. Is it possible (and if yes) how can I put a web picture (generated by PHP, so it's dynamic) on an object in Second Life. I have seen functions like HTTP Texture & Webtexture, some special tricks with Quicktime, but I still don't have anything that works  . Could you please help me on this one ? Thanks, Pj
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
10-24-2009 06:51
No, you can't, except via a trick where you wrap it in a flash applet inside a quicktime container using the media stream... and that's a good thing. If you could just shove a URL in a prim and get someone to do an HTTP fetch griefers would be using this for weapons that smurfed people offline quicker than you can say "Bobs your Uncle".
|
Pj Paolino
Registered User
Join date: 24 Oct 2009
Posts: 12
|
10-24-2009 07:29
I heard the quicktime solution has a big lag in refreshing time. Is that correct ?
Other question then, the only solution for having dynamic content in an object is with scripts like XyzzyText or what ? Because I've seen google map screens in Second Life which were build out of images so...
Thanks
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
10-24-2009 07:48
You can get sim maps, profile pics, and some other SL images to show on a prim because they're already stored in LL's servers. You just need to grab them with the right API. You can get the UUID of a sim map, for example, by using llHTTPRequest (http://www.subnova.com/secondlife/api/map.php?sim=Your Sim Name,[],"" , obviously putting your own sim's name where I typed Your Sim Name. Once you have the UUID, you can display the map on a prim the same way you can display any other texture.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....  Look for my work in XStreetSL at 
|
Pj Paolino
Registered User
Join date: 24 Oct 2009
Posts: 12
|
10-24-2009 08:01
I'm aware of that, but I was talking about Google Maps, it should be quite amazing if all the google maps database is stored into Second Life... no ? So how are they doing the trick ? 
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
10-24-2009 09:59
From: Pj Paolino I heard the quicktime solution has a big lag in refreshing time. Is that correct ? If it's using a flash applet that's talking to a server (including a prim using the HTTP server support in SL) it should be instantaneous.
|
Pj Paolino
Registered User
Join date: 24 Oct 2009
Posts: 12
|
10-25-2009 21:37
Can you tell me where I can find a kind of tutorial for this ? Or some more explications ? Because I always see people mentioning it, but never explaining  . Thanks for all the help until now! Pj
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
10-26-2009 04:32
It's a hack, and a lot of people won't be able to see it anyway. Don't bother.
|
Pj Paolino
Registered User
Join date: 24 Oct 2009
Posts: 12
|
10-26-2009 04:36
So what should I do? The only way to show something dynamic is text I suppose ? So the best thing to use is XyzzyText. Or is it better to buy a screen ? This will be my last question  . Thanks
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
10-26-2009 04:51
I don't know what you mean by "buying a screen", because there isn't anything I know of other than XYtext that's reliable.
|