Changes between Version 12 and Version 13 of CameraObjects
- Timestamp:
- 11/15/14 16:24:27 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CameraObjects
v12 v13 3 3 4 4 = Camera Objects = 5 6 == Creating Camera Objects == 5 7 Camera Objects can be created within the !ProblemModuleInit routine in problem.f90. To create Cameras you first need to add two {{{USE}}} statements to your problem.f90 6 8 {{{ … … 24 26 25 27 * Camera's are currently only used by the [ProjectObjects Projection Object] 28 29 === Camera Parameters === 26 30 27 31 Here is a full list of the various Camera parameters with the default values in brackets: … … 198 202 - Ensure that your last camera has the same time as the final time of your simulation (see your global.data) so that you do not miss any cameras. 199 203 - You may want to evenly split up the camera times. You could also write a script that spits out the CameraData attributes for you (see above). 204 - The code uses [http://en.wikipedia.org/wiki/Spline_interpolation Splite Interpolation] in order to create the path between cameras. Read more about Spline Interpolation with these [http://www.geos.ed.ac.uk/~yliu23/docs/lect_spline.pdf lecture notes] from the University of Edinburgh. 200 205 - Add as many cameras & CameraDatas as you like, however make sure the number of CameraDatas equals the number you have set ncameras equal to. 201 206 … … 204 209 === Problem for the reader === 205 210 206 Edit the problem.f90 and problem.data file to USE Winds, where a wind hits the clump with a velocity and make a fly-through visualization of this new simulation.211 Edit the problem.f90 and problem.data file to {{{USE Winds}}}, where a wind hits the clump with a velocity and make a fly-through visualization of this new simulation.