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

375 Commits

Author SHA1 Message Date
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
Kevin Levron
1722a4e332 camera lookAt 2021-03-05 09:10:20 +01:00
Kevin Levron
9f036082e8 components resize 2021-03-05 08:35:00 +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
50410d4cbb fix TiltShiftPass watch 2021-03-05 08:00:24 +01:00
Kevin Levron
4bd0927b2f fix #9 again 2021-03-03 23:21:53 +01:00
Kevin Levron
11eb935b95 fix #9 2021-03-03 22:58:09 +01:00
Kevin Levron
1c0fb609e9 0.1.6 2021-03-03 21:49:22 +01:00
Kevin Levron
92ffc04323 remove components export 2021-03-03 21:44:12 +01:00
Kevin Levron
7960dfd152 local comp registering 2021-03-03 20:51:07 +01:00
Kevin Levron
b086889053 fix TorusKnot (again...) 2021-03-01 18:47:53 +01:00
Kevin Levron
579b9815e2 fix TorusKnot typo 2021-02-28 21:44:06 +01:00
Kevin Levron
c5faba8734 cleanup 2021-02-28 21:01:56 +01:00
Kevin Levron
b3e58ff379 wip 2021-02-28 01:10:24 +01:00
Kevin Levron
ddf60e3a0d cleanup 2021-02-27 23:26:27 +01:00
Kevin Levron
3f166776ca fix mouse position 2021-02-27 23:06:09 +01:00
Kevin Levron
ca3c622fad remove console.log 2021-02-26 19:38:20 +01:00
Kevin Levron
a6c77ceafb fix #9 2021-02-26 19:33:46 +01:00
Kevin Levron
b01b251577 wip 2021-02-22 00:49:23 +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
6929700e97 0.1.1 2021-02-21 14:10:11 +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
594290a96e vite/vue/three versions 2021-02-11 23:50:57 +01:00
Kevin Levron
47c96eedae add lightMapIntensity 2020-10-14 22:14:31 +02:00
Kevin Levron
6835052e75 add textures demo 2020-10-14 22:14:13 +02:00
Kevin Levron
8d4dc40ee5 wip 2020-10-14 21:38:36 +02:00
Kevin Levron
85b7907cef update standard material 2020-10-14 21:37:08 +02:00
Kevin Levron
70c594b667 update noisy plane 2020-10-13 20:00:08 +02:00
Kevin Levron
0440e576df Merge branch 'master' of https://github.com/troisjs/trois into master 2020-10-08 20:31:37 +02:00
Kevin Levron
3209be1b5a wip 2020-10-08 20:31:03 +02:00
Kevin Levron
542aa97f92 remove sao 2020-10-08 09:02:30 +02: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
cfdbdd76c1 add effects 2020-10-06 20:57:00 +02:00
Kevin Levron
b800071f93 wip 2020-10-05 23:09:55 +02:00
Kevin Levron
3b807fdb0f update demos 2020-10-05 21:11:42 +02:00
Kevin Levron
36e02a959a wip 2020-10-04 23:03:03 +02:00
Kevin Levron
8dd1e4d561 wip 2020-10-04 22:52:39 +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
1c66a946d5 add matcap material 2020-10-04 11:23:02 +02:00
Kevin Levron
92c419040e update phong & standard 2020-10-04 10:22:26 +02:00
Kevin Levron
864adc1379 wip 2020-10-04 01:44:47 +02:00
Kevin Levron
08bc80d1cf 0.1.0 2020-10-04 00:49:05 +02:00
Kevin Levron
de0761812a texture hmr 2020-10-04 00:20:27 +02:00
Kevin Levron
a117df2e2e gem dispose 2020-10-04 00:08:15 +02:00
Kevin Levron
5320cbe7dc add map and envmap 2020-10-04 00:07:43 +02:00
Kevin Levron
488b5fd97c add map and envmap 2020-10-04 00:07:10 +02:00
Kevin Levron
9fc7ef75b7 wip 2020-10-03 22:57:33 +02:00
Kevin Levron
d52616f4b0 add toon material 2020-10-03 22:32:27 +02:00
Kevin Levron
4505bb7922 update demos 2020-10-03 22:13:59 +02:00
Kevin Levron
ff2da62e4b add refraction mesh 2020-10-03 21:26:12 +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
101c680161 add gem 2020-10-03 15:09:45 +02:00
Kevin Levron
9ba757228c wip 2020-10-03 14:41:08 +02:00
Kevin Levron
bfc9edba0f wip 2020-10-03 13:11:20 +02:00
Kevin Levron
5060b6eea8 wip 2020-10-03 12:35:29 +02:00
Kevin Levron
a66d4816b2 materials refactoring 2020-10-03 12:34:14 +02:00
Kevin Levron
13de74ec35 wip 2020-10-03 11:31:55 +02:00
Kevin Levron
0f830f1b01 wip 2020-10-03 11:19:03 +02:00
Kevin Levron
440a854417 wip 2020-10-03 11:15:52 +02:00
Kevin Levron
3ecaaad06a wip 2020-10-03 11:07:49 +02:00
Kevin Levron
900644d7db geometries refactoring 2020-10-03 11:00:37 +02:00
Kevin Levron
6162fd6960 wip 2020-10-01 22:52:59 +02:00
Kevin Levron
fb83acdc2c update materials 2020-10-01 18:22:01 +02:00
Kevin Levron
78450ed106 wip 2020-09-30 23:57:44 +02:00
Kevin Levron
3641f02011 update noisy components 2020-09-30 23:57:20 +02:00
Kevin Levron
057d245f65 add noisy sphere 2020-09-30 23:03:29 +02:00
Kevin Levron
8a01b33031 update demos 2020-09-30 18:10:17 +02:00
Kevin Levron
503fdbfd78 add noisy components 2020-09-30 17:53:36 +02:00
Kevin Levron
b4cdb68340 wip 2020-09-29 23:05:01 +02:00
Kevin Levron
515a752c61 wip 2020-09-29 22:25:29 +02:00
Kevin Levron
144afd98a5 add AnimatedPlane 2020-09-28 21:26:40 +02:00
Kevin Levron
d504046f1b add slider1 2020-09-28 21:03:35 +02:00
Kevin LEVRON
aecfbbfeb8
Delete Demo5.vue 2020-09-28 19:06:26 +02:00
Kevin Levron
a90e9f663c fix polyhedron 2020-09-28 16:56:10 +02:00
Kevin Levron
f8cc0fb429 meshes cleanup 2020-09-28 16:18:57 +02:00
Kevin Levron
15ba30e058 add geometries (generated code) 2020-09-28 15:36:22 +02:00
Kevin Levron
9c9c39a6fe update plugin & exports 2020-09-28 15:00:10 +02:00
Kevin Levron
8bc88a2147 add meshes (generated code) 2020-09-28 14:48:39 +02:00
Kevin Levron
c401472952 demos and readme 2020-09-21 13:45:11 +02:00
Kevin Levron
16c21ef7f8 improve hmr (effects, mesh) 2020-09-21 09:15:15 +02:00
Kevin Levron
1611539d63 wip 2020-09-19 21:42:33 +02:00
Kevin Levron
10a11e152d wip 2020-09-19 20:29:53 +02:00
Kevin Levron
816a38d1fd hmr unmounted : remove object from scene 2020-09-19 19:05:17 +02:00
Kevin Levron
fd4807a6bb improve hmr 2020-09-19 18:54:50 +02:00
Kevin Levron
9250eca910 improve material hmr 2020-09-19 18:06:09 +02:00
Kevin Levron
0a0e495e2c camera hmr 2020-09-19 17:52:02 +02:00
Kevin Levron
2f278a912b material color hmr 2020-09-19 17:00:29 +02:00
Kevin Levron
f5b1bd1934 update sprite 2020-09-19 16:41:26 +02:00
Kevin Levron
17e334444d improve hmr with __hmrId 2020-09-19 16:40:58 +02:00
Kevin Levron
eb0568fa82 move demos 2020-09-19 12:42:06 +02:00
Kevin Levron
0e21aeaf28 wip 2020-09-19 12:18:55 +02:00
Kevin Levron
af4859fb0c improve hmr 2020-09-19 12:16:16 +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
8eb6e0ec93 update examples 2020-09-18 17:20:10 +02:00
Kevin Levron
eb74b5b54f wip 2020-09-18 17:08:28 +02:00
Kevin Levron
27c22b4e20 camera watch props 2020-09-18 16:28:17 +02:00
Kevin Levron
cc777f0ac0 wip 2020-09-17 22:56:02 +02:00
Kevin Levron
9ceedcdade text align 2020-09-17 22:47:32 +02:00
Kevin Levron
8a5040e9f6 add text mesh 2020-09-17 22:37:19 +02:00
Kevin Levron
f239ba8619 update sub surface 2020-09-17 17:09:45 +02:00
Kevin Levron
e61c5ccb4a fix rollup forOf 2020-09-17 10:57:13 +02:00
Kevin Levron
7198c51aea update materials 2020-09-17 10:16:02 +02:00
Kevin Levron
59c30ad955 0.0.6 2020-09-16 23:54:14 +02:00
Kevin Levron
192038ad0c update examples 2020-09-16 23:48:09 +02:00
Kevin Levron
fe7823599e update test 2 2020-09-16 23:28:21 +02:00
Kevin Levron
3a3f446fdb fix typo 2020-09-16 23:27:40 +02:00
Kevin Levron
6040b6f44d add effects 2020-09-16 23:27:29 +02:00
Kevin Levron
b66fbdbd7d update examples 2020-09-16 21:12:03 +02:00
Kevin Levron
83168ee595 add lerpv3 2020-09-16 21:11:45 +02:00
Kevin Levron
859d82e4e3 update materials 2020-09-16 21:11:23 +02:00
Kevin Levron
9bb438dd97 wip 2020-09-16 15:50:31 +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
207fbc3f70 add plane mesh 2020-09-15 16:21:07 +02:00
Kevin Levron
26ab54bd66 wip 2020-09-15 14:59:34 +02:00
Kevin Levron
1fa322e91a improve shadow 2020-09-15 11:55:00 +02:00
Kevin Levron
946c83388b shadow test 2020-09-15 11:48:29 +02:00
Kevin Levron
355576b8ae wip 2020-09-15 11:30:30 +02:00
Kevin Levron
726087cc3c geometries refactor 2020-09-15 10:51:38 +02:00
Kevin Levron
2daac794a8 wip 2020-09-15 10:07:57 +02:00
Kevin Levron
7b147453af InstancedMesh test 2020-09-15 00:07:46 +02:00
Kevin Levron
4052ea7c5f remove comments 2020-09-14 23:14:24 +02:00
Kevin Levron
fb5fcfdb6c improve poc 2020-09-14 22:53:30 +02:00
Kevin Levron
b177aa4341 remove animate test 2020-09-14 17:07:25 +02:00
Kevin Levron
a21071af6a init 2020-09-14 16:57:11 +02:00