basilisk-engine 0.1.1__py3-none-any.whl → 0.1.2__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 basilisk-engine might be problematic. Click here for more details.
- basilisk/render/image_handler.py +3 -2
- {basilisk_engine-0.1.1.dist-info → basilisk_engine-0.1.2.dist-info}/METADATA +1 -1
- {basilisk_engine-0.1.1.dist-info → basilisk_engine-0.1.2.dist-info}/RECORD +5 -5
- {basilisk_engine-0.1.1.dist-info → basilisk_engine-0.1.2.dist-info}/WHEEL +0 -0
- {basilisk_engine-0.1.1.dist-info → basilisk_engine-0.1.2.dist-info}/top_level.txt +0 -0
basilisk/render/image_handler.py
CHANGED
|
@@ -65,10 +65,11 @@ class ImageHandler():
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
for size in self.texture_arrays:
|
|
68
|
-
#
|
|
68
|
+
# Check that there are textures in the bucket
|
|
69
|
+
if not len(self.texture_arrays[size]): continue
|
|
69
70
|
array_data = np.array(self.texture_arrays[size])
|
|
70
71
|
dim = (size, size, len(self.texture_arrays[size]))
|
|
71
|
-
|
|
72
|
+
|
|
72
73
|
# Make the array
|
|
73
74
|
self.texture_arrays[size] = self.ctx.texture_array(size=dim, components=4, data=array_data)
|
|
74
75
|
# Texture OpenGl settings
|
|
@@ -65,7 +65,7 @@ basilisk/render/chunk.py,sha256=YNtoXrZN175u0USSCkpO3_0FiMrBIoaqMZl9XAoJLAA,2656
|
|
|
65
65
|
basilisk/render/chunk_handler.py,sha256=-vlrlEDqZIoBom2YK8c1yu9sGb7AHH-IbkI4IWYYd5Y,6168
|
|
66
66
|
basilisk/render/frame.py,sha256=OwgDtBK3EtXTD8e6o8chAl0Wu3fg-KwTEYQg1-r21y8,6728
|
|
67
67
|
basilisk/render/image.py,sha256=_VB9e_2iRrjIQGS9cQa9V0xJ42x29AtYsu6GHSWLRRQ,2625
|
|
68
|
-
basilisk/render/image_handler.py,sha256=
|
|
68
|
+
basilisk/render/image_handler.py,sha256=6limLZvLznUK_l1UdEBsQ3XEPnnrCLzmBzSyifbV81M,4351
|
|
69
69
|
basilisk/render/light.py,sha256=hFqODv9iK4GEDZeDyBHxOWwwd4v8Pm089_xoScBMjVY,3879
|
|
70
70
|
basilisk/render/light_handler.py,sha256=Le5InqqjgglSXUu7MwkVVsb7WbNJeRkRKldYDQGr6kg,2161
|
|
71
71
|
basilisk/render/material.py,sha256=JmmwCxSYkPLHw73bH-7SzPo5ewzbU3QPTIvI_2pInXQ,9655
|
|
@@ -89,7 +89,7 @@ basilisk/shaders/particle.frag,sha256=Cv8cWQpVVQvhZeWj3NqL0D5nLtSO3EWV0VzOU-ZVL4
|
|
|
89
89
|
basilisk/shaders/particle.vert,sha256=ElXzT7ywiZ0SjrFcUistVDBi4wOobQ7_J5O7XVxrsVs,3027
|
|
90
90
|
basilisk/shaders/sky.frag,sha256=vTmZ1Xsd601_gmeBRfLYodHuBoBDI-M_1IybRt0ZDFk,178
|
|
91
91
|
basilisk/shaders/sky.vert,sha256=v_BSdnMiljSJGPqno-J_apAiom38IrBzbDoxM7pIgwI,345
|
|
92
|
-
basilisk_engine-0.1.
|
|
93
|
-
basilisk_engine-0.1.
|
|
94
|
-
basilisk_engine-0.1.
|
|
95
|
-
basilisk_engine-0.1.
|
|
92
|
+
basilisk_engine-0.1.2.dist-info/METADATA,sha256=f2o57SAmYiM3Mx6GT0Xq2I3G1FS0jrCEfEYbepAyZqo,1146
|
|
93
|
+
basilisk_engine-0.1.2.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
94
|
+
basilisk_engine-0.1.2.dist-info/top_level.txt,sha256=enlSYSf7CUyAly1jmUCNNGInTbaFUjGk4SKwyckZQkw,9
|
|
95
|
+
basilisk_engine-0.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|