小卷xujunli 发表于 2013-12-2 16:45:52

各位大神,这个图是怎么做出来的呢?


期待各位的回答,非常感谢!

fenzimoni 发表于 2013-12-3 15:20:09

同问啊,这个截面的阴影(灰色部分)怎么添加的???

shangrf1974 发表于 2013-12-7 17:21:50

这是将蛋白质切除一部分后画的,截面的阴影(灰色部分)就是切除后留下的切面,具体画法如下;It is sometimes useful to have cross section of your protein, especially in case of pockets, tunnels etc.
First issue following commands:
hide all
show surface
set ray_trace_mode, 0
set two_sided_lighting, off
set ray_interior_color, grey50
Of course you can set up ray_interior_color to any colour you want. This colour is used to display the clipping plane.
Then you will have to adjust the 'near' clipping plane so that it will cut you protein in desired place:
cmd.clip("near", x)
Where x can be positive or negative value (e.g -15 , +10, -90, +100 etc.).
Negative values will move clipping plane towards the molecule and positive values will move it towards you. You will have to start from negative values to move the clipping plane into the molecule.
You will have to ray trace image to see final result.

Example of protein sliced using method described above

小卷xujunli 发表于 2013-12-13 15:12:21

shangrf1974 发表于 2013-12-7 17:21 static/image/common/back.gif
这是将蛋白质切除一部分后画的,截面的阴影(灰色部分)就是切除后留下的切面,具体画法如下;It is sometim ...

感谢你的回复,这个你试过了吗?我这儿怎么还是没做出来呢?

shangrf1974 发表于 2013-12-17 17:48:47

试过了,可以的

小卷xujunli 发表于 2013-12-18 16:20:48

shangrf1974 发表于 2013-12-17 17:48 static/image/common/back.gif
试过了,可以的

行 那我再试试哦 有不懂的还要再请教你呢 谢谢:lol:handshake
页: [1]
查看完整版本: 各位大神,这个图是怎么做出来的呢?