Changes between Version 6 and Version 7 of Examples/Brain
- Timestamp:
- 04/11/17 13:12:21 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Examples/Brain
v6 v7 131 131 132 132 == 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.133 The 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. 134 134 135 135 To 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. Th ose commands can, with little changes, be used in the final Python script for the movie generation.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. These commands can, with little changes, be used in the final Python script for the movie generation. 137 137 138 138 == Generating the Movie by Python Scripting … … 183 183 pLIPWF.Points = [0.0, 0.0, 0.5, 0.0, 254.0, 1.0, 0.5, 0.0] 184 184 pLIPWF.ScalarRangeInitialized = 1 185 186 camera = GetActiveCamera() 187 camera.SetPosition(0.0, 0.0, 1.488) 188 camera.SetFocalPoint(0.0, 0.0, 0.0) 189 camera.SetViewUp(-1.0, 0.0, 0.0) 190 Render() 185 191 }}} 186 192