BSD Ports

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

SystemPortVersion
FreeBSDgraphics/opencsg1.8.2
OpenBSDgraphics/opencsg1.8.2
NetBSDgraphics/opencsg1.3.2nb6
DragonFlygraphics/opencsg1.4.2_7
MidnightBSDgraphics/opencsg1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.8.21.8.2-1.6.01.8.2
FreeBSD:14:quarterly1.8.21.8.2n/a1.6.01.8.2
FreeBSD:15:latest1.8.21.8.2n/a1.6.01.6.0
FreeBSD:15:quarterly1.8.21.8.2n/an/an/a
FreeBSD:16:latest1.8.21.8.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
Run dependencies 76

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
FileSizeSHA256
OpenCSG-1.8.2.tar.gz3063625ac5df73b1ad3340dd6705ff90e009f1a946bb9536c21c2263a6f974265664c0
Master sites 1
  • http://www.opencsg.org/

Commit history 0

No commits in the history this site was built from.