<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div>Ok, all I had to do was ask the naive question in public and Mr. Murphy allowed me to see the answer, so I'll answer the first question myself and then go on.<br><br>I can see that a WriteLine(surfaceArgs[0].UVCoord.ToString() + surfaceArgs[0].STCoord.ToString() ) returns a percentage of the form 0.00 ... 0.99 when the prim is touched regardless of its size, so this is a really good thing.<br><br>I can also see in the ProcessObjectGrab method in Scene.PacketHandlers.cs that EventManager.TriggerObjectGrab is called with surfaceArg as one of its arguments. Chasing down TriggerObjectGrab, it appears to be coming back to handlerObjectGrab so I seem to be going around in a circle a little bit.<br><br>So, if you have the time to explain a bit about the logic flow that should occur after the call to
 TriggerObjectGrab that gets us closer to being able to use a script to obtain the position on a prim that the mouse is clicking, that would be wonderful.<br><br>Charles<br><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Charles Krinke <cfk@pacbell.net><br><b><span style="font-weight: bold;">To:</span></b> opensim-users@lists.berlios.de<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, January 15, 2009 6:14:50 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Opensim-users] osSetDynamicTextureURL<br></font><br>
<div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div>Dear Stefan or Darren:<br><br>Would you mind terribly explaining a bit more, please?<br><br>I can see the ProcessObjectGrab method in <a target="_blank" href="http://Scene.PacketHandlers.cs">Scene.PacketHandlers.cs</a> which receives a List<> surfaceArgs. I can also see in <a target="_blank" href="http://SurfaceTouchEventArgs.cs">SurfaceTouchEventArgs.cs</a> the members Binormal, FaceIndex, Normal, Position, STCoord & UVCoord.<br><br>The first step seems to me to determine if Position, STCoord & UVCoord are entering ProcessObjectGrab with reasonable X,Y positions with a WriteLine. I am showing my naivety a bit, but perhaps we can use this to help others follow along if you could describe how to WriteLine the Position, STCoord & UVCoord (assuming these are reasonable values entering and underlying logic is probably working).<br><br>Then once we get to that point,
 perhaps describing in a tiny synopsis how
 the connection would be made up to the <a target="_blank" href="http://LSL_Api.cs">LSL_Api.cs</a>.<br><br>With Respect, Charles<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Stefan Andersson <stefan@tribalmedia.se><br><b><span style="font-weight: bold;">To:</span></b> opensim-users@lists.berlios.de<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, January 15, 2009 11:23:47 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Opensim-users] osSetDynamicTextureURL<br></font><br>


<style>
.hmmessage P
{
margin:0px;padding:0px;}
body.hmmessage
{
font-size:10pt;font-family:Verdana;}
</style>

Charles,<br>
 <br>
Darren tells me the functionailty was added some time ago to the OpenSim svn. OnGrabObject, OnGrabUpdate etc, have a <br>List<SurfaceTouchEventArgs> parameter that is the list of x,y touched.<br><br>
For it to be used in LSL scripts, it just needs someone to wire up the needed functions that LL added for such things, if there is none already.<br>
<br>Best regards,<br>Stefan Andersson<br>Tribal Media AB<br><br>
 <br>

<hr id="stopSpelling">
<br>
Date: Wed, 14 Jan 2009 18:12:39 -0800<br>From: cfk@pacbell.net<br>To: opensim-users@lists.berlios.de<br>Subject: Re: [Opensim-users] osSetDynamicTextureURL<br><br><br>
<style>
.ExternalClass DIV
{}
</style>

<div style="font-size: 12pt; font-family: arial,helvetica,sans-serif;">
<div>No problem. "Tx Oh" came up with this about a year ago and it works pretty good.<br><br>I am hoping that someone will take on the project of adding mouse position data to the C# code base some time so we can click on areas on the prim and execute hyperlinks, but that is a project in search of a zealot right now.<br><br>Charles<br></div>
<div style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"><br>
<div style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><font size="2" face="Tahoma">
<hr size="1">
<b><span style="font-weight: bold;">From:</span></b> John Sheridan <john@pseudospace.net><br><b><span style="font-weight: bold;">To:</span></b> opensim-users@lists.berlios.de<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 14, 2009 6:08:01 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Opensim-users] osSetDynamicTextureURL<br></font><br>I just realized that...  Note to self - do not answer emails after crawling out of bed unless you've had at least five cups of highly caffeinated soda!<br><br>Thanks, :)<br><br>John / Orion Pseudo / Shamroy<br><br><br>Tristan wrote: 
<blockquote>John, Charles already notified us of the one at Wright Plaza and I posted up the script. However, it will be interesting to see if you get parcel media URLs working.<br><br>
<div class="EC_gmail_quote">On Wed, Jan 14, 2009 at 11:54 AM, John Sheridan <span dir="ltr"><<a rel="nofollow" ymailto="mailto:john@pseudospace.net" target="_blank" href="mailto:john@pseudospace.net">john@pseudospace.net</a>></span> wrote:<br>
<blockquote class="EC_gmail_quote" style="padding-left: 1ex;">
<div>Olli,<br>  I've seen a prim that draws a web page over at Wright Plaza on OSGrid.  I'm not sure if its still there, but I always assumed they were using a variation of the WeatherMap script.  You're right though about that script, I just tried and it only works for images.  Also, after trying the SL way of setting the url in the parcel all I wound up with was a black prim.  I'll try to do some more puttering later tonight after I finish melting my brain while reviewing reports at work.  :P<br><br>Sorry, << blushes>><br> - Orion<br><br><br>Olli Aro wrote: 
<blockquote>
<div>
<div class="EC_Wj3C7c">
<div>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;">Hi Orion,</span></font><br>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;"> </span></font><br>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;">That example seems to be with images as well. </span></font><br>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;"> </span></font><br>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;">Since it looks like the dynamic texture supports only images at the moment, does anyone know how to bring HTML web content in OpenSim? Even the Second Life way whereby you set it as parcel media does not seem to work. So, is there currently no way to bring HTML in?</span></font><br>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;"> </span></font><br>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;">Regards,</span></font><br>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;"> </span></font><br>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;">Olli</span></font><br>
<font size="2" color="purple" face="Arial"><span style="font-size: 10pt; color: purple; font-family: Arial;"> </span></font><br>
<div>
<div style="text-align: center;" align="center"><font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt; color: windowtext;">
<hr size="2" width="100%" align="center">
</span></font></div>
<b><font size="2" color="black" face="Tahoma"><span style="font-weight: bold; font-size: 10pt; color: windowtext; font-family: Tahoma;">From:</span></font></b><font size="2" color="black" face="Tahoma"><span style="font-size: 10pt; color: windowtext; font-family: Tahoma;"> <a rel="nofollow" ymailto="mailto:opensim-users-bounces@lists.berlios.de" target="_blank" href="mailto:opensim-users-bounces@lists.berlios.de">opensim-users-bounces@lists.berlios.de</a> [<a rel="nofollow" ymailto="mailto:opensim-users-bounces@lists.berlios.de" target="_blank" href="mailto:opensim-users-bounces@lists.berlios.de">mailto:opensim-users-bounces@lists.berlios.de</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>John Sheridan<br><b><span style="font-weight: bold;">Sent:</span></b> 13 January 2009 18:47<br><b><span style="font-weight: bold;">To:</span></b> <a rel="nofollow" ymailto="mailto:opensim-users@lists.berlios.de" target="_blank"
 href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</a><br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Opensim-users] osSetDynamicTextureURL</span></font><font color="black"><span style="color: windowtext;"></span></font><br></div>
<font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt;"> </span></font><br>
<font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt;">In world take a look under your inventory for the OpenSim Library.  There are a few example scripts in there which may help.  <br><br>OpenSim Library -> Scripts Library -> OpenSim Specific Scripts -> osWeatherMap<br><br>When you open up the script it'll show as locked.  Just ctrl-a ctrl-c to select all and copy, then paste it all into a new script to edit.<br><br>Thanks, :)<br><br> - Orion Pseudo/Shamroy <br><br>Tristan wrote: </span></font><br>
<p style="margin-bottom: 12pt;"><font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt;">I think it can only be a picture file, or some type of php that returns a picture. I could be wrong.</span></font></p>
<div>
<font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt;">On Tue, Jan 13, 2009 at 8:44 AM, Olli Aro <<a rel="nofollow" ymailto="mailto:olli_aro@yahoo.co.uk" target="_blank" href="mailto:olli_aro@yahoo.co.uk">olli_aro@yahoo.co.uk</a>> wrote:</span></font><br>
<div>
<div>
<font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Hi all,</span></font><br>
<font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font><br>
<font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;">I have been trying to Google for this, but cannot find answer. Please just point me to documentation if this is an obvious question </span></font><font size="2" face="Wingdings"><span style="font-size: 10pt; font-family: Wingdings;">J</span></font><br>
<font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font><br>
<font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;">Does anyone know which are possible values for the content type parameter with </span></font><code><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">osSetDynamicTextureURL? What I am looking for is a way to set html content as texture. I can find examples for dynamic images but not for html.</span></font></code><br>
<code><font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> </span></font></code><br>
<code><font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Thanks for your help in advance,</span></font></code><br>
<code><font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB"> </span></font></code><br>
<code><font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Olli </span></font></code><br>
<font size="2" color="black" face="Arial"><span style="font-size: 10pt; font-family: Arial;"> </span></font><br>
<p style="text-align: center;" align="center"><font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>
<font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt;"> </span></font><br></div></div>
<p style="margin-bottom: 12pt;"><font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt;"><br>_______________________________________________<br>Opensim-users mailing list<br><a rel="nofollow" ymailto="mailto:Opensim-users@lists.berlios.de" target="_blank" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br><a rel="nofollow" target="_blank" href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a></span></font></p></div>
<font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt;"><br><br clear="all"><br>-- <br>"Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein<br><br>"Anyone who has never made a mistake has never tried anything new." - Albert Einstein<br><br>"If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut." - Albert Einstein<br><br></span></font><br><pre><font size="2" color="black" face="Courier New"><span style="font-size: 10pt;"> </span></font></pre><pre style="text-align: center;"><font size="2" color="black" face="Courier New"><span style="font-size: 10pt;">

<hr size="4" width="90%" align="center">

</span></font></pre><pre><font size="2" color="black" face="Courier New"><span style="font-size: 10pt;"> </span></font></pre><pre><font size="2" color="black" face="Courier New"><span style="font-size: 10pt;">_______________________________________________</span></font></pre><pre><font size="2" color="black" face="Courier New"><span style="font-size: 10pt;">Opensim-users mailing list</span></font></pre><pre><font size="2" color="black" face="Courier New"><span style="font-size: 10pt;"><a rel="nofollow" ymailto="mailto:Opensim-users@lists.berlios.de" target="_blank" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a></span></font></pre><pre><font size="2" color="black" face="Courier New"><span style="font-size: 10pt;"><a rel="nofollow" target="_blank" href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a></span></font></pre><pre><font size="2"
 color="black" face="Courier New"><span style="font-size: 10pt;">  </span></font></pre>
<font size="3" color="black" face="Times New Roman"><span style="font-size: 12pt;"> </span></font><br></div></div></div><pre><hr size="4" width="90%"><div class="EC_Ih2E3d">
_______________________________________________
Opensim-users mailing list
<a rel="nofollow" ymailto="mailto:Opensim-users@lists.berlios.de" target="_blank" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a>
<a rel="nofollow" target="_blank" href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a>
  </div></pre></blockquote><br></div><br>_______________________________________________<br>Opensim-users mailing list<br><a rel="nofollow" ymailto="mailto:Opensim-users@lists.berlios.de" target="_blank" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br><a rel="nofollow" target="_blank" href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>"Common sense is the collection of prejudices acquired by age eighteen." - Albert Einstein<br><br>"Anyone who has never made a mistake has never tried anything new." - Albert Einstein<br><br>"If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut." - Albert Einstein<br><pre><hr size="4" width="90%">
_______________________________________________
Opensim-users mailing list
<a rel="nofollow" class="EC_moz-txt-link-abbreviated" ymailto="mailto:Opensim-users@lists.berlios.de" target="_blank" href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a>
<a rel="nofollow" class="EC_moz-txt-link-freetext" target="_blank" href="https://lists.berlios.de/mailman/listinfo/opensim-users">https://lists.berlios.de/mailman/listinfo/opensim-users</a>
  </pre></blockquote><br></div></div></div></div></div></div></div></div></div></body></html>