[x3d-public] highlighting on isOver, freeWrl

GPU Group gpugroup at gmail.com
Wed May 27 13:05:26 PDT 2020


Freewrl has a HOVER mode - on the menu bar ^ button toggle that on, then
drag LMB DOWN over something, and it will do the isOver thing, and drag it
off to un-do the isOver state.
That was done to make it compatible with touch devices. Could make it
desktop compatible again.
Q. With a touch-device, how do you do isOver?
-Doug

On Wed, May 27, 2020 at 1:55 PM GPU Group <gpugroup at gmail.com> wrote:

> ISSUE CONFIRMED.
>
> On Wed, May 27, 2020 at 1:25 PM Andreas Plesch <andreasplesch at gmail.com>
> wrote:
>
>>
>> https://gist.github.com/andreasplesch/b3ad601a0d1d8adc3eba5308603772b5#file-touchtest2-x3d
>>
>> https://gist.githubusercontent.com/andreasplesch/b3ad601a0d1d8adc3eba5308603772b5/raw/f11a1b3b931420316d44f4ae231f4d48a2a66c9c/touchTest2.x3d
>>
>> is an example of how highlighting a geometry which is
>> sensed/influenced by a TouchSensor can be accomplished, by using
>> routing from event utilities.
>>
>> It is a straightforward approach which requires three utility nodes
>> for logic and five routes, per sensed geometry.
>>
>> It works fine with all tested browsers (view3dscene, Instant, octaga)
>> except for freeWrl 4.0. Here with x3dom and x_ite:
>>
>>
>> https://gist.githack.com/andreasplesch/b3ad601a0d1d8adc3eba5308603772b5/raw/f11a1b3b931420316d44f4ae231f4d48a2a66c9c/touchtest_x3dom.html
>>
>>
>> https://gist.githack.com/andreasplesch/b3ad601a0d1d8adc3eba5308603772b5/raw/f11a1b3b931420316d44f4ae231f4d48a2a66c9c/touchtest_x_ite.html
>>
>> Is this a known behaviour of freeWrl ?
>>
>> The other question is if there is a less verbose way to do this ?
>>
>> The background is improving the Step to X3D conversion to include
>> highlighting. Here is an example: (scroll to bottom, press A)
>>
>>
>> https://nbviewer.jupyter.org/github/andreasplesch/OCCToX3D/blob/ac9a7335639a209e6ce9d39b193b8fa32c4af8b9/notebooks/doc_to_scenegraph2-pick2.ipynb
>>
>>
>>
>> --
>> Andreas Plesch
>> Waltham, MA 02453
>>
>> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20200527/8f12927d/attachment.html>


More information about the x3d-public mailing list