You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The texture class in the program defines Ns, but there is no Ns data in the mtl file.
Another issue is that the ambient data written is inconsistent with the defined one.
Traceback (most recent call last):
File "preprocess_data.py", line 355, in
main(sys.argv[1:])
File "preprocess_data.py", line 344, in main
render(
File "/home/hps/py_project/DiffuScene-master/scripts/utils.py", line 234, in render
scene.add(r)
File "/home/hps/anaconda3/envs/diffuscene/lib/python3.8/site-packages/simple_3dviz/scenes.py", line 60, in add
renderable.init(self._ctx)
File "/home/hps/anaconda3/envs/diffuscene/lib/python3.8/site-packages/simple_3dviz/renderables/textured_mesh.py", line 197, in init
self.material = self._material
File "/home/hps/anaconda3/envs/diffuscene/lib/python3.8/site-packages/simple_3dviz/renderables/textured_mesh.py", line 229, in material
self._prog["ambient"].write(self._material.ambient.tobytes())
File "/home/hps/anaconda3/envs/diffuscene/lib/python3.8/site-packages/_moderngl.py", line 95, in write
self.ctx._write_uniform(
_moderngl.Error: invalid uniform size
Look forward to your answer, thank you
The text was updated successfully, but these errors were encountered:
The texture class in the program defines Ns, but there is no Ns data in the mtl file.
Another issue is that the ambient data written is inconsistent with the defined one.
Traceback (most recent call last):
File "preprocess_data.py", line 355, in
main(sys.argv[1:])
File "preprocess_data.py", line 344, in main
render(
File "/home/hps/py_project/DiffuScene-master/scripts/utils.py", line 234, in render
scene.add(r)
File "/home/hps/anaconda3/envs/diffuscene/lib/python3.8/site-packages/simple_3dviz/scenes.py", line 60, in add
renderable.init(self._ctx)
File "/home/hps/anaconda3/envs/diffuscene/lib/python3.8/site-packages/simple_3dviz/renderables/textured_mesh.py", line 197, in init
self.material = self._material
File "/home/hps/anaconda3/envs/diffuscene/lib/python3.8/site-packages/simple_3dviz/renderables/textured_mesh.py", line 229, in material
self._prog["ambient"].write(self._material.ambient.tobytes())
File "/home/hps/anaconda3/envs/diffuscene/lib/python3.8/site-packages/_moderngl.py", line 95, in write
self.ctx._write_uniform(
_moderngl.Error: invalid uniform size
Look forward to your answer, thank you
The text was updated successfully, but these errors were encountered: