Lukeh Ghost Posted January 30, 2013 Share Posted January 30, 2013 Say I have a prim and want to set the faces of the prim to rotate between different textures ever x amount of seconds (so far I know this is is all possible) But instead of having the textures load from within the prim itself they load from a folder hosted on a website for example if I uploaded a bunch of PNGs to http://www.-----.com/images/SLtextures ...Can I get a prim face to rotate through the images I have hosted in that folder online.I haven't played around with HTTP or Server response/request scripts so I wouldn't know :oThanks in advanced :) Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted January 30, 2013 Share Posted January 30, 2013 You can't load a texture from an external server - from the perspective of LL there are good reasons for that, I guess. What you could do, however, is use moap (media on a prim - see here e.g. ) to load a texture to the face of a prim. Most likely, however, this will not work with rotating images - or to a limizted degree - since pages are rendered to each viewer. 1 Link to comment Share on other sites More sharing options...
Rolig Loon Posted January 30, 2013 Share Posted January 30, 2013 I haven't played with MOAP enough to know what PRIM_MEDIA_AUTO_LOOP does, but maybe that's a way to update the displayed page? 1 Link to comment Share on other sites More sharing options...
Qie Niangao Posted January 30, 2013 Share Posted January 30, 2013 I've never even noticed PRIM_MEDIA_AUTO_LOOP but the corresponding viewer control is documented "Replays media automatically when it finishes playing. Only applicable for certain media types (some videos, etc.)." I'm thinking that's not going to work here. As I recall, MOAP images can be up to 2048 x 2048, so depending on how high-res the individual displayed images need to be, one might use a graphics program to slap them all together into one big image for hosting, then display them individually by offsetting the MOAP texture on the prim either using llOffsetTexture or, if they don't need to be sync'd for different viewers, using cel-based llSetTextureAnim. [ETA: I think Darkie's approach with MOAP will work, too... and even if the images do need to be sync'd, but with a script that just keeps pushing different URLs to the media surface. But any use of MOAP requires that the viewers have media enabled, with auto-play, and that's not very common anymore.] 1 Link to comment Share on other sites More sharing options...
Ela Talaj Posted January 30, 2013 Share Posted January 30, 2013 And the reason most prolly is L$10 that they charge for each texture upload and would lose if one could display textures from a webside 1 Link to comment Share on other sites More sharing options...
Eaglewing Foxtrot Posted February 10, 2013 Share Posted February 10, 2013 The reason is because it is entirely possible to hide a malicious code in a picture on a website. Pretty much like those junk emails you get. Second Life most likely has something to clean the picture when uploading. The 10L$ probably helps too. Link to comment Share on other sites More sharing options...
Recommended Posts
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