Commit Graph

15 Commits

Author SHA1 Message Date
Viktor Kovacs
31635229af Remove dead code (also contained a typo). 2021-05-09 15:21:59 +02:00
Viktor Kovacs
7b7a989b1e Fix object detection under mouse. 2021-05-05 08:09:08 +02:00
Viktor Kovacs
72e45a8030 Separate class to store geometry. 2021-04-30 07:49:36 +02:00
Viktor Kovacs
b47d6b0ce4 Maintain device pixel ratio during resize, so the render won't be blurry when the users set the scale for the whole webpage. 2021-04-25 15:33:36 +02:00
Viktor Kovacs
ba0d642512
Revert "Add optional edge displaying and settings" 2021-04-25 15:19:17 +02:00
X-Ryl669
8a5782b8ec Add optional edge displaying and settings 2021-04-23 17:55:35 +02:00
Viktor Kovacs
8c6029d52d Hi-DPI aware #60
Take device pixel ration in consideration when initializing renderer and when saving to a fixed size png.
2021-04-22 08:10:43 +02:00
Viktor Kovacs
2740de7098 Handle invalid camera when moving. 2021-04-20 15:20:11 +02:00
Viktor Kovacs
615bab3c4d Do not call camera move when the new camera is invalid. 2021-04-20 15:17:05 +02:00
Viktor Kovacs
3f5d29f9fc Handle instances in rhino importer. 2021-04-16 14:47:18 +02:00
Viktor Kovacs
e9305ba33c Export as png #39 2021-04-11 12:24:41 +02:00
Viktor Kovacs
3607ab3649 Always use texture buffer instead of url in case of export. 2021-04-09 08:25:00 +02:00
Viktor Kovacs
c770b84e26 Replace tabs with spaces everywhere. 2021-03-31 18:02:14 +02:00
Viktor Kovacs
4acbf3046c Get rendered image as data url from the viewer. 2021-03-31 11:49:02 +02:00
Viktor Kovacs
9264c1dd6d Add code for new version. 2021-03-27 08:29:19 +01:00