vuer 0.0.8__py3-none-any.whl → 0.0.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of vuer might be problematic. Click here for more details.

Binary file
Binary file
vuer/schemas.py CHANGED
@@ -292,12 +292,15 @@ class DefaultScene(Scene):
292
292
  show_helper=True,
293
293
  **kwargs,
294
294
  ):
295
- super().__init__(
296
- # Ambient Light does not have helper because it is ambient.
297
- AmbientLight(intensity=0.5, key="default_ambient_light"),
295
+ rawChildren = [
296
+ AmbientLight(intensity=1.0, key="default_ambient_light"),
298
297
  DirectionalLight(
299
298
  intensity=1, key="default_directional_light", helper=show_helper
300
299
  ),
300
+ *(rawChildren or []),
301
+ ]
302
+ super().__init__(
303
+ # Ambient Light does not have helper because it is ambient.
301
304
  *children,
302
305
  rawChildren=rawChildren,
303
306
  htmlChildren=htmlChildren,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vuer
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Home-page: https://github.com/geyang/vuer
5
5
  Author: Ge Yang<ge.ike.yang@gmail.com>
6
6
  Author-email: ge.ike.yang@gmail.com
@@ -40,7 +40,7 @@ conda activate vuer
40
40
 
41
41
  Install vuer
42
42
  ```bash
43
- pip install vuer==0.0.7rc2
43
+ pip install vuer==0.0.9
44
44
 
45
45
  pip install numpy
46
46
  pip install trimesh
@@ -49,7 +49,9 @@ pip install aiohttp-cors
49
49
  pip install pillow
50
50
  ```
51
51
 
52
- Now, to run the examples, first download the example datasets
52
+ Now, to run the examples, first download the example datasets.
53
+
54
+ Each subdirectory in the `assets` directory contains a `Makefile`. Run the `make` command in each subdirectory to download the datasets. For example:
53
55
 
54
56
  ```bash
55
57
  cd assets/static_3d
@@ -69,10 +71,10 @@ python 01_trimesh.py
69
71
 
70
72
  https://www.docslikecode.com/learn/05-cd-for-docs/
71
73
 
72
- ```bash
73
- cd docs
74
- pip install -r requirements.txt
75
- ```
74
+ ```bash
75
+ cd docs
76
+ pip install -r requirements.txt
77
+ ```
76
78
 
77
79
 
78
80
 
@@ -1,15 +1,15 @@
1
1
  vuer/__init__.py,sha256=x2ZqgbBIDHQr7UvdkKhVdtYToIZdhXw4XTRnfrQiBos,28
2
2
  vuer/base.py,sha256=ZpZJoOFXh73a0yiWep-S3SZHY4dgyuxLki4HT2A8k-o,2974
3
3
  vuer/events.py,sha256=sfl5m1J0Tc3kDnboLGHQwELfBAUokA-ME-84OfvzfOg,4962
4
- vuer/schemas.py,sha256=p3NSxSlGbNc-vgx249oHlN4IicG8b3b-SLHn2WoVBKs,13285
4
+ vuer/schemas.py,sha256=4ebQZWk02a3W-YNkj3wkifJTQZBoffTzJdZGPjYoW4g,13353
5
5
  vuer/serdes.py,sha256=_4q65iHmIW-Op5OCvNwgAy7Z4ofOcvuW3NfTbRfiuZo,2398
6
6
  vuer/server.py,sha256=JAJMUDKBAfmY9XQ2-KHYy7Ea_tWK3H5Bw186ZPT8fJM,10958
7
7
  vuer/types.py,sha256=4jVXsuLjaQwmnCrK9j9G6vSVbmb8cq72WhptZg3qOuU,681
8
8
  vuer/__pycache__/__init__.cpython-38.pyc,sha256=LI9NbVr-FxZraiRRd33pmOxNogkeiyVNjbZKLq-l93o,166
9
9
  vuer/__pycache__/base.cpython-38.pyc,sha256=Y6PEto5NzO42uoQGObSAJJ6SDN8UTsx4oLqvemV9MZU,3868
10
10
  vuer/__pycache__/events.cpython-38.pyc,sha256=P7yQWuaQWH8oQ6pgU8cfJDDzQXqkxtJChkpGwQxtnR0,6543
11
- vuer/__pycache__/schemas.cpython-38.pyc,sha256=Mpg5Lmwe0mgPsye4ocaFf2_GQ7dfF1jqfk8ejFomBrc,18716
12
- vuer/__pycache__/serdes.cpython-38.pyc,sha256=yzEGGE9mUzef69GR28ERGiVr2-Vyo0vg9UgNlFbinqQ,2032
11
+ vuer/__pycache__/schemas.cpython-38.pyc,sha256=dWtBo-NzIZse1Ld6AD_HzB_5ZTou56oD5a5kBhFDEHU,18716
12
+ vuer/__pycache__/serdes.cpython-38.pyc,sha256=oT1A94H8ayRCxNnw0L-7Q5Dt3535MOwXZMkvyQQvB9M,2032
13
13
  vuer/__pycache__/server.cpython-38.pyc,sha256=LhABfyQZmiWM9akGKwvDqgKByUTYK11q-raUCpWQr_Y,10518
14
14
  vuer/__pycache__/types.cpython-38.pyc,sha256=c5flT-KV4D-N4Gz0v7FzLtAa9hiS9B5J_UeB2h5JiDY,1565
15
15
  vuer/addons/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -21,9 +21,9 @@ vuer/addons/nerf_vuer/render_components.py,sha256=XilHnJySJWVgmdUbPFNYyc_YWV8O5A
21
21
  vuer/addons/nerf_vuer/render_nodes.py,sha256=5TKqIbMPiOtBxfF4FQI6uB0w_9FTfGiwS8xRbhPa0_g,14441
22
22
  vuer/addons/nerfuer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
23
  vuer/addons/nerfuer/render_nodes.py,sha256=EJK5N3xne5n7abTaAoLPX7SRqQ_tEen9zNypvSnZTTw,4465
24
- vuer-0.0.8.dist-info/LICENSE,sha256=MGF-inVBUaGe2mEjqT0g6XsHIXwoNXgNHqD7Z1MzR0k,1063
25
- vuer-0.0.8.dist-info/METADATA,sha256=xtZICIhjWkWpsNGIDZW0hpoA5pDp6Tl0ErRHALHVv_Y,1557
26
- vuer-0.0.8.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
27
- vuer-0.0.8.dist-info/entry_points.txt,sha256=J_NM6fbpipmD9oP7cdxd1UyBR8mVEQVx0xjlE_56yss,41
28
- vuer-0.0.8.dist-info/top_level.txt,sha256=ermmVkwvGFAK4gfSgDIwOmKpxwpqNt-oo7gVQQUSHok,5
29
- vuer-0.0.8.dist-info/RECORD,,
24
+ vuer-0.0.9.dist-info/LICENSE,sha256=MGF-inVBUaGe2mEjqT0g6XsHIXwoNXgNHqD7Z1MzR0k,1063
25
+ vuer-0.0.9.dist-info/METADATA,sha256=Hg8Dvos7jt9H11n3PJGlfioXEtdNjQ8FoHg-cM-v6Qs,1691
26
+ vuer-0.0.9.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
27
+ vuer-0.0.9.dist-info/entry_points.txt,sha256=J_NM6fbpipmD9oP7cdxd1UyBR8mVEQVx0xjlE_56yss,41
28
+ vuer-0.0.9.dist-info/top_level.txt,sha256=ermmVkwvGFAK4gfSgDIwOmKpxwpqNt-oo7gVQQUSHok,5
29
+ vuer-0.0.9.dist-info/RECORD,,
File without changes
File without changes