Commit Graph
328 Commits
Author SHA1 Message Date
James Smith 58e15811bc use cocoon to edit model links 2021-03-01 23:20:54 +00:00
James Smith 68e51c49f2 Merge pull request #54 from Floppy/obj-loading
Load OBJ files properly
2021-02-25 01:45:54 +00:00
James Smith 38b1efec3a load all geometry from OBJ files
resolves #33
2021-02-25 01:40:50 +00:00
James Smith 2bd2ef0f82 temporary refactor of object creation 2021-02-25 01:33:52 +00:00
James Smith 87c8f83052 remove redundant THREE.Group 2021-02-25 01:29:57 +00:00
James Smith 906040eb24 add grid helper to scene, not loaded object 2021-02-24 22:59:03 +00:00
James Smith 59558c0fcf rotate entire scene 2021-02-24 22:58:30 +00:00
James Smith 3088e0940c automatically dispose of all geometry and materials in the scene 2021-02-24 22:56:51 +00:00
James Smith 96d36878e8 add bootstrap icons and make part buttons more compact 2021-02-24 00:14:49 +00:00
James Smith 98fcfb9e59 fix lint problems 2021-02-22 10:00:12 +00:00
James Smith f70776be7c Only load when the canvas becomes visible 2021-02-20 18:38:20 +00:00
James Smith f84913299b refactor preview renderer into a class 2021-02-20 18:14:08 +00:00
James Smith 9d9390ff16 shonky hack to show something for multi-mesh OBJ files 2021-02-13 11:45:47 +00:00
James Smith e24b9796be lint js 2021-02-09 22:03:02 +00:00
James Smith f196e73193 lets go synthwave 2021-02-09 22:03:02 +00:00
James Smith 15981ccea2 improve positioning 2021-02-09 22:03:01 +00:00
James Smith 64f5e32cde clean up after, and show a grid 2021-02-09 22:03:01 +00:00
James Smith 8a61f9c46a Load previews when turbolinks changes page 2021-02-09 22:03:01 +00:00
James Smith 15536f59a4 Replace lighting with flat shading based on normal direction
should be nice and fast
2021-02-09 22:03:00 +00:00
James Smith ec723c727f lint javascript and fix reports 2021-02-09 22:02:59 +00:00
James Smith dae88a8512 autocentre objects in view 2021-02-09 22:02:58 +00:00
James Smith 2d46211238 add stL loading 2021-02-09 22:02:57 +00:00
James Smith f510a59412 x rotation is weird, let's not do it 2021-02-09 00:14:42 +00:00
James Smith 89220b34e1 load OBJ files and render them 2021-02-08 23:08:01 +00:00
James Smith f1253dbacf auto fif to canvas area 2021-02-08 22:25:43 +00:00
James Smith dd32b93e3c move preview into some ujs to avoid script tags 2021-02-08 22:15:22 +00:00
James Smith 9ca130b8e0 attempt to configure three.js through webpack 2021-02-08 21:46:03 +00:00
James Smith 7bc89d0df7 new rails app woohoo
Generated with railsnew.io:
`rails new van_dam --skip-action-mailbox --skip-action-text --skip-system-test --skip-test --template https://www.railsbytes.com/script/zyvso6`
2021-01-30 18:23:33 +00:00