Hi
I am trying to view an image stack in 3d. I get the following error from the VTK Canvas. I cannot select the 3D VTK option that I see in the tutorial files but I do see the 3d glasses which I assume is the replacement icon.
System info
OS - mint LMDE4
GFX card - Nvidia GTX 1060M
memory - 32GB
driver: nivida-driver
java JDK from website
vtk7
my opengl says 3.0
icy on startup
OpenJDK Runtime Environment 1.8.0_242-b08 (64 bit)
Running on Linux 5.9.0-0.bpo.5-amd64 (amd64)
Number of processors : 12
System total memory : 32.6 GB
System available memory : 27.5 GB
Max java memory : 16.7 GB
Image cache initialized (reserved memory = 6515 MB, disk cache location = /tmp)
VTK 6.3.0 library successfully loadedā¦
Icy Version 2.1.2.0 started !
*** UPDATE***
Switch to the java package on the website. I can click the 3d glasses but ICY crashes completely. I get a vtk log with the following
Warning: In /home/stephane/Documents/dev/vtk/6.3/source/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 428
vtkGenericOpenGLRenderWindow (0x7fe75c194cf0): VTK is designed to work with OpenGL version 3.2 but it appears it has been given a context that does not support 3.2. VTK will run in a compatibility mode designed to work with OpenGL 2.1 but some features may not work.
ERROR: In /home/stephane/Documents/dev/vtk/6.3/source/Rendering/OpenGL2/vtkShaderProgram.cxx, line 366
vtkShaderProgram (0x7fe6543a3570): 1: /*=========================================================================
2:
3: Program: Visualization Toolkit
4: Module: vtkPolyDataFS.glsl
5:
6: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7: All rights reserved.
8: See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9:
10: This software is distributed WITHOUT ANY WARRANTY; without even
11: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12: PURPOSE. See the above copyright notice for more information.
13:
14: =========================================================================*/
15: // Template for the polydata mappers fragment shader
16:
17: // The following line handle system declarations such a
18: // default precisions, or defining precisions to null
19: #version 120
20: #extension GL_EXT_gpu_shader4 : require
21: #define highp
22: #define mediump
23: #define lowp
24:
25: uniform int PrimitiveIDOffset;
26:
27: // VC position of this fragment
28: //VTK::PositionVC::Dec
29:
30: // optional color passed in from the vertex shader, vertexColor
31: uniform float opacityUniform; // the fragment opacity
32: uniform vec3 ambientColorUniform; // intensity weighted color
33: uniform vec3 diffuseColorUniform; // intensity weighted color
34:
35:
36: // optional surface normal declaration
37: //VTK::Normal::Dec
38:
39: // extra lighting parameters
40: //VTK::Light::Dec
41:
42: // Texture coordinates
43: //VTK::TCoord::Dec
44:
45: // picking support
46: //VTK::Picking::Dec
47:
48: // Depth Peeling Support
49: //VTK::DepthPeeling::Dec
50:
51: // clipping plane vars
52: //VTK::Clip::Dec
53:
54: // the output of this shader
55: //VTK::Output::Dec
56:
57: // Apple Bug
58: //VTK::PrimID::Dec
59:
60: void main()
61: {
62: // Apple Bug
63: //VTK::PrimID::Impl
64:
65: //VTK::Clip::Impl
66:
67: vec3 ambientColor;
68: vec3 diffuseColor;
69: float opacity;
70: ambientColor = ambientColorUniform;
71: diffuseColor = diffuseColorUniform;
72: opacity = opacityUniform;
73:
74:
75: // Generate the normal if we are not passed in one
76: //VTK::Normal::Impl
77:
78: gl_FragData[0] = vec4(ambientColor + diffuseColor, opacity);
79:
80: //VTK::TCoord::Impl
81:
82: if (gl_FragData[0].a <= 0.0)
83: {
84: discard;
85: }
86:
87: //VTK::DepthPeeling::Impl
88:
89: //VTK::Picking::Impl
90:
91: }
92:
ERROR: In /home/stephane/Documents/dev/vtk/6.3/source/Rendering/OpenGL2/vtkShaderProgram.cxx, line 367
vtkShaderProgram (0x7fe6543a3570): 0:20(12): error: extension `GL_EXT_gpu_shader4' unsupported in fragment shader
I also have this hs_error file that is quite large that as a core dump.