Chromadepth: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Chromadepth is a type of stereo 3D that uses color to encode depth. Reds are closer to the viewer, blue are farther away. This has been implemented in PyMOL and will be stereo_...") |
(open-source) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The [[chromadepth]] setting turns on color by depth, using a rainbow spectrum from red (near) to blue (far). This can produce a pseudo-stereo effect when using [http://chromatek.com/ ChromaDepth glasses]. | |||
''New in Incentive PyMOL 1.7.6'' | |||
''New in Incentive PyMOL 1.8.6: Ray tracing support'' | |||
''In Open-Source PyMOL since 2.2.0'' | |||
== Example == | |||
<syntaxhighlight lang="python"> | |||
fetch 1rx1, async=0 | |||
as surface | |||
show sticks, organic | |||
set chromadepth | |||
set_view (\ | |||
0.683854997, 0.728400052, -0.042148408,\ | |||
-0.276858896, 0.312507719, 0.908674002,\ | |||
0.675050080, -0.609731972, 0.415373385,\ | |||
0.000000000, 0.000000000, -62.658931732,\ | |||
29.408838272, 54.024459839, 15.061312675,\ | |||
45.707679749, 79.610176086, -20.000000000 ) | |||
# these settings can improve chromadepth experience | |||
set depth_cue, 0 | |||
set specular, 0 | |||
</syntaxhighlight> | |||
== Gallery == | |||
<gallery perrow=5> | <gallery perrow=5> | ||
Line 10: | Line 38: | ||
Image:Chroma_3d5.png | Image:Chroma_3d5.png | ||
</gallery> | </gallery> | ||
== See Also == | |||
* http://en.wikipedia.org/wiki/ChromaDepth | |||
* [[stereo]] | |||
* [[depth_cue]] | |||
[[Category:Stereo]] | [[Category:Stereo]] | ||
[[Category:Settings]] |
Latest revision as of 08:23, 7 March 2019
The chromadepth setting turns on color by depth, using a rainbow spectrum from red (near) to blue (far). This can produce a pseudo-stereo effect when using ChromaDepth glasses.
New in Incentive PyMOL 1.7.6
New in Incentive PyMOL 1.8.6: Ray tracing support
In Open-Source PyMOL since 2.2.0
Example
fetch 1rx1, async=0
as surface
show sticks, organic
set chromadepth
set_view (\
0.683854997, 0.728400052, -0.042148408,\
-0.276858896, 0.312507719, 0.908674002,\
0.675050080, -0.609731972, 0.415373385,\
0.000000000, 0.000000000, -62.658931732,\
29.408838272, 54.024459839, 15.061312675,\
45.707679749, 79.610176086, -20.000000000 )
# these settings can improve chromadepth experience
set depth_cue, 0
set specular, 0