Commit Graph

27 Commits

Author SHA1 Message Date
kovacsv
494ef4697b Move shading parameters to a separate class. 2021-10-29 18:19:36 +02:00
kovacsv
654ffd0acc Use one main object in viewer instead of an array of meshes. 2021-10-22 17:25:16 +02:00
kovacsv
471a6cd3fa Minor modification. 2021-08-17 19:20:44 +02:00
kovacsv
9901ba1f4c Add sphere to function names where a sphere is expected. 2021-07-27 08:14:31 +02:00
kovacsv
9405aff3dd Make mesh visibility options available from context menu #102 2021-07-24 13:49:22 +02:00
kovacsv
3f30909b2e Use Physically Based Rendering when possible #99 2021-07-19 19:31:12 +02:00
kovacsv
ec4bc495a2 Add reset to defaults button to settings panel. 2021-07-13 06:42:30 +02:00
kovacsv
5851aedb1d Use arrow callbacks everywhere. 2021-07-12 08:49:12 +02:00
kovacsv
2b38556eff Change canvas background color #85 2021-06-25 08:41:34 +02:00
kovacsv
14d11a0c41 Set background color when using the viewer on your website #92 2021-06-24 19:36:15 +02:00
Viktor Kovacs
756c6376c2 Visual glitches on mobile #75 2021-06-03 08:29:12 +02:00
Viktor Kovacs
377ab38e6c All materials render black on some mobile devices #69 2021-05-29 14:07:41 +02:00
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