Jump to content
  • 0
Sign in to follow this  
Fabeha

How to relate LSL code with SLViewer?I am making a website as my FYP. Help needed

Question

  • 0

LSL is fundamentally a scripting language for handling in-world events. It does have some ability to use HTTP for importing and exporting limited amounts of information (See http://wiki.secondlife.com/wiki/Category:LSL_HTTP), and you can use the Media On A Prim functions to display a static web page on a prim in world (See http://wiki.secondlife.com/wiki/Category:LSL_Prim_Media and http://wiki.secondlife.com/wiki/Category:Shared_Media).  Those are fairly limited abilities, but if that's what you are looking for, start reading.  If you are new to LSL, you will find that it is a fairly simple language but a poorly documented one.  Everything that you'll find in the LSL wiki (http://wiki.secondlife.com/wiki/LSL_Portal) has been deduced by active scripters.  There is no documentation from LL.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

LSL is fundamentally a scripting language for handling in-world events. It does have some ability to use HTTP for importing and exporting limited amounts of information (See http://wiki.secondlife.com/wiki/Category:LSL_HTTP), and you can use the Media On A Prim functions to display a static web page on a prim in world (See http://wiki.secondlife.com/wiki/Category:LSL_Prim_Media and http://wiki.secondlife.com/wiki/Category:Shared_Media).  Those are fairly limited abilities, but if that's what you are looking for, start reading.  If you are new to LSL, you will find that it is a fairly simple language but a poorly documented one.  Everything that you'll find in the LSL wiki (http://wiki.secondlife.com/wiki/LSL_Portal) has been deduced by active scripters.  There is no documentation from LL.

Share this post


Link to post
Share on other sites
  • 0

What I read is "How to relate LSL code with SLViewer", you are not asking about web interface right?

It works like this:

  • LSL Scripts must be contained in a PRIM(primitive) to do anything
  • When inside a prim the script can act and react on the prim and the world around it
  • The prim and the world around it is viewed by the viewer

That is how the code relate with the viewer.

It is simple when you know but confusing when your introduction to SL is the scripting language

Share this post


Link to post
Share on other sites
  • 0

The 3d world of Second Life requires a Viewer to visualize it, not a webbrowser.  While an earlier experiment with browser based visualization was attempted, it simply streamed live video and mouse/keyboard clicks back and forth and in order to have 100,000 people inworld at once, LL would need to buy 100,000 visualization computers with highend GPUs.  This was prohibitively expensive.

Furthermore, LSL has nothing at all to do with rendering a 3D space.  It is a scripting language that allows builders in SL to build interactive items within the 3D world itself.  It is not a 3D rendering standard of any sort. 

What you seem to be asking is how to create Web3D.  Take a look at the Web3D consortium, which has created a XML standard for 3D object describers that can be added to any website.  There is also VRML, which never really took off.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...