kovacsv
504c38848d
Automatically remove trailing whitespaces in Visual Studio Code.
2021-10-25 16:30:25 +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
9901ba1f4c
Add sphere to function names where a sphere is expected.
2021-07-27 08:14:31 +02:00
kovacsv
d992b42541
Use arrow callback instead of function.
2021-07-22 21:11:58 +02:00
kovacsv
e49bd60561
Add the possibility to add environment map to self-hosted viewer.
2021-07-20 21:08:02 +02:00
kovacsv
682976075d
Add more self-host examples.
2021-07-17 21:49:29 +02:00
kovacsv
239a4df91c
Add possibility to init only one viewer manually.
2021-07-17 09:50:23 +02:00
kovacsv
5851aedb1d
Use arrow callbacks everywhere.
2021-07-12 08:49:12 +02:00
kovacsv
b063321a5b
Rename url parameters for default and background color.
2021-07-11 15:44:22 +02:00
kovacsv
14d11a0c41
Set background color when using the viewer on your website #92
2021-06-24 19:36:15 +02:00
kovacsv
f4b8ca18c6
Callback instead of return value because of async loading.
2021-06-24 18:24:12 +02:00
kovacsv
5a027f193f
Return the created viewer elements so later modifications are possible.
2021-06-24 18:20:33 +02:00
Viktor Kovacs
0d329ea37b
Add Rhino exporter.
2021-04-25 18:01:52 +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
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
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
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