Graphical interface error

Dear All,
I created the model, but my display screen does not show the model. What causes this? Please help solve it.
Thanks

What do you mean by “created the model”?

I already have the model I need to simulate, but why can’t the display screen on the right show my model, grid, etc?

Is the VTK module loaded? Are there any messages at startup regarding VTK or OpenGL?

Please send a bug report - go to main menu, click Submit bug report and attach the zip file here.
Thanks.

– Charles

This is a VTK/OpenGL problem, how do I solve it? Can I fix the OpenGL problem if I install a lower version of Mfix?
Here is the error code:
ERROR: In …/Rendering/OpenGL2/vtkShaderProgram.cxx, line 446
vtkShaderProgram (0x55925d2d5e30): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9:
10:
11: /=========================================================================
12:
13: Program: Visualization Toolkit
14: Module: vtkPolyDataVS.glsl
15:
16: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17: All rights reserved.
18: See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19:
20: This software is distributed WITHOUT ANY WARRANTY; without even
21: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22: PURPOSE. See the above copyright notice for more information.
23:
24: =========================================================================
/
25:
26: in vec4 vertexMC;
27:
28: // frag position in VC
29: out vec4 vertexVCVSOutput;
30:
31: // optional normal declaration
32: //VTK::Normal::Dec
33:
34: // extra lighting parameters
35: //VTK::Light::Dec
36:
37: // Texture coordinates
38: //VTK::TCoord::Dec
39:
40: // material property values
41: //VTK::Color::Dec
42:
43: // clipping plane vars
44: //VTK::Clip::Dec
45:
46: // camera and actor matrix values
47: uniform mat4 MCDCMatrix;
48: uniform mat4 MCVCMatrix;
49:
50: // Apple Bug
51: //VTK::PrimID::Dec
52:
53: // Value raster
54: //VTK::ValuePass::Dec
55:
56: // picking support
57: //VTK::Picking::Dec
58:
59: void main()
60: {
61: //VTK::Color::Impl
62:
63: //VTK::Normal::Impl
64:
65: //VTK::TCoord::Impl
66:
67: //VTK::Clip::Impl
68:
69: //VTK::PrimID::Impl
70:
71: vertexVCVSOutput = MCVCMatrix * vertexMC;
72: gl_Position = MCDCMatrix * vertexMC;
73:
74:
75: //VTK::ValuePass::Impl
76:
77: //VTK::Light::Impl
78:
79: //VTK::Picking::Impl
80: }

ERROR: In …/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x55925d2d5e30): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

ERROR: In …/Rendering/OpenGL2/vtkShaderProgram.cxx, line 446
vtkShaderProgram (0x55925d2d5e30): 1: #version 150
2: #ifndef GL_ES
3: #define highp
4: #define mediump
5: #define lowp
6: #endif // GL_ES
7: #define attribute in
8: #define varying out
9:
10:
11: /=========================================================================
12:
13: Program: Visualization Toolkit
14: Module: vtkPolyDataVS.glsl
15:
16: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
17: All rights reserved.
18: See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
19:
20: This software is distributed WITHOUT ANY WARRANTY; without even
21: the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
22: PURPOSE. See the above copyright notice for more information.
23:
24: =========================================================================
/
25:
26: in vec4 vertexMC;
27:
28: // frag position in VC
29: out vec4 vertexVCVSOutput;
30:
31: // optional normal declaration
32: //VTK::Normal::Dec
33:
34: // extra lighting parameters
35: //VTK::Light::Dec
36:
37: // Texture coordinates
38: //VTK::TCoord::Dec
39:
40: // material property values
41: //VTK::Color::Dec
42:
43: // clipping plane vars
44: //VTK::Clip::Dec
45:
46: // camera and actor matrix values
47: uniform mat4 MCDCMatrix;
48: uniform mat4 MCVCMatrix;
49:
50: // Apple Bug
51: //VTK::PrimID::Dec
52:
53: // Value raster
54: //VTK::ValuePass::Dec
55:
56: // picking support
57: //VTK::Picking::Dec
58:
59: void main()
60: {
61: //VTK::Color::Impl
62:
63: //VTK::Normal::Impl
64:
65: //VTK::TCoord::Impl
66:
67: //VTK::Clip::Impl
68:
69: //VTK::PrimID::Impl
70:
71: vertexVCVSOutput = MCVCMatrix * vertexMC;
72: gl_Position = MCDCMatrix * vertexMC;
73:
74:
75: //VTK::ValuePass::Impl
76:
77: //VTK::Light::Impl
78:
79: //VTK::Picking::Impl
80: }

ERROR: In …/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x55925d2d5e30): 0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Aborted (core dumped)

“GLSL 1.50 is not supported” means that your graphics card is too old. There may be some workarounds for this. Are you running remotely, or in a virtual machine?

Try searching this forum for “GLSL” and you may find some helpful suggestions.

– Charles