Is it possible open a web page into a SLS ???
have you got any examples ?
thx
These forums are CLOSED. Please visit the new forums HERE
open my webpage into second life script |
|
|
stefanolo Lednev
Registered User
Join date: 1 Apr 2007
Posts: 7
|
04-15-2007 06:38
Is it possible open a web page into a SLS ???
have you got any examples ? thx |
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
04-15-2007 08:37
huh?
_____________________
![]() ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura |
|
Sys Slade
Registered User
Join date: 15 Feb 2007
Posts: 626
|
04-15-2007 08:39
http://rpgstats.com/wiki/index.php?title=LlLoadURL
Will allow you to show a dialog box asking if the user wants to open the page. http://rpgstats.com/wiki/index.php?title=LlHTTPRequest Allows you to get data from a webpage, but not display the page to the user. |
|
stefanolo Lednev
Registered User
Join date: 1 Apr 2007
Posts: 7
|
04-15-2007 08:43
http://rpgstats.com/wiki/index.php?title=LlLoadURL Will allow you to show a dialog box asking if the user wants to open the page. http://rpgstats.com/wiki/index.php?title=LlHTTPRequest Allows you to get data from a webpage, but not display the page to the user. i need to display a page on second life is it possible ? |
|
Sys Slade
Registered User
Join date: 15 Feb 2007
Posts: 626
|
04-15-2007 09:25
Not using just LSL.
It can be done using server side tools and media tricks, but requires root access to install certain programs on the server, knowledge of php/perl or some other language to get the stuff web accessable and knowledge of SMIL or similar. If all you want is a static, non changing page on a prim, take a screenshot of the page and upload it as a texture. |
|
stefanolo Lednev
Registered User
Join date: 1 Apr 2007
Posts: 7
|
04-15-2007 09:32
Not using just LSL. It can be done using server side tools and media tricks, but requires root access to install certain programs on the server, knowledge of php/perl or some other language to get the stuff web accessable and knowledge of SMIL or similar. If all you want is a static, non changing page on a prim, take a screenshot of the page and upload it as a texture. but if i can have access to root access of my server ?? |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-15-2007 11:49
true 'html on a prim' has been in the pipeline for at least 2 yrs but is still not forth coming.
But whats teh real advantage of that over just opening a browser window? |
|
Sys Slade
Registered User
Join date: 15 Feb 2007
Posts: 626
|
04-15-2007 16:08
If you have root access, then you'd need some sort of html to jpg tool, plus php/perl to take input as a httprequest from SL and create the jpg, then generate some SMIL to load the jpg (or series of jpgs) in a movie before passing the URL back to SL to display on a prim.
You may be able to skip the SMIL and feed the jpg address straight into quicktime, although I haven't tried that. It's something you'll have to do a lot of reading if you don't already know the languages, or failing that, put in a request in products wanted. I don't imagine it would come cheap though, and you'll be limited by the throttling of llHTTPRequest. |
|
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
|
04-15-2007 16:19
true 'html on a prim' has been in the pipeline for at least 2 yrs but is still not forth coming. But whats teh real advantage of that over just opening a browser window? Besides cheap dynamic signage, lower sim load, consistant UI/UE and per-user options you mean? |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-15-2007 23:33
Besides cheap dynamic signage, lower sim load, consistant UI/UE and per-user options you mean? And roads, dont forget the roads... I accept what your saying although i dont in think it will lower sim load, quite the opposite. |
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
04-15-2007 23:46
stuff yes you can load many different types of images directly with quicktime (inc jpeg) |
|
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
|
04-16-2007 01:43
The problem with quicktime though is that not everybody has it installed (or wants it on their system).
Also, they'd have to have QT display turned on in their prefs. Don't rely on Quicktime working for everyone. |
|
Sys Slade
Registered User
Join date: 15 Feb 2007
Posts: 626
|
04-16-2007 08:32
Yep, there's problems with it, but as close as we will get to dynamic HTML content at the moment.
A custom bot could be created to upload textures as needed, but that would probably be slower and would be at the mercy of the asset servers. Textures also cannot be targetted for specific users, whereas media can. |
|
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
|
04-16-2007 10:05
And roads, dont forget the roads... I accept what your saying although i dont in think it will lower sim load, quite the opposite. Explain please. Assets being loaded from external sources rather than the sim's cache indicates lower load to me. |
|
stefanolo Lednev
Registered User
Join date: 1 Apr 2007
Posts: 7
|
04-16-2007 13:16
i don't understand
|
|
Learjeff Innis
musician & coder
Join date: 27 Nov 2006
Posts: 817
|
04-16-2007 18:32
Newgate, assuming that only the clients load the URLs and do the surface mapping (which is how I expect this would work), it would lower SEVER lag. It might not lower CLIENT lag for folks who are close enough to the object.
Would it lower overall lag? Depends on the specifics, I suspect. |
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
D'oh
04-16-2007 23:49
Newgate, assuming that only the clients load the URLs and do the surface mapping (which is how I expect this would work), it would lower SEVER lag. It might not lower CLIENT lag for folks who are close enough to the object. Would it lower overall lag? Depends on the specifics, I suspect. My apologies I was think of a server side implementation, converting the html into a texture type thing. If its all client side I agree it should lower the direct server load. |
|
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
|
04-17-2007 00:18
i don't understand Which bit? |
|
Learjeff Innis
musician & coder
Join date: 27 Nov 2006
Posts: 817
|
04-17-2007 04:56
My apologies I was think of a server side implementation, converting the html into a texture type thing. If its all client side I agree it should lower the direct server load. Well, I'm wading in over my head here, but my suspicion is that the server doesn't map textures, it just forwards them to client, and client does texture mapping to object surfaces. The server doesn't need to know what something looks like, just where it is, its shape & properties, and its behavior (scripts & physical stuff). I also suspect that the server doesn't bend flexi but lets the client do that. Nor does the server calculate particles. The client does all the rendering chores. |
|
Twisted Pharaoh
if ("hello") {"hey hey";}
Join date: 24 Mar 2007
Posts: 315
|
04-17-2007 05:14
Theoretically you could do something like Mosaic (text only web browser) using XYText, though I doubt anyone would embark on something like that, but you never know hehe.
Now if it is *your* webpage, you can still upload the gfx and emulate your webpage with a script, still a lot of work but a lot simpler. |
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
04-17-2007 06:37
now.. clicking links.. that's a whole 'nother problem.
_____________________
![]() ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura |
|
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
|
04-17-2007 06:40
now.. clicking links.. that's a whole 'nother problem. If you're referring to Twisted Pharaoh's post, not really. You'd just plop a prim behind the link text if doing it with llSetText or add a touch event to relevant prims using XyText. |
|
Solomon Devoix
Used Register
Join date: 22 Aug 2006
Posts: 496
|
04-17-2007 13:45
Hmmm... it might be possible to do something with a bunch of fully alpha prims (one per horizontal line of text) and then parse the text of the page, parcel it out, and have the prims change their float text to match... that way, you could get a full page of web page text without an impossible number of prims and such. Of course, it wouldn't work for the nicely dynamic thing that is the web in general, and the graphics on a page would be a problem. But I suppose is there was one web page that you wanted to update every so often, and kept a fixed layout for it, it could work.
Though, given the way float text is always oriented towards the viewer, it could end up giving some very odd formatting results... |
|
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
|
04-17-2007 14:51
Though, given the way float text is always oriented towards the viewer, it could end up giving some very odd formatting results... Indeed. If llSetText is used the camera should be forced into position or things won't line up properly (or the "page" can be shown in a HUD). Really, we're just tossing around random ideas without an example case though. EDIT: Actually, didn't Jesrad or someone make some form of prim-based browser system a while back? EDIT2: Yes, see here. |