create3000 / x_ite

X_ITE X3D Browser, view and manipulate X3D and VRML scenes in HTML.
https://create3000.github.io/x_ite/
Other
67 stars 15 forks source link

touchSensor does not work on a indexedLineSet #103

Closed olafgithub closed 2 years ago

olafgithub commented 2 years ago

I noticed that using a touchSensor with an IndexedLineset does not work: I see no hand cursor symbol. With BS Contact it works fine. I tried to make a 3D family tree viewer. Clicking on a line would show information like date of birth etc.

ils_with_touchsensor With BS Contact

ils_x_ite With X_ITE

Windows 10 Google Chrome: Version 99.0.4844.51 (Official Build) (64-bit) X_ITE: 4.7.15

olafgithub commented 2 years ago

Wow. That is very fast. I just posted about the AA on lines. Didn't even see that this one was fixed already.

When will it be available in latest?

Thanks,

Olaf

create3000 commented 2 years ago

I have now published alpha version, which includes line and point picking, which is available at:

<link rel="stylesheet" type="text/css" href="https://create3000.github.io/code/x_ite/alpha/dist/x_ite.css"/>
<script type="text/javascript" src="https://create3000.github.io/code/x_ite/alpha/dist/x_ite.min.js"></script>

I would ask you to test this to see if it works properly.

olafgithub commented 2 years ago

Quick check... I can see the cursor change to a hand symbol when it is over a line. I did not write a handler yet but it looks promising.

Olaf

olafgithub commented 2 years ago

I checked isOver and touchTime both work fine!

Olaf

create3000 commented 2 years ago

Have released the new version 5.0.0.