Skip to content
Snippets Groups Projects
Select Git revision
  • ca5377736468e60b0fc34d443d4c050288006eef
  • master default protected
  • develop protected
  • cmake_boost_refactor
  • ubuntu_ci
  • mmtf
  • non-orthogonal-maps
  • no_boost_filesystem
  • data_viewer
  • 2.11.1
  • 2.11.0
  • 2.10.0
  • 2.9.3
  • 2.9.2
  • 2.9.1
  • 2.9.0
  • 2.8.0
  • 2.7.0
  • 2.6.1
  • 2.6.0
  • 2.6.0-rc4
  • 2.6.0-rc3
  • 2.6.0-rc2
  • 2.6.0-rc
  • 2.5.0
  • 2.5.0-rc2
  • 2.5.0-rc
  • 2.4.0
  • 2.4.0-rc2
29 results

test_surf_pov.py

Blame
  • user avatar
    juergen authored
    git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2507 5a81b35b-ba03-0410-adc8-b2c5c5119f08
    65da7c03
    History
    test_surf_pov.py 575 B
    # run with ost_cl
    struct=io.LoadEntity("sdh.pdb")
    surf=io.LoadSurface("sdh","msms")
    surf.Attach(struct,5.0)
    go=gfx.Surface("surf",surf)
    scene.Add(go)
    scene.SetCenter(go.GetCenter())
    scene.Autoslab()
    scene.SetFog(True)
    scene.Autoslab(True)
    scene.fog_near_offset=10
    scene.SetBackground(gfx.WHITE)
    
    # fast version, via attached atoms
    go.ColorBy("abfac",gfx.Color(0,0,1),gfx.Color(1,0,0),30,80)
    
    scene.SetRTC(geom.Mat4(0.656168,-0.753826,-0.0341944,29.688,0.471087,0.444621,-0.761822,19.9405,0.589488,0.483781,0.646863,73.0075,-1.51607,3.36172,-100,1))
    
    scene.ExportPov("test")