[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ccp4bb]: making movie by Bobscript
Title: Re: [ccp4bb]: making movie by
Bobscript
Hi Mary,
how about using dino, writing out a POV Ray file and rendering
the scene/movie in Pov Ray ?
Here you can find several binaries:
http://www.biozentrum.unibas.ch/~xray/dino/
http://www.povray.org/
If you want to render surfaces you'll additionally need the
program msms - a link can be found on the dino page for
download.
1. Convert your pdb file mit pdb_to_xyzr yourfile.pdb >
yourfile.xyzr to a format readable for msms
2. msms -if yourfile.xyzr -of yourfile
This will write out a .vert and a .face file
3. start dino and read in your data e.g:
l
load
Yourfile.pdb
...Yourfile new -name all
...Yourfile new -name ca -type trace -selection $protein
...Yourfile.ca set color=yellow
load Yourfile -type msms -name surf
...surf new -name all
scene autoslab
.surf attach
...Yourfile
.surf.all set
color=blue -sel $basic
...surf.all set color=blue4 -sel $basic2
...surf.all set color=red -sel $acidic
...surf.all set color=red4 -sel $acidic2
...surf.all set color=cyan -sel $polar
...surf.all set color=green -sel $aromatic
...surf.all set color=yellow -sel $aliphatic
write Yourfile.pov
stop
You might have to center your image correctly in the window by
simply clicking on a residue and pressing the right mouse button for
the context menu, then select center CP.
4. start povray
5. edit the yourfile.pov file and add the following lines:
rotate clock*360*x
or
rotate
clock*360*y
light_source {<0,0,200>
color rgb <1,1,1>}
light_source {<0,0,-200> color rgb <1,1,1>}
light_source {<0,-200,0> color rgb <1,1,1>}
light_source {<0,200,0> color rgb <1,1,1>}
to have the molecule bathed in
light, you might have to change the value 200, dependend on the size
of your protein.
And dependent on the size of your
movie go and have a coffee or two.
A 320 x 240 Scene with 120 images
takes on a PB G3/500 approximately 1 h, this is using virtual memory
:-(
I hope I could show you a fast
and easy way to produce a nice rendered movie.
(no I'm not paid by anyone of the
authors *g*)
Juergen
Juergen
Bosch Tel -49 -89 8578
2648
Max Planck Institute for
Biochemistry Fax -49 -89 8578 2641
Department of Molecular Structural
Biology bosch@biochem.mpg.de
Am Klopferspitz
18a
jbosch@biochem.mpg.de
D-82152 Martinsried, Germany