[Opensim-dev] Changing textures of primitives via code
Justin Clark-Casey
jjustincc at googlemail.com
Fri Aug 28 19:08:24 UTC 2009
Daniel Herzog wrote:
> Hi all,
>
>
>
> changing the image of a texture of a prim with a client is no problem.
> But is there a possibility to do that from the source code? Currently
> I’m working on a way to improve co-browsing in OpenSim. Until now
> websites on a prim are displayed via an image of the requested URL (for
> example with the help of the http://pici.picidae.net/ website). What I
> want to do is to get the image from a website via a httpRequest and put
> it on the associated texture via source.
>
>
>
> Could anybody give me a hint which functions are involved in changing
> the image of a texture and where I could find them within the sources?
I would suggest tracing down from the implementation of the llSetTexture() function, which you can find on line 1658 of
LSL_Api.cs in the OpenSim.Region.ScriptEngine.Shared.Api project. Good luck!
--
justincc
Justin Clark-Casey
http://justincc.wordpress.com
More information about the Opensim-dev
mailing list