ReferenceGuide.Shaders History

Hide minor edits - Show changes to markup

June 21, 2010, at 02:56 PM by 148.187.130.153 -
Added lines 4-5:

A video showing how to apply shaders is available here: http://molekel.cscs.ch/video/eldens_shader_apply_big.htm

August 19, 2009, at 09:26 AM by 148.187.130.153 -
Deleted line 26:

Note that this section is currently containing some very basic information only and will be expanded soon.

August 18, 2009, at 11:48 AM by 129.132.128.136 -
Changed line 3 from:

Molekel 5.2 or above supports programmable shaders for rendering a molecule structure or molecular surfaces. OpenGL GLSL shaders can be assigned on a per-molecule, per-surface basis.

to:

Molekel 5.2 and above supports programmable shaders for rendering a molecule structure or molecular surfaces. OpenGL GLSL shaders can be assigned on a per-molecule, per-surface basis.

March 17, 2009, at 05:57 PM by 148.187.130.153 -
Changed lines 1-2 from:


to:

(:title Shaders:)

March 12, 2009, at 05:16 PM by 148.187.130.153 -
Changed line 6 from:

http://molekel.cscs.ch/wiki/uploaded/ReferenceGuide/shaders_dlg.png

to:

http://molekel.cscs.ch/wiki/uploaded/ReferenceGuide/shaders_dlg.png

March 12, 2009, at 05:16 PM by 148.187.130.153 -
Changed line 6 from:

http://molekel.cscs.ch/wiki/uploaded/ReferenceGuide/shaders_dlg.png

to:

http://molekel.cscs.ch/wiki/uploaded/ReferenceGuide/shaders_dlg.png

March 10, 2009, at 10:23 AM by 148.187.130.153 -
Changed lines 1-3 from:

Shaders

to:


March 09, 2009, at 06:02 PM by 148.187.130.153 -
Changed line 8 from:

http://bioinformatics.org/molekel/uploads/ReferenceGuide/shaders_dlg.png

to:

http://molekel.cscs.ch/wiki/uploaded/ReferenceGuide/shaders_dlg.png

July 19, 2007, at 03:58 PM by 148.187.130.131 -
Changed lines 18-19 from:

When the shader is applied to the surface Molekel checks the configurable shader parameters and builds a GUI which allows the user to interactively modify the parameter values; in case the parameter name contains the string color or colour (case insensitive) and the type is vec3d the value can be edited through a color dialog.

to:

When the shader is applied to the surface Molekel checks the configurable shader parameters and builds a GUI which allows the user to interactively modify the parameter values; in case the parameter name contains the string color or colour (case insensitive) and the type is vec3 the value can be edited through a color dialog by clicking on the button under the parameter's name.

July 19, 2007, at 03:56 PM by 148.187.130.131 -
Changed lines 28-29 from:

Note that this section is currently containing some very basic information and will be expanded soon.

to:

Note that this section is currently containing some very basic information only and will be expanded soon.

July 19, 2007, at 03:56 PM by 148.187.130.131 -
Added lines 8-10:

http://bioinformatics.org/molekel/uploads/ReferenceGuide/shaders_dlg.png

Added line 19:
July 19, 2007, at 03:54 PM by 148.187.130.131 -
Changed lines 4-5 from:

Molekel 5.2 or above support programmable shaders for rendering a molecule structure or molecular surfaces. OpenGL GLSL shaders can be assigned on a per-molecule, per-surface basis.

to:

Molekel 5.2 or above supports programmable shaders for rendering a molecule structure or molecular surfaces. OpenGL GLSL shaders can be assigned on a per-molecule, per-surface basis.

July 19, 2007, at 03:54 PM by 148.187.130.131 -
Deleted lines 5-6:

This section is currently containing some very basic information and will be expanded soon.

Changed lines 22-23 from:

A few shaders are provided in the /shaders directory; try to apply e.g. the phong shader to a molecule and the x-ray shader to a surface by loading the corresponding .params file and clicking on Apply''.

to:

A few shaders are provided in the /shaders directory; try to apply e.g. the phong shader to a molecule and the x-ray shader to a surface by loading the corresponding .params file and clicking on Apply.

Note that this section is currently containing some very basic information and will be expanded soon.

July 19, 2007, at 03:51 PM by 148.187.130.131 -
Added lines 1-25:

Shaders

Molekel 5.2 or above support programmable shaders for rendering a molecule structure or molecular surfaces. OpenGL GLSL shaders can be assigned on a per-molecule, per-surface basis.

This section is currently containing some very basic information and will be expanded soon.

To apply a shader to a molecule or one of the generated surfaces select the Display->Shaders menu which is enabled only when a molecule is selected and the system supports OpenGL 2.0 GLSL shaders (this is automatically detected by Molekel).

After the shader dialog opens:

  1. select the surface to which the shader should be applied by clicking on one of the tabs
  2. select the vertex shader file (acts on geometry)
  3. select the fragment shader file (acts on pixels)
  4. if available select a parameter file containing the shader parameters' values
  5. click on Apply

When the shader is applied to the surface Molekel checks the configurable shader parameters and builds a GUI which allows the user to interactively modify the parameter values; in case the parameter name contains the string color or colour (case insensitive) and the type is vec3d the value can be edited through a color dialog. If a parameter file is selected the values read from the file are automatically applied to the shader and displayed in the GUI.

Shader parameter values can be saved to a text file and read back when needed.

IMPORTANT: If the vertex and fragment shader field are left blank and a parameter file is read first the vertex and fragment shader fields are automatically filled with filenames having the same filepath as the parameter file with the extension changed to .vert (vertex shaders) and .frag (fragment shaders).

A few shaders are provided in the /shaders directory; try to apply e.g. the phong shader to a molecule and the x-ray shader to a surface by loading the corresponding .params file and clicking on Apply''.