autodataming的个人博客分享 http://blog.sciencenet.cn/u/autodataming

博文

pymol的opengl CGO圆柱体的画法

已有 5143 次阅读 2014-11-7 22:17 |系统分类:科研笔记

#       Cylinder specification: set this to 9.0 or if you did from pymol.cgo import * you can then use "CYLINDER", here.

#怎么设置透明度
#a1, a2
#a1=25.0或者用ALPHA
#        a1=25 means 'ALPHA' (if you do from pymol.cgo import * you can then use CGO keywords
# etc. So, if a1="25.0" then set a2 to some value in the range 0-1.
#a2为透明度
#a2=0 全透明,a2=1不透明

#再看效果的时候,一定要先ray然后再看
#先关闭all,然后先看不透明,然后再看透明的物体,这样才能看到效果







#参考:http://www.pymolwiki.org/index.php/CGOCylinder


code

3.py

 




https://wap.sciencenet.cn/blog-950202-841907.html

上一篇:软件正常安装运行的时候出现segmentation fault的解决方案
下一篇:pymol的opengl CGO球体的画法
收藏 IP: 202.127.19.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (2 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-16 12:42

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部