Wed 19 Feb 2014 06:09:37 PM UTC, comment #4:
ddc2dae4d reverts the changes made in 8aa0319 that caused the problem.
A new branch 'ati' has been created where the changes of 8aa0319 are implemented. This branch will be used to further explore the incompatibilities between different opengl hardware, and to find ways to work around them. Meanwhile, normal users can continue untroubled.
Users wanting to follow the ati branch can just do
git co ati
|
Wed 19 Feb 2014 11:19:32 AM UTC, comment #2:
After latest pull, this is what I get when starting pyFormex from terminal:
gianluca@ir15c441 13:18 ~/pyformex $ pyformex --gl2 --redirect
CANVAS ('NVIDIA Corporation', 'Quadro 2000M/PCIe/SSE2', '4.2.0 NVIDIA 304.64', '4.20 NVIDIA via Cg compiler')
Traceback (most recent call last):
File "/home/gianluca/bin/pyformex", line 67, in <module>
sys.exit(main.run(sys.argv[1:]))
File "/home/gianluca/pyformex/pyformex/main.py", line 672, in run
res = guimain.startGUI(args)
File "/home/gianluca/pyformex/pyformex/gui/guimain.py", line 1391, in startGUI
pf.GUI.viewports.changeLayout(1)
File "/home/gianluca/pyformex/pyformex/gui/viewport.py", line 1621, in changeLayout
self.addView()
File "/home/gianluca/pyformex/pyformex/gui/viewport.py", line 1488, in addView
canv.initializeGL() # Initialize OpenGL context and camera
File "/home/gianluca/pyformex/pyformex/gui/viewport.py", line 902, in initializeGL
self.initCamera()
File "/home/gianluca/pyformex/pyformex/opengl/canvas.py", line 883, in initCamera
self.renderer = Renderer(self)
File "/home/gianluca/pyformex/pyformex/opengl/renderer.py", line 55, in _init_
shader = Shader()
File "/home/gianluca/pyformex/pyformex/opengl/shader.py", line 126, in _init_
fragment_shader = GL.shaders.compileShader(FragmentShader, GL.GL_FRAGMENT_SHADER)
File "/usr/lib/python2.7/dist-packages/OpenGL/GL/shaders.py", line 162, in compileShader
shaderType,
RuntimeError: ('Shader compile failure (0): 0(33) : warning C7555: \'varying\' is deprecated, use \'in/out\' instead\n0(34) : warning C7555: \'varying\' is deprecated, use \'in/out\' instead\n0(35) : warning C7555: \'varying\' is deprecated, use \'in/out\' instead\n0(42) : error C7011: implicit cast from "int" to "bool"\n0(42) : warning C7533: global variable gl_FragColor is deprecated after version 120\n', ['/* $Id: aaa54d7 on Tue Feb 18 18:21:27 2014 +0100 by Benedict Verhegghe $ */\n//\n// This file is part of pyFormex\n// pyFormex is a tool for generating, manipulating and transforming 3D\n// geometrical models by sequences of mathematical operations.\n// Home page: http://pyformex.org\n// Project page: http://savannah.nongnu.org/projects/pyformex/\n// Copyright 2004-2012 (C) Benedict Verhegghe (benedict.verhegghe@ugent.be)\n// Distributed under the GNU General Public License version 3 or later.\n//\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// This program is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with this program. If not, see http://www.gnu.org/licenses/.\n//\n\n// Fragment shader\n\n#version 130\n\n#ifdef GL_ES\nprecision mediump float;\n#endif\n\nvarying vec3 fragmentColor;\nvarying vec4 fragColor;\nvarying int fDiscard;\n\nuniform float alpha;\n\nvoid main(void) {\n if (fDiscard)\n discard;\n gl_FragColor = fragColor;\n}\n\n// End\n'], GL_FRAGMENT_SHADER)
|