"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "data/shaders/volume.vs" between
pymol-v2.1.0.tar.bz2 and pymol-open-source-2.2.0.tar.gz

About: PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D visualization of proteins, small molecules, density, surfaces, and trajectories. It also includes molecular editing, ray tracing, and movies. Open Source version.

volume.vs  (pymol-v2.1.0.tar.bz2):volume.vs  (pymol-open-source-2.2.0)
#include webgl_header.vs
uniform vec3 slabTexOffset;
varying vec3 vertexM;
varying float fog; varying float fog;
uniform float g_Fog_end;
uniform float g_Fog_scale;
varying vec2 bgTextureLookup; varying vec2 bgTextureLookup;
void main() void main()
{ {
vec4 vertex = gl_ModelViewMatrix * gl_Vertex; vec4 vertex = g_ModelViewMatrix * gl_Vertex;
gl_TexCoord[0] = gl_MultiTexCoord0; gl_TexCoord[0] = gl_MultiTexCoord0;
gl_ClipVertex = vertex;
#ifdef volume_mode
#endif // volume_mode
gl_Position = ftransform(); gl_Position = ftransform();
gl_FogFragCoord = -vertex.z; fog = (g_Fog_end + vertex.z) * g_Fog_scale;
fog = (g_Fog_end - gl_FogFragCoord) * g_Fog_scale;
bgTextureLookup = (gl_Position.xy/gl_Position.w) / 2.0 + 0.5; bgTextureLookup = (gl_Position.xy/gl_Position.w) / 2.0 + 0.5;
} }
 End of changes. 5 change blocks. 
6 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)