ncca-ngl 0.1.0__tar.gz → 0.1.1__tar.gz

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.
Files changed (148) hide show
  1. ncca_ngl-0.1.1/.github/workflows/sonar-scan.yml +35 -0
  2. ncca_ngl-0.1.1/.github/workflows/uv.yml +30 -0
  3. ncca_ngl-0.1.1/.gitignore +72 -0
  4. ncca_ngl-0.1.1/.pre-commit-config.yaml +12 -0
  5. ncca_ngl-0.1.1/NGLDebug.log +497 -0
  6. {ncca_ngl-0.1.0/src/ncca_ngl.egg-info → ncca_ngl-0.1.1}/PKG-INFO +9 -9
  7. ncca_ngl-0.1.1/TODO.md +13 -0
  8. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/pyproject.toml +14 -8
  9. ncca_ngl-0.1.1/sonar-project.properties +4 -0
  10. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/Primitives.npz +0 -0
  11. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/buddah.npy +0 -0
  12. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/bunny.npy +0 -0
  13. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/cube.npy +0 -0
  14. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/dodecahedron.npy +0 -0
  15. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/dragon.npy +0 -0
  16. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/football.npy +0 -0
  17. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/icosahedron.npy +0 -0
  18. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/octahedron.npy +0 -0
  19. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/teapot.npy +0 -0
  20. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/tetrahedron.npy +0 -0
  21. ncca_ngl-0.1.1/src/ncca/ngl/PrimData/troll.npy +0 -0
  22. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/abstract_vao.py +2 -6
  23. ncca_ngl-0.1.1/src/ncca/ngl/shaders/checker_fragment.glsl +35 -0
  24. ncca_ngl-0.1.1/src/ncca/ngl/shaders/checker_vertex.glsl +19 -0
  25. ncca_ngl-0.1.1/src/ncca/ngl/shaders/colour_fragment.glsl +8 -0
  26. ncca_ngl-0.1.1/src/ncca/ngl/shaders/colour_vertex.glsl +11 -0
  27. ncca_ngl-0.1.1/src/ncca/ngl/shaders/diffuse_fragment.glsl +21 -0
  28. ncca_ngl-0.1.1/src/ncca/ngl/shaders/diffuse_vertex.glsl +24 -0
  29. ncca_ngl-0.1.1/src/ncca/ngl/shaders/text_fragment.glsl +10 -0
  30. ncca_ngl-0.1.1/src/ncca/ngl/shaders/text_geometry.glsl +53 -0
  31. ncca_ngl-0.1.1/src/ncca/ngl/shaders/text_vertex.glsl +18 -0
  32. ncca_ngl-0.1.1/tests/__init__.py +0 -0
  33. ncca_ngl-0.1.1/tests/conftest.py +25 -0
  34. ncca_ngl-0.1.1/tests/files/Arial.ttf +0 -0
  35. ncca_ngl-0.1.1/tests/files/BrokenFloats.obj +10 -0
  36. ncca_ngl-0.1.1/tests/files/BrokenNormals.obj +10 -0
  37. ncca_ngl-0.1.1/tests/files/BrokenUV.obj +10 -0
  38. ncca_ngl-0.1.1/tests/files/CubeNegativeIndex.obj +35 -0
  39. ncca_ngl-0.1.1/tests/files/EditFrag.glsl +10 -0
  40. ncca_ngl-0.1.1/tests/files/EditVert.glsl +7 -0
  41. ncca_ngl-0.1.1/tests/files/SimpleNegativeAll.obj +9 -0
  42. ncca_ngl-0.1.1/tests/files/Tri.xml +24 -0
  43. ncca_ngl-0.1.1/tests/files/TriColour.obj +17 -0
  44. ncca_ngl-0.1.1/tests/files/TriMessedFormat.obj +17 -0
  45. ncca_ngl-0.1.1/tests/files/Triangle1.mtl +6 -0
  46. ncca_ngl-0.1.1/tests/files/Triangle1.obj +17 -0
  47. ncca_ngl-0.1.1/tests/files/Triangle3UV.obj +17 -0
  48. ncca_ngl-0.1.1/tests/files/TriangleVertNormal.obj +14 -0
  49. ncca_ngl-0.1.1/tests/files/TriangleVertsOnly.obj +12 -0
  50. ncca_ngl-0.1.1/tests/files/TriangleVertsUV.obj +15 -0
  51. ncca_ngl-0.1.1/tests/files/failParseVertex.obj +17 -0
  52. ncca_ngl-0.1.1/tests/files/frag.glsl +8 -0
  53. ncca_ngl-0.1.1/tests/files/fragErr.glsl +8 -0
  54. ncca_ngl-0.1.1/tests/files/fragLinkErr.glsl +10 -0
  55. ncca_ngl-0.1.1/tests/files/geo.glsl +8 -0
  56. ncca_ngl-0.1.1/tests/files/geom.glsl +8 -0
  57. ncca_ngl-0.1.1/tests/files/simpleRGB.bmp +0 -0
  58. ncca_ngl-0.1.1/tests/files/simpleRGB.exr +0 -0
  59. ncca_ngl-0.1.1/tests/files/simpleRGB.png +0 -0
  60. ncca_ngl-0.1.1/tests/files/simpleRGB.tga +0 -0
  61. ncca_ngl-0.1.1/tests/files/simpleRGB.tiff +0 -0
  62. ncca_ngl-0.1.1/tests/files/simpleRGBA.bmp +0 -0
  63. ncca_ngl-0.1.1/tests/files/simpleRGBA.exr +0 -0
  64. ncca_ngl-0.1.1/tests/files/simpleRGBA.png +0 -0
  65. ncca_ngl-0.1.1/tests/files/simpleRGBA.tga +0 -0
  66. ncca_ngl-0.1.1/tests/files/simpleRGBA.tiff +0 -0
  67. ncca_ngl-0.1.1/tests/files/testUniformBufferFragment.glsl +9 -0
  68. ncca_ngl-0.1.1/tests/files/testUniformBufferVertex.glsl +17 -0
  69. ncca_ngl-0.1.1/tests/files/testUniformFragment.glsl +19 -0
  70. ncca_ngl-0.1.1/tests/files/testUniformVertex.glsl +49 -0
  71. ncca_ngl-0.1.1/tests/files/vert.glsl +6 -0
  72. ncca_ngl-0.1.1/tests/files/vertErr.glsl +6 -0
  73. ncca_ngl-0.1.1/tests/files/vertLinkErr.glsl +7 -0
  74. ncca_ngl-0.1.1/tests/mat3Data.py +685 -0
  75. ncca_ngl-0.1.1/tests/mat4Data.py +1105 -0
  76. ncca_ngl-0.1.1/tests/tempColourObj.obj +9 -0
  77. ncca_ngl-0.1.1/tests/tempObj.obj +9 -0
  78. ncca_ngl-0.1.1/uv.lock +1028 -0
  79. ncca_ngl-0.1.0/PKG-INFO +0 -23
  80. ncca_ngl-0.1.0/setup.cfg +0 -4
  81. ncca_ngl-0.1.0/src/ncca_ngl.egg-info/SOURCES.txt +0 -71
  82. ncca_ngl-0.1.0/src/ncca_ngl.egg-info/dependency_links.txt +0 -1
  83. ncca_ngl-0.1.0/src/ncca_ngl.egg-info/requires.txt +0 -6
  84. ncca_ngl-0.1.0/src/ncca_ngl.egg-info/top_level.txt +0 -1
  85. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/LICENSE.txt +0 -0
  86. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/README.md +0 -0
  87. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/PrimData/pack_arrays.py +0 -0
  88. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/__init__.py +0 -0
  89. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/base_mesh.py +0 -0
  90. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/base_mesh.pyi +0 -0
  91. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/bbox.py +0 -0
  92. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/bezier_curve.py +0 -0
  93. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/first_person_camera.py +0 -0
  94. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/image.py +0 -0
  95. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/log.py +0 -0
  96. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/mat2.py +0 -0
  97. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/mat3.py +0 -0
  98. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/mat4.py +0 -0
  99. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/multi_buffer_vao.py +0 -0
  100. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/obj.py +0 -0
  101. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/plane.py +0 -0
  102. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/primitives.py +0 -0
  103. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/pyside_event_handling_mixin.py +0 -0
  104. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/quaternion.py +0 -0
  105. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/random.py +0 -0
  106. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/shader.py +0 -0
  107. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/shader_lib.py +0 -0
  108. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/shader_program.py +0 -0
  109. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/simple_index_vao.py +0 -0
  110. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/simple_vao.py +0 -0
  111. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/text.py +0 -0
  112. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/texture.py +0 -0
  113. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/transform.py +0 -0
  114. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/util.py +0 -0
  115. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/vao_factory.py +0 -0
  116. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/vec2.py +0 -0
  117. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/vec2_array.py +0 -0
  118. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/vec3.py +0 -0
  119. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/vec3_array.py +0 -0
  120. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/vec4.py +0 -0
  121. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/src/ncca/ngl/vec4_array.py +0 -0
  122. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_base_mesh.py +0 -0
  123. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_bbox.py +0 -0
  124. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_bezier_curve.py +0 -0
  125. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_first_person_camera.py +0 -0
  126. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_image.py +0 -0
  127. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_logging.py +0 -0
  128. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_mat2.py +0 -0
  129. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_mat3.py +0 -0
  130. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_mat4.py +0 -0
  131. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_obj.py +0 -0
  132. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_plane.py +0 -0
  133. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_primitives.py +0 -0
  134. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_pyside_event_handling_mixin.py +0 -0
  135. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_quaternion.py +0 -0
  136. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_random.py +0 -0
  137. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_shaderlib.py +0 -0
  138. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_text.py +0 -0
  139. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_texture.py +0 -0
  140. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_transform.py +0 -0
  141. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_util.py +0 -0
  142. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_vao.py +0 -0
  143. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_vec2.py +0 -0
  144. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_vec2_array.py +0 -0
  145. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_vec3.py +0 -0
  146. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_vec3_array.py +0 -0
  147. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_vec4.py +0 -0
  148. {ncca_ngl-0.1.0 → ncca_ngl-0.1.1}/tests/test_vec4_array.py +0 -0
@@ -0,0 +1,35 @@
1
+ name: Sonar Scanner
2
+ on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+ types: [opened, synchronize, reopened]
8
+ jobs:
9
+ sonarcloud:
10
+ name: SonarCloud
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.13"]
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ with:
18
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
19
+ - name: Install uv
20
+ uses: astral-sh/setup-uv@v6
21
+ with:
22
+ python-version: ${{ matrix.python-version }}
23
+
24
+ - name: Install the project
25
+ run: uv sync --locked --all-extras --dev
26
+
27
+ - name: Install dependencies and run coverag
28
+ run: |
29
+ uv run coverage run --source=src/ngl -m pytest -v tests && uv run coverage report -m
30
+ uv run coverage xml
31
+ - name: SonarCloud Scan
32
+ uses: SonarSource/sonarqube-scan-action@v5.0.0
33
+ env:
34
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
35
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@ -0,0 +1,30 @@
1
+ name: UV Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ build:
11
+ name: UV tests
12
+ runs-on: ${{ matrix.os }}
13
+ strategy:
14
+ matrix:
15
+ os: [ubuntu-latest, macos-latest, windows-latest]
16
+ python-version:
17
+ - "3.13"
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+
21
+ - name: Install uv
22
+ uses: astral-sh/setup-uv@v6
23
+ with:
24
+ python-version: ${{ matrix.python-version }}
25
+
26
+ - name: Install the project
27
+ run: uv sync --locked --all-extras --dev
28
+
29
+ - name: Run tests
30
+ run: uv run pytest tests --ignore=tests/test_shaderlib.py --ignore=tests/test_texture.py --ignore=tests/test_text.py --ignore=tests/test_base_mesh.py --ignore=tests/test_primitives.py --ignore=tests/test_obj.py --ignore=tests/test_vao.py
@@ -0,0 +1,72 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ .vscode/
6
+ .idea
7
+ .ropeproject
8
+ # stubgen files and MyPY
9
+ out/
10
+ .mypy_cache/
11
+ # C extensions
12
+ *.so
13
+
14
+ # Distribution / packaging
15
+ .Python
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ downloads/
20
+ eggs/
21
+ .eggs/
22
+ lib/
23
+ lib64/
24
+ parts/
25
+ sdist/
26
+ var/
27
+ wheels/
28
+ share/python-wheels/
29
+ *.egg-info/
30
+ .installed.cfg
31
+ *.egg
32
+ MANIFEST
33
+ .pytest_cache/
34
+ docs/build
35
+ # PyInstaller
36
+ # Usually these files are written by a python script from a template
37
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
38
+ *.manifest
39
+ *.spec
40
+
41
+ # Installer logs
42
+ pip-log.txt
43
+ pip-delete-this-directory.txt
44
+
45
+ # Unit test / coverage reports
46
+ htmlcov/
47
+ .tox/
48
+ .nox/
49
+ .coverage
50
+ .coverage.*
51
+ .cache
52
+ nosetests.xml
53
+ coverage.xml
54
+ *.cover
55
+ *.py,cover
56
+ .hypothesis/
57
+ .pytest_cache/
58
+ cover/
59
+
60
+
61
+ # Environments
62
+ .env
63
+ .venv
64
+ env/
65
+ venv/
66
+ ENV/
67
+ env.bak/
68
+ venv.bak/
69
+
70
+
71
+ # Cython debug symbols
72
+ cython_debug/
@@ -0,0 +1,12 @@
1
+ repos:
2
+ - repo: https://github.com/astral-sh/ruff-pre-commit
3
+ # Ruff version.
4
+ rev: v0.12.10
5
+ hooks:
6
+ # Run the linter.
7
+ - id: ruff-check
8
+ types_or: [python, pyi]
9
+ args: ["check", "--select", "I", "--fix"]
10
+ # Run the formatter.
11
+ - id: ruff-format
12
+ types_or: [python, pyi]
@@ -0,0 +1,497 @@
1
+ 08:46:52 - INFO - This is an info message from the application
2
+ 08:46:52 - WARNING - This is a warning message
3
+ 08:46:52 - ERROR - This is an error message
4
+ 08:46:53 - ERROR - Can only create VBO from all Triangle data at present
5
+ 08:46:53 - INFO - Registered uniform: Colour (type: vec4, location: 0)
6
+ 08:46:53 - INFO - Registered uniform: MVP (type: mat4, location: 1)
7
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
8
+ 08:46:53 - INFO - Shader program 'nglColourShader' created
9
+ 08:46:53 - INFO - Registered uniform: Colour (type: vec4, location: 0)
10
+ 08:46:53 - INFO - Registered uniform: MVP (type: mat4, location: 1)
11
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
12
+ 08:46:53 - INFO - Shader program 'nglColourShader' created
13
+ 08:46:53 - INFO - Registered uniform: Colour (type: vec4, location: 0)
14
+ 08:46:53 - INFO - Registered uniform: MVP (type: mat4, location: 1)
15
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
16
+ 08:46:53 - INFO - Shader program 'nglColourShader' created
17
+ 08:46:53 - INFO - Registered uniform: Colour (type: vec4, location: 0)
18
+ 08:46:53 - INFO - Registered uniform: MVP (type: mat4, location: 1)
19
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
20
+ 08:46:53 - INFO - Shader program 'nglColourShader' created
21
+ 08:46:53 - WARNING - VAO exist so returning
22
+ 08:46:53 - WARNING - Creating new VAO
23
+ 08:46:53 - INFO - Registered uniform: Colour (type: vec4, location: 0)
24
+ 08:46:53 - INFO - Registered uniform: MVP (type: mat4, location: 1)
25
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
26
+ 08:46:53 - INFO - Shader program 'nglColourShader' created
27
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
28
+ 08:46:53 - INFO - Shader program 'Test' created
29
+ 08:46:53 - WARNING - Default shaders not loaded loading now
30
+ 08:46:53 - INFO - Registered uniform: Colour (type: vec4, location: 0)
31
+ 08:46:53 - INFO - Registered uniform: MVP (type: mat4, location: 1)
32
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
33
+ 08:46:53 - INFO - Shader program 'DefaultShader.COLOUR' created
34
+ 08:46:53 - INFO - DefaultShader.COLOUR shader loaded successfully
35
+ 08:46:53 - INFO - Registered uniform: Colour (type: vec4, location: 0)
36
+ 08:46:53 - INFO - Registered uniform: MV (type: mat4, location: 1)
37
+ 08:46:53 - INFO - Registered uniform: MVP (type: mat4, location: 2)
38
+ 08:46:53 - INFO - Registered uniform: lightDiffuse (type: vec4, location: 3)
39
+ 08:46:53 - INFO - Registered uniform: lightPos (type: vec3, location: 4)
40
+ 08:46:53 - INFO - Registered uniform: normalMatrix (type: mat3, location: 5)
41
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
42
+ 08:46:53 - INFO - Shader program 'DefaultShader.DIFFUSE' created
43
+ 08:46:53 - INFO - DefaultShader.DIFFUSE shader loaded successfully
44
+ 08:46:53 - INFO - Registered uniform: MVP (type: mat4, location: 0)
45
+ 08:46:53 - INFO - Registered uniform: checkOn (type: bool, location: 1)
46
+ 08:46:53 - INFO - Registered uniform: checkSize (type: float, location: 2)
47
+ 08:46:53 - INFO - Registered uniform: colour1 (type: vec4, location: 3)
48
+ 08:46:53 - INFO - Registered uniform: colour2 (type: vec4, location: 4)
49
+ 08:46:53 - INFO - Registered uniform: lightDiffuse (type: vec4, location: 5)
50
+ 08:46:53 - INFO - Registered uniform: lightPos (type: vec3, location: 6)
51
+ 08:46:53 - INFO - Registered uniform: normalMatrix (type: mat3, location: 7)
52
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
53
+ 08:46:53 - INFO - Shader program 'DefaultShader.CHECKER' created
54
+ 08:46:53 - INFO - DefaultShader.CHECKER shader loaded successfully
55
+ 08:46:53 - INFO - Registered uniform: fontSize (type: float, location: 0)
56
+ 08:46:53 - INFO - Registered uniform: screenSize (type: vec2, location: 1)
57
+ 08:46:53 - INFO - Registered uniform: textColor (type: vec4, location: 2)
58
+ 08:46:53 - INFO - Registered uniform: textureID (type: sampler2D, location: 3)
59
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
60
+ 08:46:53 - INFO - Shader program 'DefaultShader.TEXT' created
61
+ 08:46:53 - INFO - DefaultShader.TEXT shader loaded successfully
62
+ 08:46:53 - ERROR - Shader 'unknown' not found
63
+ 08:46:53 - ERROR - Error compiling shader self._name='TestVertex': info=b'0(3) : error C7530: OpenGL requires main to return void\n0(3) : error C1110: function "main" has no return statement\n'
64
+ 08:46:53 - ERROR - Failed to compile vertex shader for Test
65
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
66
+ 08:46:53 - ERROR - Error compiling shader self._name='Test3Vert': info=b'0(3) : error C7530: OpenGL requires main to return void\n0(3) : error C1110: function "main" has no return statement\n'
67
+ 08:46:53 - ERROR - Error compiling shader self._name='Test4Frag': info=b'0(5) : error C7530: OpenGL requires main to return void\n0(7) : error C1503: undefined variable "fragColor"\n0(5) : error C1110: function "main" has no return statement\n'
68
+ 08:46:53 - ERROR - Error linking program Test5: b'Vertex info\n-----------\n0(2) : error C5108: unknown semantics "ATTR0.xy" specified for "colour"\n'
69
+ 08:46:53 - INFO - Registered array uniform: testArray[3] (type: vec3, location: 0)
70
+ 08:46:53 - INFO - Also registered individual elements: testArray[0] to testArray[2]
71
+ 08:46:53 - INFO - Registered uniform: testBool (type: bool, location: 3)
72
+ 08:46:53 - INFO - Registered uniform: testFloat (type: float, location: 4)
73
+ 08:46:53 - INFO - Registered uniform: testInt (type: int, location: 5)
74
+ 08:46:53 - INFO - Registered uniform: testInt2 (type: Unknown type 35667, location: 6)
75
+ 08:46:53 - INFO - Registered uniform: testInt3 (type: Unknown type 35668, location: 7)
76
+ 08:46:53 - INFO - Registered uniform: testInt4 (type: Unknown type 35669, location: 8)
77
+ 08:46:53 - INFO - Registered uniform: testMat2 (type: mat2, location: 9)
78
+ 08:46:53 - INFO - Registered uniform: testMat3 (type: mat3, location: 10)
79
+ 08:46:53 - INFO - Registered uniform: testMat4 (type: mat4, location: 11)
80
+ 08:46:53 - INFO - Registered uniform: testVec2 (type: vec2, location: 12)
81
+ 08:46:53 - INFO - Registered uniform: testVec3 (type: vec3, location: 13)
82
+ 08:46:53 - INFO - Registered uniform: testVec4 (type: vec4, location: 14)
83
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
84
+ 08:46:53 - INFO - Shader program 'TestUniform' created
85
+ 08:46:53 - INFO - Registered array uniform: lightPos[2] (type: vec4, location: 0)
86
+ 08:46:53 - INFO - Also registered individual elements: lightPos[0] to lightPos[1]
87
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
88
+ 08:46:53 - INFO - Registered array uniform: lightPos[2] (type: vec4, location: 0)
89
+ 08:46:53 - INFO - Also registered individual elements: lightPos[0] to lightPos[1]
90
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
91
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
92
+ 08:46:53 - ERROR - Error linking program link_fail: b'Vertex info\n-----------\n0(2) : error C5108: unknown semantics "ATTR0.xy" specified for "colour"\n'
93
+ 08:46:53 - ERROR - Error linking program link_fail_exit: b'Vertex info\n-----------\n0(2) : error C5108: unknown semantics "ATTR0.xy" specified for "colour"\n'
94
+ 08:46:53 - INFO - Registered array uniform: testArray[3] (type: vec3, location: 0)
95
+ 08:46:53 - INFO - Also registered individual elements: testArray[0] to testArray[2]
96
+ 08:46:53 - INFO - Registered uniform: testBool (type: bool, location: 3)
97
+ 08:46:53 - INFO - Registered uniform: testFloat (type: float, location: 4)
98
+ 08:46:53 - INFO - Registered uniform: testInt (type: int, location: 5)
99
+ 08:46:53 - INFO - Registered uniform: testInt2 (type: Unknown type 35667, location: 6)
100
+ 08:46:53 - INFO - Registered uniform: testInt3 (type: Unknown type 35668, location: 7)
101
+ 08:46:53 - INFO - Registered uniform: testInt4 (type: Unknown type 35669, location: 8)
102
+ 08:46:53 - INFO - Registered uniform: testMat2 (type: mat2, location: 9)
103
+ 08:46:53 - INFO - Registered uniform: testMat3 (type: mat3, location: 10)
104
+ 08:46:53 - INFO - Registered uniform: testMat4 (type: mat4, location: 11)
105
+ 08:46:53 - INFO - Registered uniform: testVec2 (type: vec2, location: 12)
106
+ 08:46:53 - INFO - Registered uniform: testVec3 (type: vec3, location: 13)
107
+ 08:46:53 - INFO - Registered uniform: testVec4 (type: vec4, location: 14)
108
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
109
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'uniforms'
110
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'uniforms'
111
+ 08:46:53 - WARNING - Uniform location not found for 'nonexistent'
112
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
113
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'simple'
114
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'simple'
115
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'simple'
116
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'simple'
117
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'simple'
118
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'simple'
119
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'simple'
120
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'simple'
121
+ 08:46:53 - INFO - Registered array uniform: colors[2] (type: vec4, location: 0)
122
+ 08:46:53 - INFO - Also registered individual elements: colors[0] to colors[1]
123
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
124
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
125
+ 08:46:53 - INFO - Registered array uniform: testArray[3] (type: vec3, location: 0)
126
+ 08:46:53 - INFO - Also registered individual elements: testArray[0] to testArray[2]
127
+ 08:46:53 - INFO - Registered uniform: testBool (type: bool, location: 3)
128
+ 08:46:53 - INFO - Registered uniform: testFloat (type: float, location: 4)
129
+ 08:46:53 - INFO - Registered uniform: testInt (type: int, location: 5)
130
+ 08:46:53 - INFO - Registered uniform: testInt2 (type: Unknown type 35667, location: 6)
131
+ 08:46:53 - INFO - Registered uniform: testInt3 (type: Unknown type 35668, location: 7)
132
+ 08:46:53 - INFO - Registered uniform: testInt4 (type: Unknown type 35669, location: 8)
133
+ 08:46:53 - INFO - Registered uniform: testMat2 (type: mat2, location: 9)
134
+ 08:46:53 - INFO - Registered uniform: testMat3 (type: mat3, location: 10)
135
+ 08:46:53 - INFO - Registered uniform: testMat4 (type: mat4, location: 11)
136
+ 08:46:53 - INFO - Registered uniform: testVec2 (type: vec2, location: 12)
137
+ 08:46:53 - INFO - Registered uniform: testVec3 (type: vec3, location: 13)
138
+ 08:46:53 - INFO - Registered uniform: testVec4 (type: vec4, location: 14)
139
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
140
+ 08:46:53 - INFO - Registered uniforms for uniforms:
141
+ 08:46:53 - INFO - testArray[3] (type: vec3, location: 0)
142
+ 08:46:53 - INFO - testBool (type: bool, location: 3)
143
+ 08:46:53 - INFO - testFloat (type: float, location: 4)
144
+ 08:46:53 - INFO - testInt (type: int, location: 5)
145
+ 08:46:53 - INFO - testInt2 (type: Unknown type 35667, location: 6)
146
+ 08:46:53 - INFO - testInt3 (type: Unknown type 35668, location: 7)
147
+ 08:46:53 - INFO - testInt4 (type: Unknown type 35669, location: 8)
148
+ 08:46:53 - INFO - testMat2 (type: mat2, location: 9)
149
+ 08:46:53 - INFO - testMat3 (type: mat3, location: 10)
150
+ 08:46:53 - INFO - testMat4 (type: mat4, location: 11)
151
+ 08:46:53 - INFO - testVec2 (type: vec2, location: 12)
152
+ 08:46:53 - INFO - testVec3 (type: vec3, location: 13)
153
+ 08:46:53 - INFO - testVec4 (type: vec4, location: 14)
154
+ 08:46:53 - INFO - Array elements for testArray:
155
+ 08:46:53 - INFO - testArray[0] (type: vec3, location: 0)
156
+ 08:46:53 - INFO - testArray[1] (type: vec3, location: 1)
157
+ 08:46:53 - INFO - testArray[2] (type: vec3, location: 2)
158
+ 08:46:53 - INFO - Properties for shader program uniforms:
159
+ 08:46:53 - INFO - ID: 73
160
+ 08:46:53 - INFO - Link status: 1
161
+ 08:46:53 - INFO - Validate status: 1
162
+ 08:46:53 - INFO - Attached shaders: 2
163
+ 08:46:53 - INFO - Active attributes: 0
164
+ 08:46:53 - INFO - Active uniforms: 13
165
+ 08:46:53 - INFO - Active uniform blocks: 0
166
+ 08:46:53 - INFO - Registered uniform: testMat4x3 (type: Unknown type 35690, location: 0)
167
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
168
+ 08:46:53 - INFO - Registered array uniform: floatArray[3] (type: float, location: 0)
169
+ 08:46:53 - INFO - Also registered individual elements: floatArray[0] to floatArray[2]
170
+ 08:46:53 - INFO - Registered array uniform: intArray[2] (type: int, location: 3)
171
+ 08:46:53 - INFO - Also registered individual elements: intArray[0] to intArray[1]
172
+ 08:46:53 - INFO - Registered array uniform: mat2Array[2] (type: mat2, location: 5)
173
+ 08:46:53 - INFO - Also registered individual elements: mat2Array[0] to mat2Array[1]
174
+ 08:46:53 - INFO - Registered array uniform: mat3Array[2] (type: mat3, location: 7)
175
+ 08:46:53 - INFO - Also registered individual elements: mat3Array[0] to mat3Array[1]
176
+ 08:46:53 - INFO - Registered array uniform: mat4Array[2] (type: mat4, location: 9)
177
+ 08:46:53 - INFO - Also registered individual elements: mat4Array[0] to mat4Array[1]
178
+ 08:46:53 - INFO - Registered array uniform: vec2Array[2] (type: vec2, location: 11)
179
+ 08:46:53 - INFO - Also registered individual elements: vec2Array[0] to vec2Array[1]
180
+ 08:46:53 - INFO - Registered array uniform: vec3Array[2] (type: vec3, location: 13)
181
+ 08:46:53 - INFO - Also registered individual elements: vec3Array[0] to vec3Array[1]
182
+ 08:46:53 - INFO - Registered array uniform: vec4Array[2] (type: vec4, location: 15)
183
+ 08:46:53 - INFO - Also registered individual elements: vec4Array[0] to vec4Array[1]
184
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
185
+ 08:46:53 - INFO - Registered array uniform: floatArray[3] (type: float, location: 0)
186
+ 08:46:53 - INFO - Also registered individual elements: floatArray[0] to floatArray[2]
187
+ 08:46:53 - INFO - Registered array uniform: intArray[2] (type: int, location: 3)
188
+ 08:46:53 - INFO - Also registered individual elements: intArray[0] to intArray[1]
189
+ 08:46:53 - INFO - Registered array uniform: mat2Array[2] (type: mat2, location: 5)
190
+ 08:46:53 - INFO - Also registered individual elements: mat2Array[0] to mat2Array[1]
191
+ 08:46:53 - INFO - Registered array uniform: mat3Array[2] (type: mat3, location: 7)
192
+ 08:46:53 - INFO - Also registered individual elements: mat3Array[0] to mat3Array[1]
193
+ 08:46:53 - INFO - Registered array uniform: mat4Array[2] (type: mat4, location: 9)
194
+ 08:46:53 - INFO - Also registered individual elements: mat4Array[0] to mat4Array[1]
195
+ 08:46:53 - INFO - Registered array uniform: vec2Array[2] (type: vec2, location: 11)
196
+ 08:46:53 - INFO - Also registered individual elements: vec2Array[0] to vec2Array[1]
197
+ 08:46:53 - INFO - Registered array uniform: vec3Array[2] (type: vec3, location: 13)
198
+ 08:46:53 - INFO - Also registered individual elements: vec3Array[0] to vec3Array[1]
199
+ 08:46:53 - INFO - Registered array uniform: vec4Array[2] (type: vec4, location: 15)
200
+ 08:46:53 - INFO - Also registered individual elements: vec4Array[0] to vec4Array[1]
201
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
202
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'array_uniform'
203
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'array_uniform'
204
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'array_uniform'
205
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'array_uniform'
206
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'array_uniform'
207
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'array_uniform'
208
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'array_uniform'
209
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'array_uniform'
210
+ 08:46:53 - INFO - Registered array uniform: floatArray[3] (type: float, location: 0)
211
+ 08:46:53 - INFO - Also registered individual elements: floatArray[0] to floatArray[2]
212
+ 08:46:53 - INFO - Registered array uniform: intArray[2] (type: int, location: 3)
213
+ 08:46:53 - INFO - Also registered individual elements: intArray[0] to intArray[1]
214
+ 08:46:53 - INFO - Registered array uniform: mat2Array[2] (type: mat2, location: 5)
215
+ 08:46:53 - INFO - Also registered individual elements: mat2Array[0] to mat2Array[1]
216
+ 08:46:53 - INFO - Registered array uniform: mat3Array[2] (type: mat3, location: 7)
217
+ 08:46:53 - INFO - Also registered individual elements: mat3Array[0] to mat3Array[1]
218
+ 08:46:53 - INFO - Registered array uniform: mat4Array[2] (type: mat4, location: 9)
219
+ 08:46:53 - INFO - Also registered individual elements: mat4Array[0] to mat4Array[1]
220
+ 08:46:53 - INFO - Registered array uniform: vec2Array[2] (type: vec2, location: 11)
221
+ 08:46:53 - INFO - Also registered individual elements: vec2Array[0] to vec2Array[1]
222
+ 08:46:53 - INFO - Registered array uniform: vec3Array[2] (type: vec3, location: 13)
223
+ 08:46:53 - INFO - Also registered individual elements: vec3Array[0] to vec3Array[1]
224
+ 08:46:53 - INFO - Registered array uniform: vec4Array[2] (type: vec4, location: 15)
225
+ 08:46:53 - INFO - Also registered individual elements: vec4Array[0] to vec4Array[1]
226
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
227
+ 08:46:53 - INFO - Registered uniform: diffuseColor (type: vec4, location: -1)
228
+ 08:46:53 - INFO - Registered uniform: modelMatrix (type: mat4, location: -1)
229
+ 08:46:53 - INFO - Registered uniform: projMatrix (type: mat4, location: -1)
230
+ 08:46:53 - INFO - Registered uniform: shininess (type: float, location: -1)
231
+ 08:46:53 - INFO - Registered uniform: specularColor (type: vec4, location: -1)
232
+ 08:46:53 - INFO - Registered uniform: viewMatrix (type: mat4, location: -1)
233
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 2
234
+ 08:46:53 - INFO - Uniform Block MaterialBlock 0 19
235
+ 08:46:53 - INFO - Uniform Block TransformBlock 1 20
236
+ 08:46:53 - INFO - Registered uniform: diffuseColor (type: vec4, location: -1)
237
+ 08:46:53 - INFO - Registered uniform: modelMatrix (type: mat4, location: -1)
238
+ 08:46:53 - INFO - Registered uniform: projMatrix (type: mat4, location: -1)
239
+ 08:46:53 - INFO - Registered uniform: shininess (type: float, location: -1)
240
+ 08:46:53 - INFO - Registered uniform: specularColor (type: vec4, location: -1)
241
+ 08:46:53 - INFO - Registered uniform: viewMatrix (type: mat4, location: -1)
242
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 2
243
+ 08:46:53 - INFO - Uniform Block MaterialBlock 0 21
244
+ 08:46:53 - INFO - Uniform Block TransformBlock 1 22
245
+ 08:46:53 - WARNING - Uniform block 'NonExistent' not found in shader 'uniform_block'
246
+ 08:46:53 - WARNING - Uniform block 'NonExistent' not found in shader 'uniform_block'
247
+ 08:46:53 - INFO - Registered uniform: diffuseColor (type: vec4, location: -1)
248
+ 08:46:53 - INFO - Registered uniform: modelMatrix (type: mat4, location: -1)
249
+ 08:46:53 - INFO - Registered uniform: projMatrix (type: mat4, location: -1)
250
+ 08:46:53 - INFO - Registered uniform: shininess (type: float, location: -1)
251
+ 08:46:53 - INFO - Registered uniform: specularColor (type: vec4, location: -1)
252
+ 08:46:53 - INFO - Registered uniform: viewMatrix (type: mat4, location: -1)
253
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 2
254
+ 08:46:53 - INFO - Uniform Block MaterialBlock 0 23
255
+ 08:46:53 - INFO - Uniform Block TransformBlock 1 24
256
+ 08:46:53 - INFO - Registered uniform: diffuseColor (type: vec4, location: -1)
257
+ 08:46:53 - INFO - Registered uniform: modelMatrix (type: mat4, location: -1)
258
+ 08:46:53 - INFO - Registered uniform: projMatrix (type: mat4, location: -1)
259
+ 08:46:53 - INFO - Registered uniform: shininess (type: float, location: -1)
260
+ 08:46:53 - INFO - Registered uniform: specularColor (type: vec4, location: -1)
261
+ 08:46:53 - INFO - Registered uniform: viewMatrix (type: mat4, location: -1)
262
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 2
263
+ 08:46:53 - INFO - Uniform Block MaterialBlock 0 25
264
+ 08:46:53 - INFO - Uniform Block TransformBlock 1 26
265
+ 08:46:53 - ERROR - Uniform block 'NonExistent' not found in shader 'uniform_block'
266
+ 08:46:53 - INFO - Registered array uniform: floatArray[3] (type: float, location: 0)
267
+ 08:46:53 - INFO - Also registered individual elements: floatArray[0] to floatArray[2]
268
+ 08:46:53 - INFO - Registered array uniform: intArray[2] (type: int, location: 3)
269
+ 08:46:53 - INFO - Also registered individual elements: intArray[0] to intArray[1]
270
+ 08:46:53 - INFO - Registered array uniform: mat2Array[2] (type: mat2, location: 5)
271
+ 08:46:53 - INFO - Also registered individual elements: mat2Array[0] to mat2Array[1]
272
+ 08:46:53 - INFO - Registered array uniform: mat3Array[2] (type: mat3, location: 7)
273
+ 08:46:53 - INFO - Also registered individual elements: mat3Array[0] to mat3Array[1]
274
+ 08:46:53 - INFO - Registered array uniform: mat4Array[2] (type: mat4, location: 9)
275
+ 08:46:53 - INFO - Also registered individual elements: mat4Array[0] to mat4Array[1]
276
+ 08:46:53 - INFO - Registered array uniform: vec2Array[2] (type: vec2, location: 11)
277
+ 08:46:53 - INFO - Also registered individual elements: vec2Array[0] to vec2Array[1]
278
+ 08:46:53 - INFO - Registered array uniform: vec3Array[2] (type: vec3, location: 13)
279
+ 08:46:53 - INFO - Also registered individual elements: vec3Array[0] to vec3Array[1]
280
+ 08:46:53 - INFO - Registered array uniform: vec4Array[2] (type: vec4, location: 15)
281
+ 08:46:53 - INFO - Also registered individual elements: vec4Array[0] to vec4Array[1]
282
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
283
+ 08:46:53 - INFO - Registered array uniform: floatArray[3] (type: float, location: 0)
284
+ 08:46:53 - INFO - Also registered individual elements: floatArray[0] to floatArray[2]
285
+ 08:46:53 - INFO - Registered array uniform: intArray[2] (type: int, location: 3)
286
+ 08:46:53 - INFO - Also registered individual elements: intArray[0] to intArray[1]
287
+ 08:46:53 - INFO - Registered array uniform: mat2Array[2] (type: mat2, location: 5)
288
+ 08:46:53 - INFO - Also registered individual elements: mat2Array[0] to mat2Array[1]
289
+ 08:46:53 - INFO - Registered array uniform: mat3Array[2] (type: mat3, location: 7)
290
+ 08:46:53 - INFO - Also registered individual elements: mat3Array[0] to mat3Array[1]
291
+ 08:46:53 - INFO - Registered array uniform: mat4Array[2] (type: mat4, location: 9)
292
+ 08:46:53 - INFO - Also registered individual elements: mat4Array[0] to mat4Array[1]
293
+ 08:46:53 - INFO - Registered array uniform: vec2Array[2] (type: vec2, location: 11)
294
+ 08:46:53 - INFO - Also registered individual elements: vec2Array[0] to vec2Array[1]
295
+ 08:46:53 - INFO - Registered array uniform: vec3Array[2] (type: vec3, location: 13)
296
+ 08:46:53 - INFO - Also registered individual elements: vec3Array[0] to vec3Array[1]
297
+ 08:46:53 - INFO - Registered array uniform: vec4Array[2] (type: vec4, location: 15)
298
+ 08:46:53 - INFO - Also registered individual elements: vec4Array[0] to vec4Array[1]
299
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
300
+ 08:46:53 - INFO - Registered array uniform: floatArray[3] (type: float, location: 0)
301
+ 08:46:53 - INFO - Also registered individual elements: floatArray[0] to floatArray[2]
302
+ 08:46:53 - INFO - Registered array uniform: intArray[2] (type: int, location: 3)
303
+ 08:46:53 - INFO - Also registered individual elements: intArray[0] to intArray[1]
304
+ 08:46:53 - INFO - Registered array uniform: mat2Array[2] (type: mat2, location: 5)
305
+ 08:46:53 - INFO - Also registered individual elements: mat2Array[0] to mat2Array[1]
306
+ 08:46:53 - INFO - Registered array uniform: mat3Array[2] (type: mat3, location: 7)
307
+ 08:46:53 - INFO - Also registered individual elements: mat3Array[0] to mat3Array[1]
308
+ 08:46:53 - INFO - Registered array uniform: mat4Array[2] (type: mat4, location: 9)
309
+ 08:46:53 - INFO - Also registered individual elements: mat4Array[0] to mat4Array[1]
310
+ 08:46:53 - INFO - Registered array uniform: vec2Array[2] (type: vec2, location: 11)
311
+ 08:46:53 - INFO - Also registered individual elements: vec2Array[0] to vec2Array[1]
312
+ 08:46:53 - INFO - Registered array uniform: vec3Array[2] (type: vec3, location: 13)
313
+ 08:46:53 - INFO - Also registered individual elements: vec3Array[0] to vec3Array[1]
314
+ 08:46:53 - INFO - Registered array uniform: vec4Array[2] (type: vec4, location: 15)
315
+ 08:46:53 - INFO - Also registered individual elements: vec4Array[0] to vec4Array[1]
316
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
317
+ 08:46:53 - INFO - Registered uniform: diffuseColor (type: vec4, location: -1)
318
+ 08:46:53 - INFO - Registered uniform: modelMatrix (type: mat4, location: -1)
319
+ 08:46:53 - INFO - Registered uniform: projMatrix (type: mat4, location: -1)
320
+ 08:46:53 - INFO - Registered uniform: shininess (type: float, location: -1)
321
+ 08:46:53 - INFO - Registered uniform: specularColor (type: vec4, location: -1)
322
+ 08:46:53 - INFO - Registered uniform: viewMatrix (type: mat4, location: -1)
323
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 2
324
+ 08:46:53 - INFO - Uniform Block MaterialBlock 0 27
325
+ 08:46:53 - INFO - Uniform Block TransformBlock 1 28
326
+ 08:46:53 - INFO - Registered uniforms for array_uniform:
327
+ 08:46:53 - INFO - floatArray[3] (type: float, location: 0)
328
+ 08:46:53 - INFO - intArray[2] (type: int, location: 3)
329
+ 08:46:53 - INFO - mat2Array[2] (type: mat2, location: 5)
330
+ 08:46:53 - INFO - mat3Array[2] (type: mat3, location: 7)
331
+ 08:46:53 - INFO - mat4Array[2] (type: mat4, location: 9)
332
+ 08:46:53 - INFO - vec2Array[2] (type: vec2, location: 11)
333
+ 08:46:53 - INFO - vec3Array[2] (type: vec3, location: 13)
334
+ 08:46:53 - INFO - vec4Array[2] (type: vec4, location: 15)
335
+ 08:46:53 - INFO - Array elements for floatArray:
336
+ 08:46:53 - INFO - floatArray[0] (type: float, location: 0)
337
+ 08:46:53 - INFO - floatArray[1] (type: float, location: 1)
338
+ 08:46:53 - INFO - floatArray[2] (type: float, location: 2)
339
+ 08:46:53 - INFO - Array elements for intArray:
340
+ 08:46:53 - INFO - intArray[0] (type: int, location: 3)
341
+ 08:46:53 - INFO - intArray[1] (type: int, location: 4)
342
+ 08:46:53 - INFO - Array elements for mat2Array:
343
+ 08:46:53 - INFO - mat2Array[0] (type: mat2, location: 5)
344
+ 08:46:53 - INFO - mat2Array[1] (type: mat2, location: 6)
345
+ 08:46:53 - INFO - Array elements for mat3Array:
346
+ 08:46:53 - INFO - mat3Array[0] (type: mat3, location: 7)
347
+ 08:46:53 - INFO - mat3Array[1] (type: mat3, location: 8)
348
+ 08:46:53 - INFO - Array elements for mat4Array:
349
+ 08:46:53 - INFO - mat4Array[0] (type: mat4, location: 9)
350
+ 08:46:53 - INFO - mat4Array[1] (type: mat4, location: 10)
351
+ 08:46:53 - INFO - Array elements for vec2Array:
352
+ 08:46:53 - INFO - vec2Array[0] (type: vec2, location: 11)
353
+ 08:46:53 - INFO - vec2Array[1] (type: vec2, location: 12)
354
+ 08:46:53 - INFO - Array elements for vec3Array:
355
+ 08:46:53 - INFO - vec3Array[0] (type: vec3, location: 13)
356
+ 08:46:53 - INFO - vec3Array[1] (type: vec3, location: 14)
357
+ 08:46:53 - INFO - Array elements for vec4Array:
358
+ 08:46:53 - INFO - vec4Array[0] (type: vec4, location: 15)
359
+ 08:46:53 - INFO - vec4Array[1] (type: vec4, location: 16)
360
+ 08:46:53 - INFO - Registered uniform blocks for uniform_block:
361
+ 08:46:53 - INFO - MaterialBlock (index: 0, buffer: 27)
362
+ 08:46:53 - INFO - TransformBlock (index: 1, buffer: 28)
363
+ 08:46:53 - INFO - Properties for shader program uniform_block:
364
+ 08:46:53 - INFO - ID: 109
365
+ 08:46:53 - INFO - Link status: 1
366
+ 08:46:53 - INFO - Validate status: 1
367
+ 08:46:53 - INFO - Attached shaders: 2
368
+ 08:46:53 - INFO - Active attributes: 0
369
+ 08:46:53 - INFO - Active uniforms: 6
370
+ 08:46:53 - INFO - Active uniform blocks: 2
371
+ 08:46:53 - INFO - Registered uniform blocks:
372
+ 08:46:53 - INFO - MaterialBlock (index: 0, buffer: 27)
373
+ 08:46:53 - INFO - TransformBlock (index: 1, buffer: 28)
374
+ 08:46:53 - INFO - Registered array uniform: testArray[3] (type: vec3, location: 0)
375
+ 08:46:53 - INFO - Also registered individual elements: testArray[0] to testArray[2]
376
+ 08:46:53 - INFO - Registered uniform: testBool (type: bool, location: 3)
377
+ 08:46:53 - INFO - Registered uniform: testFloat (type: float, location: 4)
378
+ 08:46:53 - INFO - Registered uniform: testInt (type: int, location: 5)
379
+ 08:46:53 - INFO - Registered uniform: testInt2 (type: Unknown type 35667, location: 6)
380
+ 08:46:53 - INFO - Registered uniform: testInt3 (type: Unknown type 35668, location: 7)
381
+ 08:46:53 - INFO - Registered uniform: testInt4 (type: Unknown type 35669, location: 8)
382
+ 08:46:53 - INFO - Registered uniform: testMat2 (type: mat2, location: 9)
383
+ 08:46:53 - INFO - Registered uniform: testMat3 (type: mat3, location: 10)
384
+ 08:46:53 - INFO - Registered uniform: testMat4 (type: mat4, location: 11)
385
+ 08:46:53 - INFO - Registered uniform: testVec2 (type: vec2, location: 12)
386
+ 08:46:53 - INFO - Registered uniform: testVec3 (type: vec3, location: 13)
387
+ 08:46:53 - INFO - Registered uniform: testVec4 (type: vec4, location: 14)
388
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
389
+ 08:46:53 - WARNING - Warning: uniform 'testFloat' has unknown type: <class 'tests.test_shaderlib.test_shaderprogram_set_uniform_edge_cases.<locals>.CustomObject'>
390
+ 08:46:53 - WARNING - Warning: uniform 'testFloat' has unknown type: <class 'NoneType'>
391
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
392
+ 08:46:53 - INFO - Shader program 'TestGeo' created
393
+ 08:46:53 - ERROR - Error: shader nonExistent not found
394
+ 08:46:53 - ERROR - Error: shader nonExistent not found
395
+ 08:46:53 - ERROR - Error: program nonExistentProgram or shader nonExistentShader not found
396
+ 08:46:53 - ERROR - Error: program nonExistent not found
397
+ 08:46:53 - INFO - Registered array uniform: lightColors[4] (type: vec3, location: 0)
398
+ 08:46:53 - INFO - Also registered individual elements: lightColors[0] to lightColors[3]
399
+ 08:46:53 - INFO - Registered array uniform: lightPositions[4] (type: vec3, location: 4)
400
+ 08:46:53 - INFO - Also registered individual elements: lightPositions[0] to lightPositions[3]
401
+ 08:46:53 - INFO - Registered array uniform: weights[4] (type: float, location: 8)
402
+ 08:46:53 - INFO - Also registered individual elements: weights[0] to weights[3]
403
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
404
+ 08:46:53 - INFO - Registered uniform: modelMatrix (type: mat4, location: -1)
405
+ 08:46:53 - INFO - Registered uniform: projMatrix (type: mat4, location: -1)
406
+ 08:46:53 - INFO - Registered uniform: viewMatrix (type: mat4, location: -1)
407
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 1
408
+ 08:46:53 - INFO - Uniform Block TransformUBO 0 29
409
+ 08:46:53 - ERROR - No current shader active
410
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 1
411
+ 08:46:53 - INFO - Uniform Block TransformUBO 0 30
412
+ 08:46:53 - INFO - Registered uniforms for TestUniform:
413
+ 08:46:53 - INFO - testArray[3] (type: vec3, location: 0)
414
+ 08:46:53 - INFO - testBool (type: bool, location: 3)
415
+ 08:46:53 - INFO - testFloat (type: float, location: 4)
416
+ 08:46:53 - INFO - testInt (type: int, location: 5)
417
+ 08:46:53 - INFO - testInt2 (type: Unknown type 35667, location: 6)
418
+ 08:46:53 - INFO - testInt3 (type: Unknown type 35668, location: 7)
419
+ 08:46:53 - INFO - testInt4 (type: Unknown type 35669, location: 8)
420
+ 08:46:53 - INFO - testMat2 (type: mat2, location: 9)
421
+ 08:46:53 - INFO - testMat3 (type: mat3, location: 10)
422
+ 08:46:53 - INFO - testMat4 (type: mat4, location: 11)
423
+ 08:46:53 - INFO - testVec2 (type: vec2, location: 12)
424
+ 08:46:53 - INFO - testVec3 (type: vec3, location: 13)
425
+ 08:46:53 - INFO - testVec4 (type: vec4, location: 14)
426
+ 08:46:53 - INFO - Array elements for testArray:
427
+ 08:46:53 - INFO - testArray[0] (type: vec3, location: 0)
428
+ 08:46:53 - INFO - testArray[1] (type: vec3, location: 1)
429
+ 08:46:53 - INFO - testArray[2] (type: vec3, location: 2)
430
+ 08:46:53 - INFO - _______________________________________________________________________________________________________________________
431
+ 08:46:53 - INFO - Printing Properties for ShaderProgram TestUniform
432
+ 08:46:53 - INFO - _______________________________________________________________________________________________________________________
433
+ 08:46:53 - INFO - Properties for shader program TestUniform:
434
+ 08:46:53 - INFO - ID: 44
435
+ 08:46:53 - INFO - Link status: 1
436
+ 08:46:53 - INFO - Validate status: 1
437
+ 08:46:53 - INFO - Attached shaders: 2
438
+ 08:46:53 - INFO - Active attributes: 0
439
+ 08:46:53 - INFO - Active uniforms: 13
440
+ 08:46:53 - INFO - Active uniform blocks: 0
441
+ 08:46:53 - INFO - _______________________________________________________________________________________________________________________
442
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
443
+ 08:46:53 - INFO - Registered uniform: diffuseColor (type: vec4, location: -1)
444
+ 08:46:53 - INFO - Registered uniform: modelMatrix (type: mat4, location: -1)
445
+ 08:46:53 - INFO - Registered uniform: projMatrix (type: mat4, location: -1)
446
+ 08:46:53 - INFO - Registered uniform: shininess (type: float, location: -1)
447
+ 08:46:53 - INFO - Registered uniform: specularColor (type: vec4, location: -1)
448
+ 08:46:53 - INFO - Registered uniform: viewMatrix (type: mat4, location: -1)
449
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 2
450
+ 08:46:53 - INFO - Uniform Block MaterialBlock 0 31
451
+ 08:46:53 - INFO - Uniform Block TransformBlock 1 32
452
+ 08:46:53 - ERROR - Failed to set uniform buffer 'MaterialBlock': a bytes-like object is required, not 'str'
453
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
454
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'invalid_array'
455
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'invalid_array'
456
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'invalid_array'
457
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'invalid_array'
458
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'invalid_array'
459
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'invalid_array'
460
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'invalid_array'
461
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'invalid_array'
462
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
463
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'getter_test'
464
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'getter_test'
465
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'getter_test'
466
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'getter_test'
467
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'getter_test'
468
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'getter_test'
469
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'getter_test'
470
+ 08:46:53 - WARNING - Uniform 'nonexistent' not found in shader 'getter_test'
471
+ 08:46:53 - INFO - Registered array uniform: testArray[3] (type: vec3, location: 0)
472
+ 08:46:53 - INFO - Also registered individual elements: testArray[0] to testArray[2]
473
+ 08:46:53 - INFO - Registered uniform: testBool (type: bool, location: 3)
474
+ 08:46:53 - INFO - Registered uniform: testFloat (type: float, location: 4)
475
+ 08:46:53 - INFO - Registered uniform: testInt (type: int, location: 5)
476
+ 08:46:53 - INFO - Registered uniform: testInt2 (type: Unknown type 35667, location: 6)
477
+ 08:46:53 - INFO - Registered uniform: testInt3 (type: Unknown type 35668, location: 7)
478
+ 08:46:53 - INFO - Registered uniform: testInt4 (type: Unknown type 35669, location: 8)
479
+ 08:46:53 - INFO - Registered uniform: testMat2 (type: mat2, location: 9)
480
+ 08:46:53 - INFO - Registered uniform: testMat3 (type: mat3, location: 10)
481
+ 08:46:53 - INFO - Registered uniform: testMat4 (type: mat4, location: 11)
482
+ 08:46:53 - INFO - Registered uniform: testVec2 (type: vec2, location: 12)
483
+ 08:46:53 - INFO - Registered uniform: testVec3 (type: vec3, location: 13)
484
+ 08:46:53 - INFO - Registered uniform: testVec4 (type: vec4, location: 14)
485
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
486
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
487
+ 08:46:53 - INFO - Registered uniform blocks for simple:
488
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
489
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
490
+ 08:46:53 - INFO - FOUND UNIFORM BLOCKS 0
491
+ 08:46:53 - WARNING - Uniform block 'nonexistent' not found in shader 'simple'
492
+ 08:46:53 - WARNING - Uniform block 'nonexistent' not found in shader 'simple'
493
+ 08:46:53 - WARNING - VAO type 'nonExistentVAO' not found.
494
+ 08:46:53 - ERROR - VAO not bound in set_vertex_attribute_pointer
495
+ 08:46:53 - ERROR - MultiBufferVAO is not bound or not allocated
496
+ 08:46:53 - ERROR - MultiBufferVAO: Invalid data type
497
+ 08:46:53 - WARNING - need float values