1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-25 12:52:01 +08:00
Commit Graph

128 Commits

Author SHA1 Message Date
Sander Moolin
c4679c6d1a click on raycaster 2021-03-26 13:37:15 -04:00
Sander Moolin
808d32b83a click on object3d 2021-03-26 12:38:11 -04:00
Sander Moolin
50d158c7c6 more docs 2021-03-26 12:25:29 -04:00
Sander Moolin
f1b9c13c94 docs wip 2021-03-26 12:21:26 -04:00
Sander Moolin
1fbbed6380 wip on raycaster changelog 2021-03-26 09:56:18 -04:00
Sander Moolin
aa0bb91949 Snapshot 2021-03-26 09:39:58 -04:00
Sander Moolin
18b425ff50 remove extra code, formatting 2021-03-26 09:15:14 -04:00
Sander Moolin
2b917a52e6 teardown listeners, object pool, renderer mouse leave event 2021-03-25 14:03:28 -04:00
Sander Moolin
c325d47617 note on touch 2021-03-25 10:12:11 -04:00
Sander Moolin
0eb03737de fix raycaster scoping 2021-03-25 10:11:36 -04:00
Sander Moolin
09d5248f24 mousemove element fixes 2021-03-25 10:06:22 -04:00
Sander Moolin
136ec03c07 snapshot 2021-03-25 09:36:02 -04:00
Sander Moolin
abbe3d433c updated tools location 2021-03-25 09:24:30 -04:00
Sander Moolin
e622bedc6d wip on per-object raycasting - starting raycaster at vec2(infinity, infinity) to prevent false positive on init 2021-03-23 13:32:30 -04:00
Sander Moolin
cc16eae503 remove extra imports 2021-03-23 13:00:41 -04:00
Sander Moolin
975e0661b3 update event order 2021-03-23 09:41:32 -04:00
Sander Moolin
cfbca7934b fix custom onBeforeRender 2021-03-22 15:40:33 -04:00
Sander Moolin
6a6080dfd0 adding mouse and touch 2021-03-22 15:38:02 -04:00
Sander Moolin
10ea7d445d more notes 2021-03-22 14:58:22 -04:00
Sander Moolin
26e0ca6063 optimize notes 2021-03-22 14:57:22 -04:00
Sander Moolin
68d7bd19ea wip on raycaster 2021-03-22 14:56:24 -04:00
Sander Moolin
6bf383d6a6 Setup for raycaster 2021-03-22 09:30:56 -04:00
Sander Moolin
e66c347e69 update cameras to extend base component and render slot 2021-03-22 09:30:25 -04:00
Kevin Levron
f90cb8d6f8 add created event (wip) 2021-03-20 21:05:27 +01:00
Kevin LEVRON
2be60d1fe1
add else 2021-03-20 18:03:10 +01:00
Sander Moolin
5134ff91e6 ready event added to object3d 2021-03-19 23:56:21 -04:00
Kevin Levron
27969ea3bc export Object3D 2021-03-16 21:54:48 +01:00
Kevin Levron
6c37b1e1cd use color.set 2021-03-13 19:23:00 +01:00
Kevin LEVRON
e92a62b45b
few adjustments 2021-03-11 23:58:05 +01:00
Sander Moolin
e47f6094e8 Removes successfully 2021-03-11 17:15:52 -05:00
Sander Moolin
5bc13469f1 Create troisjs object/group in separate component 2021-03-11 10:02:56 -05:00
Kevin Levron
57faa3a4b6 wip 2021-03-07 16:11:06 +01:00
Kevin Levron
66b192670b wip 2021-03-07 15:14:34 +01:00
Kevin Levron
302afc2a6d add name (wip) 2021-03-07 13:22:54 +01:00
Kevin Levron
9438b79b56 refactor: bindProp 2021-03-07 11:45:25 +01:00
Kevin Levron
9b85bc6cdd add lookAt 2021-03-07 01:30:04 +01:00
Kevin Levron
c477a8cfb3 wip 2021-03-06 23:47:47 +01:00
Kevin Levron
209939778c wip 2021-03-06 23:44:56 +01:00
Kevin Levron
2b441f7cd7 wip 2021-03-06 23:14:22 +01:00
Kevin Levron
7e0dd5b2ea wip 2021-03-06 19:22:01 +01:00
Kevin Levron
1722a4e332 camera lookAt 2021-03-05 09:10:20 +01:00
Kevin Levron
b4fc933bb5 resize (troisjs/troisjs.github.io#2) 2021-03-05 08:27:56 +01:00
Kevin Levron
795dd0c343 default resize false (troisjs/troisjs.github.io#2) 2021-03-05 08:03:20 +01:00
Kevin Levron
4bd0927b2f fix #9 again 2021-03-03 23:21:53 +01:00
Kevin Levron
3f166776ca fix mouse position 2021-02-27 23:06:09 +01:00
Kevin Levron
9fbe5696be Mesh events : mouseover, click (close #1) 2021-02-22 00:44:29 +01:00
Kevin Levron
adf64ecb6f Add group (fix #7, close #8) 2021-02-21 21:39:35 +01:00
Kevin Levron
787b361b09 change resize handler 2021-02-21 13:47:04 +01:00
Kevin Levron
ee30c75d88 remove ref in renderer (vitepress) 2021-02-21 13:36:48 +01:00
Kevin Levron
6be8406c8f update demos 2020-10-07 23:52:53 +02:00
Kevin Levron
ece3164f22 update useThree 2020-10-07 23:39:25 +02:00
Kevin Levron
50af37552b update camera 2020-10-07 23:38:39 +02:00
Kevin Levron
36e02a959a wip 2020-10-04 23:03:03 +02:00
Kevin Levron
04fe791340 wip 2020-10-04 22:23:00 +02:00
Kevin Levron
7b7524d1dd textures refactoring 2020-10-04 14:00:07 +02:00
Kevin Levron
de0761812a texture hmr 2020-10-04 00:20:27 +02:00
Kevin Levron
488b5fd97c add map and envmap 2020-10-04 00:07:10 +02:00
Kevin Levron
2cf084f0bb wip 2020-10-03 15:58:17 +02:00
Kevin Levron
44e290f475 wip 2020-10-03 15:57:32 +02:00
Kevin Levron
9ba757228c wip 2020-10-03 14:41:08 +02:00
Kevin Levron
5060b6eea8 wip 2020-10-03 12:35:29 +02:00
Kevin Levron
10a11e152d wip 2020-09-19 20:29:53 +02:00
Kevin Levron
fd4807a6bb improve hmr 2020-09-19 18:54:50 +02:00
Kevin Levron
0a0e495e2c camera hmr 2020-09-19 17:52:02 +02:00
Kevin Levron
17e334444d improve hmr with __hmrId 2020-09-19 16:40:58 +02:00
Kevin Levron
f4734ea224 wip 2020-09-19 11:24:03 +02:00
Kevin Levron
b6a8727c3e wip 2020-09-18 21:52:39 +02:00
Kevin Levron
27c22b4e20 camera watch props 2020-09-18 16:28:17 +02:00
Kevin Levron
e61c5ccb4a fix rollup forOf 2020-09-17 10:57:13 +02:00
Kevin Levron
6040b6f44d add effects 2020-09-16 23:27:29 +02:00
Kevin Levron
3f107df132 refactor 2020-09-16 15:30:39 +02:00
Kevin Levron
d40c46d2a3 update handlers 2020-09-15 21:33:13 +02:00
Kevin Levron
fafd1338dc update useThree, dispose on unmounted 2020-09-15 19:50:51 +02:00
Kevin Levron
26ab54bd66 wip 2020-09-15 14:59:34 +02:00
Kevin Levron
946c83388b shadow test 2020-09-15 11:48:29 +02:00
Kevin Levron
2daac794a8 wip 2020-09-15 10:07:57 +02:00
Kevin Levron
fb5fcfdb6c improve poc 2020-09-14 22:53:30 +02:00
Kevin Levron
a21071af6a init 2020-09-14 16:57:11 +02:00