Changes between Version 4 and Version 5 of Examples/Brain
- Timestamp:
- 04/11/17 12:44:37 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Examples/Brain
v4 v5 176 176 177 177 === Camera Animation: Path-based 178 To orbit around the data (rotate the data), the camera can be animated in orbit mode. The CameraTrack and the AnimationScene are used in conjunction with two keyframes to render 100 images:178 To orbit around the data (rotate the data), the camera can be animated in orbit mode. The !CameraTrack and the !AnimationScene are used in conjunction with two keyframes to render 100 images. Please note that in 'Path-based' mode the camera parameters of ALL camera positions on the track are stored in PositionPathPoints of the first keyframe. 179 179 {{{ 180 180 #!python … … 220 220 {{{ 221 221 #!python 222 cameraAnimationCue1 = GetCameraTrack(view=renderView) 223 animationScene = GetAnimationScene() 224 222 225 # create key frame 1 223 226 keyFrame1 = CameraKeyFrame() … … 250 253 251 254 for i in range(numFrames): 252 print (" rendering image %04d" % (imageNum))255 print ("interpolate camera: rendering image %04d" % (imageNum)) 253 256 WriteImage("picture_%04d.png" % (imageNum)) 254 257 imageNum = imageNum + 1