Viktor Kovacs
e9509d1696
Use wheel event instead of deprecated DOMMouseScroll and mousewheel.
2021-05-09 15:38:32 +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
0d329ea37b
Add Rhino exporter.
2021-04-25 18:01:52 +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
6fbbdf4b69
Make a parameter from default color instead of the a member in importer.
2021-04-07 15:07:12 +02:00
Viktor Kovacs
8a29a6c682
Default color handling (switched off).
2021-04-05 12:22:59 +02:00
Viktor Kovacs
ca4e0ef1d4
Default color handling during embedding and engine usage.
2021-04-05 10:20:26 +02:00
Viktor Kovacs
d43477d726
Self-hosted viewers should detect size automatically based on the size of the container div #43
...
Now the viewer's size is based on the parent container's size (not the width and height attribute) so it's possible to style the parent container with css and even use it in fullscreen.
2021-04-02 18:52:00 +02:00
Viktor Kovacs
cafb7171f9
Add parameter handling utilities.
2021-04-02 10:49:01 +02:00
Viktor Kovacs
8e7bebaf5f
Rename urlutils to paramutils.
2021-04-02 10:38:53 +02:00
Viktor Kovacs
6d23481619
Use the camera recommended by the importer in case of no camera defined during embedding or self-hosting.
2021-04-02 10:05:47 +02:00
Viktor Kovacs
473da09052
Add function to reload the same model again.
2021-04-02 10:05:18 +02:00
Viktor Kovacs
d8aa2feac3
Separate entities for url parameter handling.
2021-04-01 15:04:17 +02:00
Viktor Kovacs
c770b84e26
Replace tabs with spaces everywhere.
2021-03-31 18:02:14 +02:00
Viktor Kovacs
e48c1b51e1
Pan with middle mouse #41
2021-03-31 16:20:50 +02:00
Viktor Kovacs
4acbf3046c
Get rendered image as data url from the viewer.
2021-03-31 11:49:02 +02:00
Viktor Kovacs
0c394f9aa8
Handle buffer cache by importers instead of the main importer object.
2021-03-30 12:21:46 +02:00
Viktor Kovacs
9264c1dd6d
Add code for new version.
2021-03-27 08:29:19 +01:00