Skip to content

Commit 070c1dd

Browse files
committed
Merge branch 'release-0.3.4'
2 parents 664ecb9 + cb45b03 commit 070c1dd

Some content is hidden

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

48 files changed

+49929
-382
lines changed

Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ SUBDIRS = addons \
55
src \
66
data \
77
tests \
8-
tools \
98
osx
109

10+
#SUBDIRS += tools
11+
1112
if HAVE_MARKDOWN
1213
dist_man_MANS = README.md
1314
$(top_builddir): markdown.stamp

NEWS

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

4+
Splash 0.3.4 (2015-09-30)
5+
-------------------------
6+
New features:
7+
* Sound support in Image_FFmpeg
8+
* Seeking in Image_FFmpeg
9+
* Added architecture for effects on video
10+
* SMPTE LTC support, though not active yet
11+
12+
Improvements:
13+
* Various fixes to enable building on OSX / Homebrew
14+
* Now using GLAD as a GL loader
15+
* Improved HTTP server
16+
17+
Bug fixed:
18+
* Camera calibration
19+
420
Splash 0.3.2 (2015-08-05)
521
-------------------------
622
New features:

README.md

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ And you should be ready to go!
107107

108108
If you want to get a more up to date version, you can try compiling and installing the latest version from the develop branch of this repository. Note that these version are more likely to contain bugs alongside new features / optimizations.
109109

110-
sudo apt-get install build-essential git-core subversion cmake automake libtool clang libxrandr-dev libxi-dev libboost-dev
111-
sudo apt-get install libglm-dev libglew-dev libopenimageio-dev libshmdata-0.8-dev libjsoncpp-dev libgsl0-dev libzmq3-dev libsnappy-dev libgphoto2-dev
112-
sudo apt-get install libglfw3-dev
110+
sudo apt-get install build-essential git-core subversion cmake automake libtool clang libxrandr-dev libxi-dev libboost-system-dev
111+
sudo apt-get install libglm-dev libglew-dev libopenimageio-dev libshmdata-1.0-dev libjsoncpp-dev libgsl0-dev libzmq3-dev libsnappy-dev libgphoto2-dev
112+
sudo apt-get install libglfw3-dev libxinerama-dev libxcursor-dev
113113

114114
git clone git://github.com/paperManu/splash
115115
cd splash
@@ -124,9 +124,13 @@ You can now try launching Splash:
124124

125125
#### Mac OSX
126126

127+
Before anything, note that you can grab the latest release version of Splash for OSX right [here](https://github.com/paperManu/splash/releases), as an application bundle.
128+
127129
OSX installation is still a work in progress and has not been extensively tested (far from it!). Also, our current tests have shown that it is far easier to install on OSX version 10.9 or newer, as they switched from libstdc++ (GCC standard library) to libc++ (Clang standard library) as default which seems to solve tedious linking issues.
128130

129-
So, let's start with the installation of the dependencies. Firstly download and install [MacPorts](https://www.macports.org/install.php), after having installed Xcode Developer Tools and XCode Command Line Developer Tools (from the [Apple Developer website](https://developer.apple.com/downloads)).
131+
So, let's start with the installation of the dependencies. Firstly download and install [MacPorts](https://www.macports.org/install.php) or [Homebrew](https://brew.sh), after having installed Xcode Developer Tools and XCode Command Line Developer Tools (from the [Apple Developer website](https://developer.apple.com/downloads)).
132+
133+
The following steps will be using the port command from MacPorts, you may replace it with the brew equivalent if you are more of a Homebrew user. Note that compiling with the Homebrew versions of the libraries has not been tested, so please report issues (and ideally solutions as I do not have a Mac with Homebrew...).
130134

131135
You can now install the command line tools we will need to download and compile the sources:
132136

@@ -137,13 +141,13 @@ Grab and install OpenImageIO, the only library needed by Splash which is not pac
137141
sudo port install tiff openexr libpng boost
138142
git clone https://github.com/OpenImageIO/oiio
139143
cd oiio
140-
git checkout Release-1.3.14
144+
git checkout Release-1.5.18
141145
mkdir build && cd build
142146
cmake ..
143147
make && sudo make install
144148
cd ..
145149

146-
We then install Shmdata, which depends on GStreamer:
150+
We then install Shmdata, which depends on GStreamer. Note that Shmdata is only needed if you want Splash to communicate with other Shmdata-compatible softwares. If you want to read video files or feed Splash through Syphon, you can skip this step.
147151

148152
sudo port install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev python3-dev
149153
git clone https://github.com/nicobou/shmdata
@@ -170,8 +174,14 @@ You should now be able to launch Splash:
170174

171175
splash --help
172176

173-
It is also possible to create an app bundle automatically, the resulting bundle will be placed in the 'osx' subdirectory:
177+
It is also possible to create an app bundle automatically, the resulting bundle will be placed in the 'osx' subdirectory. You need to install a small tool which will take care of bundling the necessary libraries:
174178

179+
git clone https://github.com/auriamg/macdylibbundler
180+
cd dylibbundler
181+
make && sudo make install
182+
cd ..
183+
git clone https://github.com/paperManu/splash
184+
cd splash
175185
./build_osx.sh
176186

177187
Remember that it is a very early port to OSX. Please report any issue you encounter!
@@ -685,7 +695,7 @@ User interface
685695

686696
The user interface is currently separated in two parts: the first one is the json configuration file, where the Cameras, Windows and various Images and Meshes are set. There is currently no way to add any of these objects during runtime, although it is planned.
687697

688-
The second part is a GUI which appears in the very first Window created (this means that if you prefer having the GUI in its own window, you can specify the first window as empty, i.e. no link to anything, this can be very handy). Once Splash is launched, the GUI appears by pressing the tabulation key. The Splash Control Panel is divided in subpanels, as follows:
698+
The second part is a GUI which appears in the very first Window created (this means that if you prefer having the GUI in its own window, you can specify the first window as empty, i.e. no link to anything, this can be very handy). Once Splash is launched, the GUI appears by pressing Ctrl + Tab. The Splash Control Panel is divided in subpanels, as follows:
689699

690700
- Base commands: contains very generic commands, like saving and computing the blending map,
691701
- Shortcuts: shows a list of the shortcuts,
@@ -706,7 +716,7 @@ The way calibration works in Splash is to reproduce as closely as possible the p
706716

707717
Once the configuration file is set and each videoprojector has an output, do the following on the screen which has the GUI :
708718

709-
- Press 'tab' to make the GUI appear,
719+
- Press 'Ctrl + Tab' to make the GUI appear,
710720
- open the camera views, in the Views panel of the GUI,
711721
- while hovering the View panelpress space to navigate through all the cameras, until you find the one you want to calibrage,
712722
- press 'W' to switch the view to wireframe,
@@ -729,7 +739,7 @@ Color calibration is done by capturing (automatically) a bunch of photographs of
729739

730740
- Connect a PTP-compatible camera to the computer. The list of compatible cameras can be found [there](http://gphoto.org/proj/libgphoto2/support.php).
731741
- Set the camera in manual mode, chose sensitivity (the lower the better regarding noise) and the aperture (between 1/5.6 and 1/8 to reduce vignetting).
732-
- Open the GUI by pressing 'tab'.
742+
- Open the GUI by pressing 'Ctrl + Tab'.
733743
- Go to the Control panel, find the "colorCalibrator" object in the list.
734744
- Set the various options, default values are a good start:
735745
- colorSamples is the number of samples taken for each channel of each projector,

addons/blender/Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ blenderSplash.zip:
1212
clean: clean-recursive
1313
rm -f blenderSplash.zip Makefile
1414

15-
distclean: distclean-recursive clean
15+
distclean: distclean-recursive
16+
rm -f blenderSplash.zip Makefile
1617

1718
datasdir = $(datadir)/splash/
1819
datas_DATA = \

configure.ac

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ(2.68)
5-
AC_INIT(SPLASH, 0.3.2, [email protected])
5+
AC_INIT(SPLASH, 0.3.4, [email protected])
66
AC_CONFIG_MACRO_DIR([m4])
77
AC_PROG_LIBTOOL
88
AM_INIT_AUTOMAKE([1.9 tar-ustar])
99
AC_CONFIG_HEADERS([include/config.h])
1010

11-
AC_SUBST([LIBSPLASH_SO_VERSION], [0:3:2])
11+
AC_SUBST([LIBSPLASH_SO_VERSION], [0:3:4])
1212
AC_SUBST([LIBSPLASH_API_VERSION], [0.3])
1313
AC_DEFINE(LIBSPLASH_API_VERSION, ["0.3"], [API version])
1414

@@ -31,10 +31,13 @@ case "$host" in *-darwin* | *-macos10*)
3131
LIBTOOL="glibtool"
3232
CXXFLAGS+=" -D__Darwin"
3333
LDFLAGS+=" -undefined dynamic_lookup -Wl,-headerpad_max_install_names"
34+
CPPFLAGS+=" -I/usr/local/include -I/usr/local/include/jsoncpp"
35+
CXXFLAGS+=" -I/usr/local/include -I/usr/local/include/jsoncpp"
36+
LDFLAGS+=" -L/usr/local/lib"
3437
if test -d /opt/local ; then
35-
CPPFLAGS+=" -I/usr/local/include -I/opt/local/include"
36-
CXXFLAGS+=" -I/usr/local/include -I/opt/local/include"
37-
LDFLAGS+=" -L/usr/local/lib -L/opt/local/lib"
38+
CPPFLAGS+=" -I/opt/local/include"
39+
CXXFLAGS+=" -I/opt/local/include"
40+
LDFLAGS+=" -L/opt/local/lib"
3841
elif test -d /sw ; then
3942
CPPFLAGS+=" -I/sw/include"
4043
CXXFLAGS+=" -I/sw/include"
@@ -63,12 +66,6 @@ esac
6366
# Check for SSE
6467
AX_EXT
6568

66-
# Also, GLEW is currently needed under OSX
67-
PKG_CHECK_MODULES([GLEW], [glew], have_glew=true, have_glew=false)
68-
if test "x${have_glew}" = "xfalse" && test "$HAVE_OSX" = "true" ; then
69-
AC_MSG_ERROR([Missing glew, which is needed for building on OSX])
70-
fi
71-
7269
# GLFW
7370
PKG_CHECK_MODULES([GLFW], [glfw3 >= 3.0.3])
7471
if test "x${have_glfw}" = "xfalse" ; then
@@ -152,6 +149,12 @@ PKG_CHECK_MODULES([FFMPEG], [libavformat libavcodec libavutil libswscale],
152149
AC_DEFINE([HAVE_FFMPEG], [0], [Defined to 1 if ffmpeg is detected]))
153150
AM_CONDITIONAL(HAVE_FFMPEG, test -n "$FFMPEG_LIBS")
154151

152+
# PortAudio, to play sound
153+
PKG_CHECK_MODULES([PORTAUDIO], [portaudio-2.0],
154+
AC_DEFINE([HAVE_PORTAUDIO], [1], [Defined to 1 if portaudio-2.0 is detected]),
155+
AC_DEFINE([HAVE_PORTAUDIO], [0], [Defined to 1 if portaudio-2.0 is detected]))
156+
AM_CONDITIONAL(HAVE_PORTAUDIO, test -n "$PORTAUDIO_LIBS")
157+
155158
# OpenCV, for their hardware support
156159
PKG_CHECK_MODULES([OPENCV], [opencv],
157160
AC_DEFINE([HAVE_OPENCV], [1], [Defined to 1 if OpenCV is detected]),
@@ -162,6 +165,12 @@ AM_CONDITIONAL(HAVE_OPENCV, test -n "$OPENCV_LIBS")
162165
BOOST_REQUIRE([1.50])
163166
BOOST_ASIO
164167

168+
# LTC, for synchronization with a SMTPE clock through audio input
169+
PKG_CHECK_MODULES([LTC], [ltc],
170+
AC_DEFINE([HAVE_LTC], [1], [Defined to 1 if ltc is detected]),
171+
AC_DEFINE([HAVE_LTC], [0], [Defined to 1 if ltc is detected]))
172+
AM_CONDITIONAL(HAVE_LTC, test -n "$LTC_LIBS")
173+
165174
# Check for Markdown to generate documentation
166175
AC_CHECK_PROGS([MARKDOWN], [markdown])
167176
if test "x$MARKDOWN" = "xtrue" ; then
@@ -187,6 +196,8 @@ AC_CONFIG_FILES([
187196
osx/Info.plist:osx/Info.plist.in
188197
osx/Makefile
189198
tests/Makefile
190-
tools/Makefile
191199
])
200+
201+
#tools/Makefile
202+
192203
AC_OUTPUT

0 commit comments

Comments
 (0)