1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 12:22:03 +08:00
Commit Graph

283 Commits

Author SHA1 Message Date
Sander Moolin
6d4c2fe849 remove extra docs 2021-03-26 13:37:53 -04:00
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
157d918728 Merge branch 'upstream' into raycast-update 2021-03-26 09:40:49 -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
Sander Moolin
132950301c tiltshift pass update 2021-03-21 14:52:30 -04:00
Sander Moolin
d67805e6bd pass ready events on all pass types 2021-03-21 14:49:41 -04:00
Sander Moolin
7887f2266a updated hmrID 2021-03-20 23:33:32 -04:00
Sander Moolin
de34a48d8a added ssao pass 2021-03-20 23:26:47 -04:00
Kevin Levron
eb1ca16b8a improve instanced mesh 2021-03-20 21:16:24 +01: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
11f83fb766 add PlaneGeometry 2021-03-15 22:20:30 +01:00
Kevin Levron
17d5a03d8b BufferGeometry => Geometry 2021-03-15 22:17:15 +01:00
Kevin Levron
eb40499600 fix typo 2021-03-15 21:46:04 +01:00
Kevin Levron
56479333da remove stencilBuffer 2021-03-15 20:44:50 +01:00
Kevin Levron
df08f3077c refactor geometries and meshes 2021-03-15 20:39:24 +01:00
Kevin Levron
5ebe40b962 cylinder 2021-03-15 20:01:08 +01:00
Kevin Levron
680e5a7d49 cone 2021-03-15 19:58:28 +01:00
Kevin Levron
3ed539553a box 2021-03-15 19:55:04 +01:00
Kevin Levron
d4e7ac476f mesh 2021-03-15 19:54:55 +01:00
Kevin Levron
606dcfa9c9 refactor circle 2021-03-15 19:54:33 +01:00
Kevin Levron
98a8c01ef1 refactor box 2021-03-15 19:41:07 +01:00
Kevin Levron
85d220f4f8 improve liquid plane 2021-03-15 19:13:55 +01:00
Kevin Levron
51071f1210 fix liquid effect for android 2021-03-15 19:13:33 +01:00
Sander Moolin
e31900d467 Change id to name in CubeTexture 2021-03-15 11:46:09 -04:00
Sander Moolin
99b888b27b - Remove ID from texture, replace with name
- Add uniform prop to texture, require use in shaders
2021-03-15 11:45:08 -04:00
Sander Moolin
3f40a59b73 Shader texture proof of concept 2021-03-15 00:33:27 -04:00
Kevin Levron
bf597573b2 improve liquid plane 2021-03-14 11:44:32 +01:00
Kevin Levron
458193be4a add liquid plane 2021-03-14 10:32:38 +01:00
Kevin Levron
e8d5414e1e improve models 2021-03-13 21:54:31 +01:00
Kevin Levron
6c37b1e1cd use color.set 2021-03-13 19:23:00 +01:00
Kevin Levron
291444eac6 fix default color 2021-03-13 19:22:29 +01:00
Kevin Levron
c09d2f9d8b clean light 2021-03-13 19:19:30 +01:00
Kevin Levron
9c9c08b11f export fbx model 2021-03-13 19:19:04 +01:00
Kevin Levron
57ae6facab add fbx model to plugin 2021-03-13 19:18:37 +01:00
Kevin Levron
c3d48d467d improve lights 2021-03-13 19:18:16 +01:00
Kevin Levron
d8cc705b99 improve gltf model 2021-03-13 16:59:53 +01:00
Kevin Levron
a283ac7c8f add fbx model 2021-03-13 16:59:41 +01:00
Kevin Levron
444060b91d wireframe props, fix #20, close #22 2021-03-13 16:41:01 +01:00
Kevin Levron
e5c2b3f947 add GLTFModel (wip) 2021-03-13 00:52:40 +01:00
Kevin Levron
a4eb25654c fix SubSurfaceMaterial (after #19) 2021-03-12 23:59:24 +01:00
Kevin Levron
8d66934fa9 remove console.log 2021-03-12 23:57:13 +01:00
Kevin Levron
e57a05de53 fix #21 (flatshading) 2021-03-12 23:54:55 +01:00
Kevin Levron
ebe2e799ed default app 2021-03-12 23:16:34 +01:00
Kevin Levron
3844b109f2 improve ShaderMaterial 2021-03-12 23:14:49 +01:00
Kevin LEVRON
8dab3a6b74
improve ShaderMaterial 2021-03-12 22:58:41 +01:00
Kevin LEVRON
f29435f1fa
export ShaderMaterial 2021-03-12 22:30:56 +01:00
Sander Moolin
9183cabf6a Recreate material if vert/frag shaders change 2021-03-12 15:11:23 -05:00
Sander Moolin
e9e2ac7bce Uniforms working correctly 2021-03-12 09:55:30 -05:00
Sander Moolin
5bd7bcc70f Starting default shader material 2021-03-12 09:29:10 -05:00
Kevin Levron
faefaef1db threejs 0.126 2021-03-12 00:14:07 +01:00
Kevin LEVRON
ef8a4d779f
Merge pull request #18 from SaFrMo/child-components
Create troisjs object/group in separate component

Thanks @SaFrMo
2021-03-11 23:59:55 +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
2fd469bd20 fix TorusKnotGeometry 2021-03-10 22:05:01 +01:00
Kevin Levron
9884606a9a 0.1.13 2021-03-09 18:25:02 +01:00
Kevin Levron
6cfefd9761 improve tube 2021-03-09 13:35:19 +01:00
Kevin Levron
1cb94572f7 improve tube 2021-03-07 21:04:01 +01:00
Kevin Levron
91fa803bf3 improve tube 2021-03-07 16:54:15 +01:00
Kevin Levron
c476728322 add HemisphereLight 2021-03-07 16:17:18 +01: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
9319a76a33 fix light render 2021-03-07 13:14:55 +01:00
Kevin Levron
9f65387068 feat: add texture props 2021-03-07 11:46:35 +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
123766305e improve RectAreaLight 2021-03-07 01:02:32 +01:00
Kevin Levron
2905873128 improve RectAreaLight 2021-03-07 00:59:06 +01:00
Kevin Levron
42386a572d add RectAreaLight 2021-03-07 00:48:06 +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
c8a3ed739d wip 2021-03-06 23:24:07 +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
ce00e726f2 0.1.9 2021-03-05 09:17:16 +01:00