Changes between Version 6 and Version 7 of Examples/Brain


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Examples/Brain

    v6 v7  
    131131
    132132== Prototyping the Movie
    133 Later we will generate the movie by controlling the rendering process in !ParaView via a Python-script (pvpython). Before we can do this, we need to find out good camera positions for camera flights, proper color- and transparency-tables, maybe a volume of interest and so on.
     133The final movie is generate by controlling the rendering process in !ParaView via a Python-script (pvpython). Before this is done, we need to find out good camera positions for camera flights, proper color- and opacity-tables, maybe a volume of interest and so on.
    134134
    135135To find out the necessary parameters, the data can be loaded with the !ParaView GUI first. There one can interactively adjust camera positions, color tables, .....
    136 It is also very helpful to open the Python-Trace window of !ParaView, where most parameter changes made in the GUI are shown as Python commands. Those commands can, with little changes, be used in the final Python script for the movie generation.
     136It is also very helpful to open the Python-Trace window of !ParaView, where most parameter changes made in the GUI are shown as Python commands. These commands can, with little changes, be used in the final Python script for the movie generation.
    137137
    138138== Generating the Movie by Python Scripting
     
    183183pLIPWF.Points = [0.0, 0.0, 0.5, 0.0,   254.0, 1.0, 0.5, 0.0]
    184184pLIPWF.ScalarRangeInitialized = 1
     185
     186camera = GetActiveCamera()
     187camera.SetPosition(0.0, 0.0, 1.488)
     188camera.SetFocalPoint(0.0, 0.0, 0.0)
     189camera.SetViewUp(-1.0, 0.0, 0.0)
     190Render()
    185191}}}
    186192