View Change

View Change Render 1.1
-----------------------
REQUIREMENTS: VMD Version 1.8.6 or newer 
DESCRIPTION:
 script to save current viewpoints and animate
 a smooth 'camera move' between them,
 rendering each frame to a numbered .rgb file
 (Can also do the 'camera moves' without writing files.)
PROCEDURES:
 save_vp - save current viewpoint
 retrieve_vp - change current viewpoint to a saved one
 move_vp - smoothly move between saved viewpoints 
 move_vp_render - smoothly move between saved viewpoints and render
 write_vps - write viewpoints to a disk file (read back in via 'source')
USAGE:
 In the vmd console type this to save your viewpoint:
 save_vp 1
 to retrieve that viewpoint (You can replace '1' with an integer < 10000) retrieve_vp 1 After you've saved more than 1 viewpoint move_vp_render 1 8 200 /tmp myMove 25 smooth will move from viewpoint 1 to viewpoint 8 smoothly, recording 25 frames to /tmp/myMove####.rgb, with #### ranging from 0200 -- 0224. move_vp 1 43 will retrieve viewpoint 1 then smoothly move to viewpoint 43. (move_vp does not render .rgb files, move_vp_render does) Note warning above. Extreme moves that cause obvious protein distortion can be done in two or three steps. To specify animation frames used, use move_vp 1 43 200 will move from viewpoint 1 to 43 in 200 steps. If this is not specified, a default 50 frames is used To specify smooth/jerky accelaration, use move_vp 1 43 200 smooth move_vp_render 1 8 200 /tmp myMove 25 smooth or move_vp 1 43 200 sharp move_vp_render 1 8 200 /tmp myMove 25 sharp the 'smooth' option accelerates and deccelrates the transformation the 'sharp' option gives constant velocity To write viewpoints to a file, write_vps my_vp_file.tcl viewpoints with integer numbers 0-10000 are saved To retrieve viewpoints from a file, source my_vp_file.tcl DOWNLOAD THE FILE: view_change_render.tcl
AUTHOR:
Barry Isralewitz 

AltStyle によって変換されたページ (->オリジナル) /