Changes between Version 4 and Version 5 of Examples/Brain


Ignore:
Timestamp:
04/11/17 12:44:37 (7 years ago)
Author:
Herwig Zilken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Examples/Brain

    v4 v5  
    176176
    177177=== 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:
     178To 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.
    179179{{{
    180180#!python
     
    220220{{{
    221221#!python
     222cameraAnimationCue1 = GetCameraTrack(view=renderView)
     223animationScene = GetAnimationScene()
     224
    222225# create key frame 1
    223226keyFrame1 = CameraKeyFrame()
     
    250253
    251254for i in range(numFrames):
    252   print ("rendering image %04d" % (imageNum))
     255  print ("interpolate camera: rendering image %04d" % (imageNum))
    253256  WriteImage("picture_%04d.png" % (imageNum))
    254257  imageNum = imageNum + 1