Giter VIP home page Giter VIP logo

pyigl_viewer's People

Contributors

sunreef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pyigl_viewer's Issues

OpenGL.GL.shaders.ShaderValidationError: Validation failure (0)

I ran basic_display.py,but it failed.

Traceback (most recent call last):
  File "e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\viewer_widget.py", line 85, in initializeGL
    self.add_shaders()
  File "e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\viewer_widget.py", line 74, in add_shaders
    self.shaders[shader_name] = ShaderProgram(shader_name, os.path.join(dir_name, f),
  File "e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\shader.py", line 16, in __init__
    self.program = shaders.compileProgram(vertex_shader, fragment_shader)
  File "D:\ProgramData\Miniconda3\lib\site-packages\OpenGL\GL\shaders.py", line 211, in compileProgram
    program.check_validate()
  File "D:\ProgramData\Miniconda3\lib\site-packages\OpenGL\GL\shaders.py", line 109, in check_validate
    raise ShaderValidationError(
OpenGL.GL.shaders.ShaderValidationError: Validation failure (0)

I printed the path of shaders before the line self.shaders[shader_name] = ShaderProgram and the error became:

e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\..\shaders\default.vert e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\..\shaders\default.frag
e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\..\shaders\lambert.vert e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\..\shaders\lambert.frag
e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\..\shaders\per_vertex_color.vert e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\..\shaders\per_vertex_color.frag
Traceback (most recent call last):
  File "e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\viewer_widget.py", line 86, in initializeGL
    self.add_shaders()
  File "e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\viewer_widget.py", line 75, in add_shaders
    self.shaders[shader_name] = ShaderProgram(shader_name, os.path.join(dir_name, f),
  File "e:\programming\python\pyigl_viewer\PyIGL_viewer\viewer\shader.py", line 16, in __init__
    self.program = shaders.compileProgram(vertex_shader, fragment_shader)
  File "D:\ProgramData\Miniconda3\lib\site-packages\OpenGL\GL\shaders.py", line 211, in compileProgram
    program.check_validate()
  File "D:\ProgramData\Miniconda3\lib\site-packages\OpenGL\GL\shaders.py", line 109, in check_validate
    raise ShaderValidationError(
OpenGL.GL.shaders.ShaderValidationError: Validation failure (0):

So I guess that the error occurs in per_vertex_color but I don't know exactly what's wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.