Skip to content

Commit 8163d84

Browse files
committed
Merge branch 'release-0.7.12'
2 parents f80b1a2 + 1b8df57 commit 8163d84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+734
-507
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variables:
55

66
before_script:
77
- apt update -qq
8-
- apt install -y curl wget build-essential git-core zip cmake automake libtool clang libxrandr-dev libxi-dev libglm-dev libgsl0-dev libatlas3-base libzmq3-dev libsnappy-dev libgphoto2-dev libxinerama-dev libxcursor-dev python3-dev portaudio19-dev yasm libgl1-mesa-dev
8+
- apt install -y curl wget build-essential git-core zip cmake automake libtool libxrandr-dev libxi-dev libgsl0-dev libatlas3-base libgphoto2-dev libxinerama-dev libxcursor-dev python3-dev portaudio19-dev yasm libgl1-mesa-dev python
99
- git submodule update --init
1010
- ./make_deps.sh
1111
- rm -rf build && mkdir build && cd build

CMakeLists.txt

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
cmake_minimum_required(VERSION 3.2)
2121
project(
2222
splash
23-
VERSION 0.7.10
23+
VERSION 0.7.12
2424
LANGUAGES C CXX
2525
)
2626

@@ -46,7 +46,6 @@ set(ENV{PKG_CONFIG_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/external/third_parties/lib
4646
find_package(PkgConfig REQUIRED)
4747

4848
# Mandatory dependencies
49-
pkg_search_module(SNAPPY REQUIRED snappy)
5049
pkg_search_module(GSL REQUIRED gsl)
5150
pkg_search_module(ZMQ REQUIRED libzmq)
5251
pkg_check_modules(FFMPEG REQUIRED libavformat libavcodec libavutil libswscale)
@@ -127,6 +126,7 @@ set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
127126
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
128127
set(GLFW_INSTALL OFF CACHE BOOL "" FORCE)
129128
add_subdirectory(external/glfw)
129+
add_subdirectory(external/snappy)
130130

131131
#
132132
# Sources
@@ -167,21 +167,7 @@ if(UNIX AND NOT APPLE) # Package creation on Linux
167167
set(CPACK_DEBIAN_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}")
168168
set(CPACK_DEBIAN_PROJECT_HOMEPAGE "https://gitlab.com/sat-metalab/splash/wiki")
169169
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
170-
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libatlas3-base,
171-
libboost-system1.58.0,
172-
libgphoto2-6,
173-
libgsl2,
174-
libopencv-core2.4v5,
175-
libopencv-highgui2.4v5,
176-
libopencv-imgproc2.4v5,
177-
libopencv-video2.4v5,
178-
libxrandr2,
179-
libxi6,
180-
libxinerama1,
181-
libxcursor1,
182-
libzmq5,
183-
libportaudio2,
184-
zip")
170+
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
185171
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "${CPACK_PACKAGE_VENDOR} <[email protected]>")
186172
set(CPACK_DEBIAN_PACKAGE_DESCRIPTION "Splash is a free (as in GPL) modular mapping software. Provided that the user creates a 3D model with UV mapping of the projection surface, Splash will take care of calibrating the videoprojectors (intrinsic and extrinsic parameters, blending), and feed them with the input video sources. Splash can handle multiple inputs, mapped on multiple 3D models, and has been tested with up to eight outputs on two graphic cards. It currently runs on a single computer but support for multiple computers mapping together is planned.")
187173
set(CPACK_DEBIAN_PACKAGE_SECTION "video")

NEWS.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
Splash release notes
22
===================
33

4+
Splash 0.7.12 (2018-01-05)
5+
--------------------------
6+
New features:
7+
- Added support for named values, and a mediaInfo attribute to Images
8+
9+
Improvements:
10+
- Added Python as a dependency for CI
11+
- Bundled GL FBOs into the Framebuffer class
12+
- Added get_size() method to Python sink
13+
- Added splash.get_interpreter_name() to Python
14+
- Updated ZMQ and Hap
15+
16+
Bugs fixed:
17+
- Fixed blending when a virtual probe is in use, with multiple GPUs
18+
- Fixed a GPU leak in ProfilerGL
19+
- Fixed issue with command line args
20+
421
Splash 0.7.10 (2017-12-04)
522
-------------------------
623
New features:

addons/blender/splash/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
bl_info = {
2121
"name": "Splash output",
2222
"author": "Emmanuel Durand",
23-
"version": (0, 7, 10),
23+
"version": (0, 7, 12),
2424
"blender": (2, 72, 0),
2525
"location": "3D View > Toolbox, File > Export",
2626
"description": "Utility tools to connect Blender to the Splash videomapper",

data/config/splash-launcher.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[Desktop Entry]
2-
Version=0.7.10
2+
Version=0.7.12
33
Name=Splash
44
Exec=splash
55
Type=Application

external/build_snappy.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

external/zmq

Submodule zmq updated 97 files

include/camera.h

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040

4141
#include "./attribute.h"
4242
#include "./coretypes.h"
43+
#include "./framebuffer.h"
4344
#include "./geometry.h"
4445
#include "./image.h"
4546
#include "./object.h"
@@ -120,7 +121,13 @@ class Camera : public BaseObject
120121
* \brief Get the output texture for this camera
121122
* \return Return a pointer to the output textures
122123
*/
123-
std::shared_ptr<Texture_Image> getTexture() const { return _outColorTexture; }
124+
std::shared_ptr<Texture_Image> getTexture() const
125+
{
126+
if (_outFbo)
127+
return _outFbo->getColorTexture();
128+
else
129+
return {nullptr};
130+
}
124131

125132
/**
126133
* \brief Try to link the given BaseObject to this object
@@ -204,25 +211,8 @@ class Camera : public BaseObject
204211
*/
205212
bool setCalibrationPoint(const Values& screenPoint);
206213

207-
/**
208-
* \brief Set the output framebuffer
209-
*/
210-
void setupFBO();
211-
212-
/**
213-
* \brief Set the resolution of this camera
214-
* \param width Width of the output textures
215-
* \param height Height of the output textures
216-
*/
217-
void setOutputSize(int width, int height);
218-
219214
private:
220-
GLuint _msFbo{0};
221-
GLuint _outFbo{0};
222-
std::unique_ptr<Texture_Image> _msDepthTexture{nullptr};
223-
std::unique_ptr<Texture_Image> _msColorTexture{nullptr};
224-
std::unique_ptr<Texture_Image> _outDepthTexture{nullptr};
225-
std::shared_ptr<Texture_Image> _outColorTexture{nullptr};
215+
std::unique_ptr<Framebuffer> _msFbo{nullptr}, _outFbo{nullptr};
226216
std::vector<std::weak_ptr<Object>> _objects;
227217

228218
// Rendering parameters
@@ -231,7 +221,6 @@ class Camera : public BaseObject
231221
bool _showCameraCount{false};
232222
bool _hidden{false};
233223
bool _flashBG{false};
234-
bool _automaticResize{true};
235224
bool _render16bits{true};
236225
int _multisample{0};
237226
bool _updateColorDepth{false}; // Set to true if the _render16bits has been updated
@@ -316,11 +305,6 @@ class Camera : public BaseObject
316305
*/
317306
void sendCalibrationPointsToObjects();
318307

319-
/**
320-
* \brief Update the color depth for all textures
321-
*/
322-
void updateColorDepth();
323-
324308
/**
325309
* \brief Register new functors to modify attributes
326310
*/

0 commit comments

Comments
 (0)