[Opensim-users] HTML on a Prim in OpenSim

Robert Klein rtkwebman at gmail.com
Sat Jul 18 22:23:15 UTC 2009


Hey Daniel,

This script works for me except the LLSay command doesn't seem to do
anything. All of my media texture scripts worked fine under 0.6.3 but since
I upgraded to the latest stable release they have all broken.

//XEngine:
default {
    state_entry()
    {
        llSay( 0, "osSetDynamicTextureURL Tester");
    }
    touch_start(integer total_number)
    {
      llSay( 0, "Testing.");
      string  dynamicID="";
      integer refreshRate = 600;
      string  contentType="image";
      string srcURL =
"http://ftpcontent.worldnow.com/wtvf/skycam/radarregAlt.jpg"; // Nashville
Weather
      string URLTexture=osSetDynamicTextureURL(dynamicID, contentType
,srcURL  , "", refreshRate ); 
      if (llStringLength(URLTexture)>0) 
       {
         llSay(0,"URLTexture = "+URLTexture);
         llSetTexture(URLTexture, ALL_SIDES);
       }
   }
}


-Robert



Daniel Herzog wrote:
> 
> Hi,
> 
>  
> 
> I've got some problems with showing an url on the texture of a prim in
> OpenSim. Like usual in Second Life, I used the parcel media url to
> reference
> a webpage with an associated texture. But unfortunately nothing happens. 
> 
>  
> 
> I used several OpenSim configurations with different clients (Hippo
> Viewer,
> Second Life Viewer, Realxtend Viewer, Meerkat Viewer) each time and the
> only
> way that works for me is OpenSim + Modrex with the Realxtend Viewer. Is
> there something missing within pure OpenSim that parcel media urls do not
> work or how is the way to getting them work?
> 
>  
> 
> Best regards
> 
> Daniel
> 
>  
> 
> 
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/HTML-on-a-Prim-in-OpenSim-tp3273574p3282372.html
Sent from the opensim-users mailing list archive at Nabble.com.



More information about the Opensim-users mailing list