This is a read-only mirror of pymolwiki.org
Difference between revisions of "Talk:GLSL Shaders"
m (6 revisions) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
I believe the test script for e.g. sphere is a PyMOL script, not a Python script. So the way to do the tst is to save the script as a file named e.g. "test-sphere.pml" and then in PyMOL command line, type "@test-sphere.pml" to run this automated test. Saving it as a Python script and use FILE->RUN won't work. | I believe the test script for e.g. sphere is a PyMOL script, not a Python script. So the way to do the tst is to save the script as a file named e.g. "test-sphere.pml" and then in PyMOL command line, type "@test-sphere.pml" to run this automated test. Saving it as a Python script and use FILE->RUN won't work. | ||
− | === Thanks! === | + | ==== Thanks! ==== |
− | Thanks for the feedback, I'll update the page to reflect this. FILE->RUN works with MacPyMOL and PyMOLX11Hybrid; both are commercial versions of PyMOL for Apple OS X. Just tested on OS X Lion. | + | Thanks for the feedback, I'll update the page to reflect this. FILE->RUN works with MacPyMOL and PyMOLX11Hybrid; both are commercial versions of PyMOL for Apple OS X. |
+ | <br />Just tested this on OS X Lion. | ||
== Can't get sphere to work == | == Can't get sphere to work == | ||
Line 9: | Line 10: | ||
Tried it with PyMOL 1.5.0.3 with Python 2.6.6 or 2.7.3, on a Sony VAIO running Vista Business with nVidia GeForce 8400M GS. Caused a crash at the final draw command complaining something about the graphics driver, and thus a runtime error. | Tried it with PyMOL 1.5.0.3 with Python 2.6.6 or 2.7.3, on a Sony VAIO running Vista Business with nVidia GeForce 8400M GS. Caused a crash at the final draw command complaining something about the graphics driver, and thus a runtime error. | ||
− | === Driver Hell? === | + | ==== Driver Hell? ==== |
Since you are having this problem on a Microsoft Windows platform, my first guess would be that the nVidia graphics drivers need updating as they may not be supporting the advanced OpenGL features required for this to work. Give it another shot on a different platform perhaps? :-) | Since you are having this problem on a Microsoft Windows platform, my first guess would be that the nVidia graphics drivers need updating as they may not be supporting the advanced OpenGL features required for this to work. Give it another shot on a different platform perhaps? :-) |
Latest revision as of 00:44, 28 March 2014
I believe the test script for e.g. sphere is a PyMOL script, not a Python script. So the way to do the tst is to save the script as a file named e.g. "test-sphere.pml" and then in PyMOL command line, type "@test-sphere.pml" to run this automated test. Saving it as a Python script and use FILE->RUN won't work.
Thanks!
Thanks for the feedback, I'll update the page to reflect this. FILE->RUN works with MacPyMOL and PyMOLX11Hybrid; both are commercial versions of PyMOL for Apple OS X.
Just tested this on OS X Lion.
Can't get sphere to work
Tried it with PyMOL 1.5.0.3 with Python 2.6.6 or 2.7.3, on a Sony VAIO running Vista Business with nVidia GeForce 8400M GS. Caused a crash at the final draw command complaining something about the graphics driver, and thus a runtime error.
Driver Hell?
Since you are having this problem on a Microsoft Windows platform, my first guess would be that the nVidia graphics drivers need updating as they may not be supporting the advanced OpenGL features required for this to work. Give it another shot on a different platform perhaps? :-)