1. 24 Oct, 2014 3 commits
    • Christian Schulte zu Berge's avatar
      Further work on refactoring the camera API. Added proof-of-concept... · 4ee7e1ac
      Christian Schulte zu Berge authored
      Further work on refactoring the camera API. Added proof-of-concept implementation into MprRenderer and MprDemo. Thereby fixed various issues of the new CameraData API that occured:
      * tgt::Navigation::updateClippingPlanes() yielding NaNs if the scene bounds were not defined
      * NumericProperty yielding endless loops in case of NaN values
      * Updated AbstractProcessor::process() to automatically validate level XYZ after calling updateXYZ().
      * Adapted changes through renaming tgt into cgt
      
      refs #141
      refs #386
      4ee7e1ac
    • Christian Schulte zu Berge's avatar
      Starting work on refactoring the camera API: · 35a402e5
      Christian Schulte zu Berge authored
      * Introducing new data type CameraData
      * Introducing CameraProvider and TrackballCameraProvider processors (in base module)
      * Introducing AbstractProcessor::ignorePropertyChanges() and AbstractProcessor::observePropertyChanges()
      * Added debug output to NumericProperty if it clamps values to the property's value range
      
      refs #141
      35a402e5
    • Christian Schulte zu Berge's avatar
      Merge branch 'fork-tgt' into 'development' · 331b5f32
      Christian Schulte zu Berge authored
      Fork tgt
      
      See merge request !100
      331b5f32
  2. 23 Oct, 2014 9 commits
  3. 22 Oct, 2014 14 commits
  4. 17 Oct, 2014 5 commits
  5. 16 Oct, 2014 1 commit
  6. 15 Oct, 2014 4 commits
    • Christian Schulte zu Berge's avatar
    • Christian Schulte zu Berge's avatar
      Let tgt::OpenGLGarbageCollector issue its garbage collection request to... · afa7bd28
      Christian Schulte zu Berge authored
      Let tgt::OpenGLGarbageCollector issue its garbage collection request to tgt::OpenGLJobProcessor to get this done in a background thread.
      afa7bd28
    • Christian Schulte zu Berge's avatar
      Moved AbstractJob and OpenGLJobProcessor from campvis-core to tgt and adapted... · fb8b1880
      Christian Schulte zu Berge authored
      Moved AbstractJob and OpenGLJobProcessor from campvis-core to tgt and adapted and cleaned up all necessary includes/references.
      fb8b1880
    • Christian Schulte zu Berge's avatar
      Started refactoring the CAMPVis OpenGL Wrapping API: · 58512d30
      Christian Schulte zu Berge authored
      The new OpenGL wrapping API allows for full multi-threaded access to OpenGL contexts. Instead of one single thread scheduling all OpenGL jobs for all contexts, the new GlContextManager allows for OpenGL access from multiple threads while ensuring that each OpenGL context is acquired by only one thread at a time.
      
      Detailed list of changes:
      * tgt::GlContextManager keeping track of which threads acquire which OpenGL contexts and which threads currently have a context acquired.
      * OpenGLJobProcessor does no longer schedules and execute the OpenGL calls for all existing contexts, but only for one single context that can be used for background tasks or other jobs that explicitly need a valid OpenGL context.
      * AbstractPipeline now implements the Runnable interface and thus runs in it's own thread. This thread also owns the pipeline's OpenGL context.
      * AbstractPipeline has a new pure virtual method executePipeline() that has to perform all computations done by the pipeline.
      * AbstractPipeline now takes directly care of calling Painter::paint() of the pipeline's canvas (instead of signalling the Painter). However, the Painter interface needs further cleanup.
      * AutoEvaluationPipeline was adapted to the new AbstractPipeline API, hence executing processors is no longer delegated to the OpenGLJobProcessor or the SimpleJobProcessor but entirely done in AutoEvaluationPipeline::executePipeline() and thus in the pipeline's thread.
      * Adjusted CampVisApplication, DataContainerInspectorWidget, and GeometryTransferFunctionEditor to the new API.
      58512d30
  7. 13 Oct, 2014 1 commit
  8. 09 Oct, 2014 3 commits