Go to file
whitequark 75a3936b64 Add support for transparent solids.
Some extra code is necessary to determine that the back faces
should not be drawn in red for transparent solids. It is expected
that the user will first ensure that the shell is watertight
and then set the opacity; back faces are still drawn if
the opacity is exactly 1.

The savefile format is changed backwards-compatibly by stashing
the alpha value in uppermost byte of 4-byte hex color value
in Surface and Triangle clauses. The existing files have 00
in the high byte, so RgbColor::FromPackedInt treats that
as "opaque".
2015-07-10 15:59:12 +03:00
cmake Implement OS X port. 2015-07-10 15:59:12 +03:00
debian Add README. 2015-07-10 15:59:12 +03:00
exposed Add a CMake buildsystem. 2015-07-10 15:59:11 +03:00
extlib Updated the bundled LibPNG/zlib, and polished the MSVC makefile further 2013-11-13 00:33:23 -05:00
include Trim trailing whitespace. 2015-07-10 15:59:11 +03:00
src Add support for transparent solids. 2015-07-10 15:59:12 +03:00
tools Add a CMake buildsystem. 2015-07-10 15:59:11 +03:00
.gitattributes Added a .gitattributes file 2013-11-19 18:17:55 -05:00
.gitignore Add a native Debian package. 2015-07-10 15:59:12 +03:00
.travis.yml Add Travis CI and Appveyor CI configurations. 2015-07-10 15:59:12 +03:00
CMakeLists.txt Add Travis CI and Appveyor CI configurations. 2015-07-10 15:59:12 +03:00
COPYING.txt Changes in preparation for the release of SolveSpace under the GPL, 2013-07-28 14:08:34 -08:00
README.md Add README. 2015-07-10 15:59:12 +03:00
appveyor.yml Add Travis CI and Appveyor CI configurations. 2015-07-10 15:59:12 +03:00
wishlist.txt Make oops() calls exit instead of entering debugger by default, 2011-03-05 12:52:57 -08:00

README.md

SolveSpace

This repository contains the official repository of SolveSpace.

Installation

All binary packages are built from the compat branch.

Debian (>=jessie) and Ubuntu (>=trusty)

Binary packages for Ubuntu trusty and later versions are available in ~whitequark/solvespace PPA.

Mac OS X (>=10.6 64-bit)

Binary packages for Mac OS X are available via GitHub releases.

Other systems

See below.

Building on Linux

You will need cmake, libpng, zlib, json-c, fontconfig, gtkmm 2.4, pangomm 1.4, OpenGL and OpenGL GLU. On a Debian derivative (e.g. Ubuntu) these packages can be installed with:

apt-get install libpng12-dev libjson-c-dev libfontconfig1-dev \
                libgtkmm-2.4-dev libpangomm-1.4-dev libgl-dev libglu-dev \
                libglew-dev

After that, build SolveSpace as following:

mkdir cbuild
cd cbuild
cmake ..
make
sudo make install

A fully functional port to GTK3 is available, but not recommended for use due to bugs in this toolkit.

Building on Mac OS X

You will need XCode tools, cmake and libpng. Assuming you use homebrew, these can be installed with:

brew install cmake libpng

XCode has to be installed via AppStore; it requires a free Apple ID.

After that, build SolveSpace as following:

mkdir cbuild
cd cbuild
cmake ..
make

The app bundle is built in cbuild/src/solvespace.app.

License

SolveSpace is distributed under the terms of the GPL3 license.