Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Testing out llDetectedTouchST

BamBam Sachertorte
floral engineer
Join date: 12 Jul 2005
Posts: 228
08-23-2008 09:53
Has anyone successfully used the new touch functions? (llDetectedTouchST, ...) I have the latest beta grid viewer (1.21.0.94415) and i have tried many regions in the aditi (beta) grid. But I either get a script crash when I try to execute the functions, or they execute but return -1 or <-1,-1,-1>.
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
08-23-2008 10:34
Yes I have. Both on the Beta and Main Grid.

Since I used the Beta 1.21.x client in both cases, I haven't encountered your results that are supposed only to happen with an older client.

As for the script crashing, it happens only when the server doesn't support the new llDetectedTouch* functions.

On the Main Grid, I even tried with and without Mono. No problem.

Try harder! ;-)
Anthony Hocken
Registered User
Join date: 16 Apr 2006
Posts: 121
08-23-2008 11:35
I was playing with llDetectedTouchUV and LlDetectedTouchFace on the preview grid yesterday and they were working great. Quite exciting.
_____________________
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
08-23-2008 12:11
From: BamBam Sachertorte
Has anyone successfully used the new touch functions? (llDetectedTouchST, ...) I have the latest beta grid viewer (1.21.0.94415) and i have tried many regions in the aditi (beta) grid. But I either get a script crash when I try to execute the functions, or they execute but return -1 or <-1,-1,-1>.

There is a bug (fix in progress) in llDetectedTouchBinormal that will make it return ZERO_VECTOR at the wrong times, but others have been more predictable from here. llDetectedTouchUV can give false <-1.,-1.,0.> results, but in those cases llDetectedTouchFace should still return a valid face number. Today 1.24.0.94831 is giving me the same results as in earlier ventures to Aditi.

The -1 types of results mean that the sim isn't getting the new position stuff from your viewer, it's only able to interpret the old-style touch information. Is your beta viewer all on vanilla settings? If you can get someone else to touch your objects, do their touches register OK?

On the crashes, do those happen in every sim or only certain ones?
_____________________
BamBam Sachertorte
floral engineer
Join date: 12 Jul 2005
Posts: 228
08-23-2008 14:33
The crashes occur in Grasmere, which is running server 1.23. So I guess the crashes are no surprise. Although you would think the LSL virtual machine would be more graceful about unimplemented functions.

When I go to a sim running server 1.24beta the script does not crash. But it does not return the correct touch information. The script behaves as if I was running a 1.20 viewer.
From: someone
[14:31] touchtester: Hello, Avatar!
[14:31] touchtester: Touched on face -1 at <s,t> <-1.00000, -1.00000, 0.00000>
[14:31] touchtester: <u,v> is <-1.00000, -1.00000, 0.00000> <x,y,z> is <0.00000, 0.00000, 0.00000>
[14:31] touchtester: normal is <0.00000, 0.00000, 0.00000> binormal is <0.00000, 0.00000, 0.00000>


But I am running the latest 1.21 beta viewer. Here are my stats:
From: someone
Second Life 1.21.0 (94415) Aug 14 2008 15:17:27 (Second Life Beta)

You are at 255284.9, 255095.6, 21.5 in Sandbox Wanderton 1.24 BETA located at sim3000.aditi.lindenlab.com (8.2.33.226:13000)
Second Life Beta Server 1.24.0.94831

CPU: Dual i386 (Unknown) (2000 MHz)
Memory: 2048 MB
OS Version: Darwin 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386
Graphics Card Vendor: ATI Technologies Inc.
Graphics Card: ATI Radeon X1600 OpenGL Engine
OpenGL Version: 2.0 ATI-1.5.28

libcurl Version: libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
J2C Decoder Version: KDU
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.17567 (Mozilla GRE version 1.8.1.13_0000000000)
Packets Lost: 0/22682 (0.0%)


I asked someone else to touch it and it worked fine for them. I looked at my viewer settings and they seemed to be OK.
BamBam Sachertorte
floral engineer
Join date: 12 Jul 2005
Posts: 228
08-23-2008 15:01
Problem "solved". The new functions don't work if the edit tool is active. For some reason I never tried it with the edit tool closed. There are also issues in JIRA about the new touch functions and the move tool.
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
08-23-2008 15:10
Oh, so these were pie menu touches? That is a fun one, what should something that selects the whole thing return? :/

ETA: Yep, it's all pie menu touches, independent of edit mode. Yuck.


ETA again: http://jira.secondlife.com/browse/SVC-1902?focusedCommentId=72922#action_72922

Qarl already said yuck too, and apparently intends to leave it that way.
/me trudges off to the wiki to document that.
_____________________
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
08-23-2008 16:02
LOL! OK, Qarl says that pie menu touches will be implemented after all, just not yet in the beta.
_____________________
BamBam Sachertorte
floral engineer
Join date: 12 Jul 2005
Posts: 228
08-23-2008 21:05
Thanks Viktoria! (and Qarl) Wow, you made your change to the wiki, then you changed it back (because Qarl changed his mind), and then Strife rewrote the whole thing.
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
08-24-2008 02:54
Do we have a functioning keyboard yet?
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-