mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 02:21:15 +02:00
add openscad and co
This commit is contained in:
27
graph/libopencsg/Makefile
Normal file
27
graph/libopencsg/Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
# Created by: Michael Reifenberger <mr@FreeBSD.org>
|
||||
# $FreeBSD: head/graphics/opencsg/Makefile 516845 2019-11-05 22:16:14Z zeising $
|
||||
|
||||
PORTNAME= opencsg
|
||||
PORTVERSION= 1.4.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.opencsg.org/
|
||||
DISTNAME= OpenCSG-${PORTVERSION}
|
||||
PKGNAMEPREFIX= lib
|
||||
|
||||
MAINTAINER= mr@FreeBSD.org
|
||||
COMMENT= Constructive Solid Geometry rendering library
|
||||
|
||||
LIB_DEPENDS+= libGL.so:graph/libmesa
|
||||
LIB_DEPENDS+= libglapi.so:graph/libmesa
|
||||
LIB_DEPENDS+= libGLEW.so:graph/libGLEW
|
||||
|
||||
USES= compiler:c++11-lang gmake
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
|
||||
DESTDIRNAME= INSTALL_ROOT
|
||||
|
||||
do-configure:
|
||||
cd ${WRKSRC} && qmake .
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
graph/libopencsg/distinfo
Normal file
3
graph/libopencsg/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1516550936
|
||||
SHA256 (OpenCSG-1.4.2.tar.gz) = d952ec5d3a2e46a30019c210963fcddff66813efc9c29603b72f9553adff4afb
|
||||
SIZE (OpenCSG-1.4.2.tar.gz) = 933135
|
||||
20
graph/libopencsg/pkg-descr
Normal file
20
graph/libopencsg/pkg-descr
Normal file
@@ -0,0 +1,20 @@
|
||||
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.
|
||||
|
||||
WWW: http://www.opencsg.org/
|
||||
3
graph/libopencsg/pkg-plist
Normal file
3
graph/libopencsg/pkg-plist
Normal file
@@ -0,0 +1,3 @@
|
||||
include/opencsg.h
|
||||
lib/libopencsg.so
|
||||
lib/libopencsg.so.1
|
||||
Reference in New Issue
Block a user