75a3936b64
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". |
||
---|---|---|
cmake | ||
debian | ||
exposed | ||
extlib | ||
include | ||
src | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
CMakeLists.txt | ||
COPYING.txt | ||
README.md | ||
appveyor.yml | ||
wishlist.txt |
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.