From 3426aeebba3ec51e6b6bf7e1f0de947c97f97a36 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 25 Oct 2017 22:25:58 +0100 Subject: an improvement --- gui/src/chainImageSet.cpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'gui/src/chainImageSet.cpp') diff --git a/gui/src/chainImageSet.cpp b/gui/src/chainImageSet.cpp index 1fa20ad..7e6e351 100644 --- a/gui/src/chainImageSet.cpp +++ b/gui/src/chainImageSet.cpp @@ -2,8 +2,6 @@ void chainImageSet::drawOutput(){ - //movment and rotation are working on their own but not together. - float camera_throw= (float)outputSize.y/(float)outputSize.x; //the ratio of z distance to x width camera_throw*=fitFactor; //fudge factor to allow tweening, @@ -45,7 +43,20 @@ void chainImageSet::drawOutput(){ (*currentImage)->drawChain(DEFAULT_FADEIN,additive,intensity,zoomMultiplier); + + + } + + +} + +void chainImageSet::drawGpu(){ + + ofSetColor(255); + + if (images.size()){ + (*currentImage)->gpu_drawChain(DEFAULT_FADEIN,additive,intensity,zoomMultiplier); } } -- cgit v1.2.3