Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Merge requests
  • !81

runTimePostProcessing FO camera update

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Admin requested to merge feature-runtime-post-pro-camera-update into develop Nov 28, 2016
  • Overview 0
  • Commits 3
  • Changes 2
  • Removed the camera 'mode'

    • The (old) static camera was only appropriate when parallel projection was inactive, and the view was centred at (0 0 0)
    • Camera input now always requires 'position' and 'focalPoint'
    • Clip box is now optional. Note that this is applied after the camera set-up and so will override the camera position
    • View angle is only appropriate when not using parallel projection
    • Zoom now required, applied after all other operations
      • 1 = do nothing, >1 = zoom in, <1 = zoom out

    Example input:

        camera
        {
            // Total number of frames to generate
            nFrameTotal 1;

            // Parallel projection flag
            parallelProjection no;

            focalPoint  (0 0 0);
            up          (0 1 0);
            position    (0 0 1);

            // Optional entries
            clipBox     (-0.0206 -0.0254 -0.0005) (0.29 0.0254 0.0005);
            viewAngle   20;
            zoom        1.1;
        }
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature-runtime-post-pro-camera-update