Spheres: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
[[Image:Spheres_ex.png|thumb|Sphere Representation Example]]
[[Image:Spheres_ex.png|thumb|Normal Sphere Representation Example|center]]
 
==Representation==
To enable the '''spheres''' representation do the following for any selection SEL,
show spheres, SEL
 
==OpenGL Shaders & Spheres==
Newer OpenGL supported cards (like the NVidia 5950 Ultra, or the 6800 GT Ultra) support '''Shaders'''.  Shaders are best used for massive numbers of molecules that are to be represented as spheres.  Typical ranges will now include 500 000 to 3 000 000 atoms!  Take a look, the following example is of a viral nucleocapsid: 261 240 atoms!  Performance and visual quality -- without rendering -- are far improved.
 
-- Image coming --
 
 
To turn on Sphere Shaders use
set sphere_mode, 5
as spheres, SEL
where '''SEL''' is the name of your selection.  Getting normal sphere mode back is easy:
set sphere_mode, 4
as spheres, SEL
 


[[Category:Representations|Spheres]]
[[Category:Representations|Spheres]]

Revision as of 22:31, 6 June 2005

Normal Sphere Representation Example

Representation

To enable the spheres representation do the following for any selection SEL,

show spheres, SEL

OpenGL Shaders & Spheres

Newer OpenGL supported cards (like the NVidia 5950 Ultra, or the 6800 GT Ultra) support Shaders. Shaders are best used for massive numbers of molecules that are to be represented as spheres. Typical ranges will now include 500 000 to 3 000 000 atoms! Take a look, the following example is of a viral nucleocapsid: 261 240 atoms! Performance and visual quality -- without rendering -- are far improved.

-- Image coming --


To turn on Sphere Shaders use

set sphere_mode, 5
as spheres, SEL

where SEL is the name of your selection. Getting normal sphere mode back is easy:

set sphere_mode, 4
as spheres, SEL