Jump to content
  • 0

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


Fabeha
 Share

You are about to reply to a thread that has been inactive for 4597 days.

Please take a moment to consider if this thread is worth bumping.

Question

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.

Link to comment
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

Link to comment
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.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4597 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...