graphics/opencsg 1.8.2 FreeBSD
Constructive Solid Geometry rendering library
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2+
- Categories
- graphics
- Package size
- 71.8 KiB, 275.3 KiB installed
Description
OpenCSG is a library that does image-based CSG rendering using OpenGL. OpenCSG is written in C++ and supports most modern graphics hardware.
CSG is short for Constructive Solid Geometry and denotes an approach to model complex 3D-shapes using simpler ones. I.e., two shapes can be combined by taking the union of them, by intersecting them, or by subtracting one shape of the other. The most basic shapes, which are not result of such a CSG operation, are called primitives. Primitives must be solid, i.e., they must have a clearly defined interior and exterior. By construction, a CSG shape is also solid then.
Image-based CSG rendering (also z-buffer CSG rendering) is a term that denotes algorithms for rendering CSG shapes without an explicit calculation of the geometric boundary of a CSG shape. Such algorithms use frame-buffer settings of the graphics hardware, e.g., the depth and stencil buffer, to compose CSG shapes. OpenCSG implements a variety of those algorithms, namely the Goldfeather algorithm and the SCS algorithm, both of them in several variants.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/opencsg | 1.8.2 |
| OpenBSD | graphics/opencsg | 1.8.2 |
| NetBSD | graphics/opencsg | 1.3.2nb6 |
| DragonFly | graphics/opencsg | 1.4.2_7 |
| MidnightBSD | graphics/opencsg | 1.8.2 |
Install
Binary package:
pkg install opencsg
From the ports tree:
cd /usr/ports/graphics/opencsg/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= opencsg>0:graphics/opencsg
LIB_DEPENDS= libopencsg.so:graphics/opencsg
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.8.2 | 1.8.2 | - | 1.6.0 | 1.8.2 |
| FreeBSD:14:quarterly | 1.8.2 | 1.8.2 | n/a | 1.6.0 | 1.8.2 |
| FreeBSD:15:latest | 1.8.2 | 1.8.2 | n/a | 1.6.0 | 1.6.0 |
| FreeBSD:15:quarterly | 1.8.2 | 1.8.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.8.2 | 1.8.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 84
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/cmake-core
- devel/dbus
- devel/double-conversion
- devel/gettext-runtime
- devel/glib20
- devel/icu
- devel/jsoncpp
- devel/libedit
- devel/libepoll-shim
- devel/libevdev
- devel/libffi
- devel/libgudev
- devel/libinotify
- devel/libmtdev
- devel/libudev-devd
- devel/libunistring
- devel/libuv
- devel/ninja
- devel/pcre2
- devel/py-evdev
- devel/py-libevdev
- devel/py-packaging
- devel/py-pyudev
- devel/py-six
- devel/qt5-core
- devel/qt5-dbus
- devel/readline
- devel/xdg-utils
- dns/libidn2
- graphics/freeglut
- graphics/graphite2
- graphics/jpeg-turbo
- graphics/libGLU
- graphics/libglvnd
- graphics/png
- graphics/qt5-opengl
- graphics/vulkan-headers
- graphics/wayland
- lang/lua54
- lang/python312
- lang/python315
- math/mpdecimal
- misc/hicolor-icon-theme
- net/qt5-network
- ports-mgmt/pkg
- print/freetype2
- print/harfbuzz
- print/indexinfo
- security/rhash
- textproc/expat2
- textproc/libxml2
- x11-fonts/fontconfig
- x11-toolkits/libXmu
- x11-toolkits/libXt
- x11-toolkits/qt5-gui
- x11-toolkits/qt5-widgets
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXxf86vm
- x11/libinput
- x11/libwacom
- x11/libxcb
- x11/libxkbcommon
- x11/xcb-util
- x11/xcb-util-image
- x11/xcb-util-keysyms
- x11/xcb-util-renderutil
- x11/xcb-util-wm
- x11/xkeyboard-config
- x11/xorgproto
- x11/xprop
- x11/xset
Run dependencies 76
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- devel/dbus
- devel/double-conversion
- devel/gettext-runtime
- devel/glib20
- devel/icu
- devel/libedit
- devel/libepoll-shim
- devel/libevdev
- devel/libffi
- devel/libgudev
- devel/libinotify
- devel/libmtdev
- devel/libudev-devd
- devel/pcre2
- devel/py-evdev
- devel/py-libevdev
- devel/py-packaging
- devel/py-pyudev
- devel/py-six
- devel/qt5-core
- devel/qt5-dbus
- devel/readline
- devel/xdg-utils
- graphics/freeglut
- graphics/graphite2
- graphics/jpeg-turbo
- graphics/libGLU
- graphics/libglvnd
- graphics/png
- graphics/qt5-opengl
- graphics/vulkan-headers
- graphics/wayland
- lang/lua54
- lang/python312
- lang/python315
- math/mpdecimal
- misc/hicolor-icon-theme
- net/qt5-network
- print/freetype2
- print/harfbuzz
- print/indexinfo
- textproc/expat2
- textproc/libxml2
- x11-fonts/fontconfig
- x11-toolkits/libXmu
- x11-toolkits/libXt
- x11-toolkits/qt5-gui
- x11-toolkits/qt5-widgets
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXfixes
- x11/libXi
- x11/libXrandr
- x11/libXrender
- x11/libXxf86vm
- x11/libinput
- x11/libwacom
- x11/libxcb
- x11/libxkbcommon
- x11/xcb-util
- x11/xcb-util-image
- x11/xcb-util-keysyms
- x11/xcb-util-renderutil
- x11/xcb-util-wm
- x11/xkeyboard-config
- x11/xorgproto
- x11/xprop
- x11/xset
Required by 2
Configuration
No options to configure.
- USES
- cmake compiler:c++11-lang gl qt:5
- Service scripts
- none
Files
pkg-plist 4
- include/opencsg.h
- lib/libopencsg.so
- lib/libopencsg.so.1
- lib/libopencsg.so.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| OpenCSG-1.8.2.tar.gz | 306362 | 5ac5df73b1ad3340dd6705ff90e009f1a946bb9536c21c2263a6f974265664c0 |
Master sites 1
- http://www.opencsg.org/
Commit history 0
No commits in the history this site was built from.