Giter VIP home page Giter VIP logo

Comments (1)

b78 avatar b78 commented on May 31, 2024

Is this the bug I'm hitting here?

    return self.renderer.render(scene, flags=RenderFlags.SHADOWS_ALL)
  File "/Users/bamberg/miniconda/envs/shrek/lib/python3.6/site-packages/pyrender/offscreen.py", line 100, in render
    return self._renderer.render(scene, flags)
  File "/Users/bamberg/miniconda/envs/shrek/lib/python3.6/site-packages/pyrender/renderer.py", line 140, in render
    retval = self._forward_pass(scene, flags)
  File "/Users/bamberg/miniconda/envs/shrek/lib/python3.6/site-packages/pyrender/renderer.py", line 345, in _forward_pass
    primitive, flags, ProgramFlags.USE_MATERIAL
  File "/Users/bamberg/miniconda/envs/shrek/lib/python3.6/site-packages/pyrender/renderer.py", line 963, in _get_primitive_program
    program._add_to_context()
  File "/Users/bamberg/miniconda/envs/shrek/lib/python3.6/site-packages/pyrender/shader_program.py", line 135, in _add_to_context
    self._program_id = gl_shader_utils.compileProgram(*shader_ids)
  File "/Users/bamberg/miniconda/envs/shrek/lib/python3.6/site-packages/OpenGL/GL/shaders.py", line 196, in compileProgram
    program.check_validate()
  File "/Users/bamberg/miniconda/envs/shrek/lib/python3.6/site-packages/OpenGL/GL/shaders.py", line 108, in check_validate
    glGetProgramInfoLog( self ),
RuntimeError: Validation failure (0): b"Validation Failed: Sampler error:\n  Samplers of different types use the same texture image unit.\n   - or -\n  A sampler's texture unit is out of range (greater than max allowed or negative).\n"

from pyrender.

Related Issues (20)

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.