Jmol/Surfaces: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Karsten Theis (talk | contribs)
No edit summary
Karsten Theis (talk | contribs)
No edit summary
Line 8: Line 8:


Here is the surface of <scene name='87/871286/Rnase_a/1'>RNAse</scene>. It is shown with the default parameters "frontlit" and "frontonly".  
Here is the surface of <scene name='87/871286/Rnase_a/1'>RNAse</scene>. It is shown with the default parameters "frontlit" and "frontonly".  
You can decide whether to show or hide the surface occluded by other parts of the surface:
<jmol>
  <jmolCheckbox>
    <scriptWhenUnChecked>isosurface ID "1" notfrontonly
      </scriptWhenUnChecked>
    <scriptWhenchecked>isosurface ID "1" frontonly
      </scriptWhenchecked>
    <checked>true</checked>
    <text>frontonly</text>
  </jmolCheckbox>
</jmol>
You also have a choice of lighting modes (front and fully lit look the same if you choose frontonly):


<jmol>
<jmol>
Line 19: Line 34:
       <script>isosurface ID "1" backlit</script>
       <script>isosurface ID "1" backlit</script>
       <text>Backlit</text>
       <text>Backlit</text>
      <checked>false</checked>
     </item>
     </item>
     <item>
     <item>
       <script>isosurface ID "1" fullylit</script>
       <script>isosurface ID "1" fullylit</script>
       <text>Fullylit</text>
       <text>Fullylit</text>
      <checked>false</checked>
     </item>
     </item>
   </jmolRadioGroup>
   </jmolRadioGroup>
</jmol>
</jmol>


You can decide whether to show or hide the surface occluded by other parts of the surface:


<jmol>
  <jmolCheckbox>
    <scriptWhenUnChecked>isosurface ID "1" notfrontonly
      </scriptWhenUnChecked>
    <scriptWhenchecked>isosurface ID "1" frontonly
      </scriptWhenchecked>
    <checked>true</checked>
    <text>frontonly</text>
  </jmolCheckbox>
</jmol>
</StructureSection>
</StructureSection>