- 10 Apr, 2015 1 commit
-
-
Christian Schulte zu Berge authored
Apparently, glBindAttribLocation() does not work as planned with AMD GPUs. Therefore, all Shaders yielded black images. Replaced all attribute locations with hard-coded ones in the vertex shader and removed corresponding convenience function from cgt::Shader. refs #382
-
- 23 Nov, 2014 1 commit
-
-
Christian Schulte zu Berge authored
Added (silencable) debug messages to ScopedTypedData, and ScopedRepresentation structs in cases where no data with the given key could be found or the data found is of wrong type.
-
- 23 Oct, 2014 3 commits
-
-
Christian Schulte zu Berge authored
refs #386
-
Christian Schulte zu Berge authored
refs #386
-
Christian Schulte zu Berge authored
refs #386
-
- 15 Oct, 2014 3 commits
-
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
Moved AbstractJob and OpenGLJobProcessor from campvis-core to tgt and adapted and cleaned up all necessary includes/references.
-
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.
-
- 27 Jul, 2014 1 commit
-
-
Christian Schulte zu Berge authored
-
- 30 May, 2014 1 commit
-
-
Christian Schulte zu Berge authored
Fixed timing issue in CampVisPainter that led CampVisPainter::paint() being called before CampVisPainter::init(). CampVisPainter::paint() now ensures the class (and in particular the shader) to be correctly initialized. fixes #564
-
- 05 May, 2014 2 commits
-
-
Christian Schulte zu Berge authored
Introducing nifty error texture in case that there is nothing to render. Updated copyimage.frag to use texture coordinates instead of viewport pixels.
-
Christian Schulte zu Berge authored
-
- 11 Mar, 2014 1 commit
-
-
Christian Schulte zu Berge authored
-
- 13 Jan, 2014 1 commit
-
-
Christian Schulte zu Berge authored
C++ implicit conversion rules made ShaderManager::loadSeparate() ambiguous in some cases. So I decided to cut loose ends and completely refactored loading with standard version into ShaderManager::load() and loading with custom version into ShaderManager::loadWithCustomGlslVersion(). ShaderManager::loadSeparate() is no longer available!
-
- 13 Dec, 2013 1 commit
-
-
Christian Schulte zu Berge authored
* Moving to Apache 2.0 license * Updated AUTHORS.txt
-
- 15 Oct, 2013 1 commit
-
-
Sebastian Pölsterl authored
-
- 11 Oct, 2013 1 commit
-
-
Christian Schulte zu Berge authored
Work on Issue #44: Removed GLContext interface and merged functionality into GlCanvas. Introducing abstract (Qt-free) tgt::GlContextManager interface, being implemented by tgt::QtContextManager. Further clean up of related code.
-
- 08 Oct, 2013 3 commits
-
-
Christian Schulte zu Berge authored
-
Christian Schulte zu Berge authored
Refactoring pipeline concept #2: Got rid of distinguishing between AbstractPipeline and VisualizationPipeline. Every AbstractPipeline is also a VisualizationPipeline. However, AbstractPipeline does not care about evaluating its components - this has to be implemented in its subclasses. AutoEvaluationPipeline subclasses AbstractPipeline and automatically evaluates the pipeline by listening to the signals of its components and calling the corresponding process() methods.
-
Christian Schulte zu Berge authored
-
- 27 Sep, 2013 1 commit
-
-
Christian Schulte zu Berge authored
-
- 24 Sep, 2013 1 commit
-
-
Christian Schulte zu Berge authored
Revised event handling system: Got rid of campvis::AbstractEventHandler and replaced with functionality of tgt::EventListener and tgt::EventHandler
-
- 21 Sep, 2013 1 commit
-
-
Artur Grunau authored
QtThreadedCanvas used to ignore all repaint events send to it by Qt in order to avoid problems with threading. As a result, however, it would become blank when docked/undocked, and display garbage in those of its regions that some other widgets have moved over. To fix this, the API of TGT's Painter class had to be slightly modified and now mirrors that of Canvas with regard to painting-related operations. The paint method has been made protected; it's supposed to implement the painting logic and shouldn't be called directly. A public repaint method has been introduced to let canvases notify their associated painters that they need to be redrawn. The default implementation simply calls paint() immediately; threaded painters, however, override it to schedule render jobs that run in separate threads. All existing threaded painters have been updated to reduce the visibility of their paint methods and provide public repaint functions. Consequently, QtThreadedCanvas can now properly handle repaint events by delegating to its associated painter's repaint method.
-
- 04 Sep, 2013 1 commit
-
-
Christian Schulte zu Berge authored
-
- 10 Feb, 2013 1 commit
-
-
schultezub authored
* Fixed Issue #38: Made common GLSL header conform to the standards (no samplers in structs) * Fixed failing destruction of OpenGL buffers when destructing GeometryData from threads without OpenGL context * Fixed wrong pointers in GLContexts due to using this pointer of incompletely constructed class git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@463 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 05 Feb, 2013 2 commits
-
-
schultezub authored
* Introducing SimpleJobProcessor for dispatching non-OpenGL-related jobs git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@445 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
schultezub authored
introduced make_job factory method for more convenient creation of jobs (less need of explicitly defining template parameters) git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@444 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 18 Jan, 2013 1 commit
-
-
schultezub authored
=== ATTENTION: CAMPVis does compile, but image representation conversion not yet functional again! === Revising ImageData concept step 2: * Removed all ImageDataXYZ classes * Introducing GenericAbstractImageRepresentation<T> and its GenericAbstractImageRepresentation<T>::ScopedRepresentation * Updated all processors and pipelines to use ImageRepresentationXYZ instead of ImageDataXYZ and the implicit conversion feature git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@401 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 02 Nov, 2012 1 commit
-
-
schultezub authored
git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@338 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 31 Oct, 2012 1 commit
-
-
schultezub authored
git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@335 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 26 Oct, 2012 1 commit
-
-
schultezub authored
git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@326 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 29 Aug, 2012 1 commit
-
-
schultezub authored
* introducing new TUMVis::QuadRenderer using VAO/VBOs * started upgrading shaders to GLSL 3.30 git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@271 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 23 Aug, 2012 1 commit
-
-
schultezub authored
* started converting old multi-threaded OpenGL code to new job-concept * painter and evaluator of a VisualizationPipeline now share the same OpenGL context git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@252 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 22 Aug, 2012 1 commit
-
-
schultezub authored
* introducing OpenGLJobProcessor (the name somehow sucks...) * renamed JobPool to PriorityPool (still needs some work) * AbstractPipeline::executeProcessor() now takes a pointer as argument (necessary for job pattern) git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@251 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 13 Aug, 2012 1 commit
-
-
schultezub authored
* added depth calculation fragment shader git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@234 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 10 Aug, 2012 2 commits
-
-
schultezub authored
* added update_legal_header.py script for updating the legal header in all code files of the project * ran the file => all TUMVis source files now contain the legal header git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@231 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
schultezub authored
git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@230 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 08 Aug, 2012 1 commit
-
-
schultezub authored
* samplerXd.frag is now textureXd.frag * TextureParameters is now TextureXd and contains also the handle to the GLSL texture2d.frag * simplified getElementXd footprint: now only one texture parameter * adapted bind() methods of textures git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@220 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 06 Aug, 2012 1 commit
-
-
schultezub authored
* added AbstractProperty::(de)init and HasPropertyCollection::(de)initAllProperties git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@213 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-
- 26 Jul, 2012 1 commit
-
-
schultezub authored
* introducing TumVisApplication for easy and straight-forward setup of pipelines, contexts, evaluators, etc. * VisualizationPipeline must not get its canvas during construction anymore git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@203 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
-