Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tomviz MacOSX Cannot Render More Than 2 Volumes at Same Time #2225

Open
jtschwar opened this issue Feb 16, 2022 · 1 comment
Open

Tomviz MacOSX Cannot Render More Than 2 Volumes at Same Time #2225

jtschwar opened this issue Feb 16, 2022 · 1 comment

Comments

@jtschwar
Copy link
Collaborator

jtschwar commented Feb 16, 2022

Describe the bug
A clear and concise description of what the bug is.

Whenever I try to render three separate volumes for chemical tomography I get an error saying the shader failed to compile. See below:

ERROR:
In /Users/kitware/dashboards/buildbot-slave/tomviz-bigmac-osx-shared-release_clang_osx10_9_superbuild/build/paraview/src/paraview/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx,
line 498 vtkShaderProgram (0x600003077c00): Links failed: ERROR: Implementation limit of 16 active fragment shader samplers (e.g., maximum number of supported image units) exceeded, fragment shader uses 17 samplers

ERROR:
In /Users/kitware/dashboards/buildbot-slave/tomviz-bigmac-osx-shared-release_clang_osx10_9_superbuild/build/paraview/src/paraview/VTK/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx, line 2699
vtkOpenGLGPUVolumeRayCastMapper (0x7fa85a7a3e30): Shader failed to compile

I've tested this three separate Mac systems and the error consistently appears.

To Reproduce
Steps to reproduce the behavior:

  1. Select the Sample Reconstruction Three Times and Apply the Volume Module to each instance as shown below: (This error appears with separate datasets as well).

Screen Shot 2022-02-15 at 8 46 46 PM

Expected behavior
A clear and concise description of what you expected to happen.

I should be able to render all three volumes and apply separate color maps, etc. As Discussed on the RGB Volumes feature on the Documents.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Operating system: macOS 12.2.1
  • Tomviz version: 1.10.0-154-ga5eee93a

Hardware (please complete the following information):

  • Device: Macbook Pro (2021) and iMac (2019)
  • Graphics card: Radeon Pro 570X

Additional context
Add any other context about the problem here.

@psavery
Copy link
Contributor

psavery commented Feb 23, 2022

Looks like this specifically happens with the "Allow Multi Volume" box checked, and is probably specific to the multi volume features.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants