BSD Ports

graphics/opencsg 1.8.2 OpenBSD

constructive solid geometry rendering library

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
140bd1f552
Categories
graphics

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

Install

Binary package:

pkg_add opencsg

From the ports tree:

cd /usr/ports/graphics/opencsg && make install

Dependencies

Build dependencies 2
Required by 1

Commit history 1

DateCommitCreditsLog message
140bd1f552 afresh1 Update graphics/opencsg to 1.8.2
Help and ok jtt@