diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-06-01 18:00:00 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-06-01 18:00:00 +0000 |
commit | 861aa673cc2933b8fbab356f7d3f8b172ab6544a (patch) | |
tree | 4a9580e6ef01558972f9a7e7d76c1f76e5b73dcc /graphics | |
parent | Forced commit, just to point out that the previous commit did NOT reference (diff) |
Add vertex 0.0.1d, a 3D modeller designed specifically for generating
efficient game models.
Notes
Notes:
svn path=/head/; revision=43406
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/vertex/Makefile | 27 | ||||
-rw-r--r-- | graphics/vertex/distinfo | 1 | ||||
-rw-r--r-- | graphics/vertex/files/patch-Makefile.Linux | 50 | ||||
-rw-r--r-- | graphics/vertex/files/patch-Makefile.install.UNIX | 30 | ||||
-rw-r--r-- | graphics/vertex/files/patch-config.h | 14 | ||||
-rw-r--r-- | graphics/vertex/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/vertex/pkg-descr | 24 | ||||
-rw-r--r-- | graphics/vertex/pkg-plist | 16 |
9 files changed, 164 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 8ca664e5c2c6..b1a5508c2224 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -245,6 +245,7 @@ SUBDIR += vcdpad SUBDIR += vcdtools SUBDIR += vcg + SUBDIR += vertex SUBDIR += vid SUBDIR += view3ds SUBDIR += whirlgif diff --git a/graphics/vertex/Makefile b/graphics/vertex/Makefile new file mode 100644 index 000000000000..74be0e7d572c --- /dev/null +++ b/graphics/vertex/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: vertex +# Date created: 1 June 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= vertex +PORTVERSION= 0.0.1d +CATEGORIES= graphics +MASTER_SITES= ftp://wolfpack.twu.net/users/wolfpack/ +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= sobomax@FreeBSD.org + +LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea \ + tiff.4:${PORTSDIR}/graphics/tiff + +WRKSRC= ${WRKDIR}/${DISTNAME}/vertex + +USE_BZIP2= yes +USE_X_PREFIX= yes +USE_MESA= yes +USE_GTK= yes +MAKEFILE= Makefile.Linux + +.include <bsd.port.mk> diff --git a/graphics/vertex/distinfo b/graphics/vertex/distinfo new file mode 100644 index 000000000000..1da687cb27f2 --- /dev/null +++ b/graphics/vertex/distinfo @@ -0,0 +1 @@ +MD5 (vertex0.0.1d.tar.bz2) = 3381347a13d4588f6e861fc4e6831fcc diff --git a/graphics/vertex/files/patch-Makefile.Linux b/graphics/vertex/files/patch-Makefile.Linux new file mode 100644 index 000000000000..b31298ce3352 --- /dev/null +++ b/graphics/vertex/files/patch-Makefile.Linux @@ -0,0 +1,50 @@ + +$FreeBSD$ + +--- Makefile.Linux 2001/06/01 17:04:37 1.1 ++++ Makefile.Linux 2001/06/01 17:20:49 +@@ -18,7 +18,7 @@ + # You may modify any value as needed. Change only the ones you are + # absolutly sure that requires modification. + # +-PREFIX = /usr ++PREFIX ?= /usr + + + # ######################################################################## +@@ -70,7 +70,9 @@ + # to debug the program. + # + +-CFLAGS = -DHAVE_IMLIB `gtk-config --cflags` -O -g -Wall ++GTK_CFLAGS != $(GTK_CONFIG) --cflags ++CFLAGS += -DHAVE_IMLIB -DHAVE_GTKGLAREA -DUSE_XSHM $(GTK_CFLAGS) -Wall \ ++ -DPREFIX=\"${PREFIX}\" + + CPPFLAGS = -D__cplusplus -Dc_plusplus + +@@ -86,9 +88,11 @@ + # to the LIB line depending on what you have set in the CFLAGS line + # farther above. + # ++GTK_LIBS != $(GTK_CONFIG) --libs ++IMLIB_LIBS != $(X11BASE)/bin/imlib-config --libs + LIB = -lm \ +- -lImlib -lpng -ltiff -lgif -ljpeg \ +- `gtk-config --libs` \ ++ $(IMLIB_LIBS) \ ++ $(GTK_LIBS) \ + -lGLU -lGL \ + -lgtkgl \ + -lz +@@ -121,8 +125,8 @@ + # + include Makefile.srclist + +-CC = gcc +-CPP = g++ ++CC ?= gcc ++CPP = $(CXX) + BIN = vertex + OBJ_C = $(SRC_C:.c=.o) + OBJ_CPP = $(SRC_CPP:.cpp=.o) diff --git a/graphics/vertex/files/patch-Makefile.install.UNIX b/graphics/vertex/files/patch-Makefile.install.UNIX new file mode 100644 index 000000000000..20dc39213cbb --- /dev/null +++ b/graphics/vertex/files/patch-Makefile.install.UNIX @@ -0,0 +1,30 @@ + +$FreeBSD$ + +--- Makefile.install.UNIX 2001/06/01 17:28:56 1.1 ++++ Makefile.install.UNIX 2001/06/01 17:32:30 +@@ -28,17 +28,19 @@ + + BIN_DIR = $(PREFIX)/bin + DATA_DIR = $(PREFIX)/share/$(BIN) +-ICONS_DIR = $(PREFIX)/share/icons ++ICONS_DIR = $(PREFIX)/share/$(BIN)/icons + + HR = "-------------------------------------------------------------------------" + + install: + $(MKDIR) $(MKDIRFLAGS) $(BIN_DIR) +- $(INSTALL) $(INSTBINFLAGS) $(BIN) $(BIN_DIR) ++ $(BSD_INSTALL_PROGRAM) $(BIN) $(BIN_DIR) + $(MKDIR) $(MKDIRFLAGS) $(ICONS_DIR) +- $(INSTALL) $(INSTDATFLAGS) $(BIN).xpm $(ICONS_DIR) +- $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR) +- $(COPY) -r data/* $(DATA_DIR) ++ $(BSD_INSTALL_DATA) $(BIN).xpm $(ICONS_DIR) ++.for subd in help preset_models preset_primitives ++ $(MKDIR) $(MKDIRFLAGS) $(DATA_DIR)/$(subd) ++ $(BSD_INSTALL_DATA) data/$(subd)/* $(DATA_DIR)/$(subd) ++.endfor + @echo $(HR) + @echo "Program $(BIN) installed in:" + @echo " " diff --git a/graphics/vertex/files/patch-config.h b/graphics/vertex/files/patch-config.h new file mode 100644 index 000000000000..4959730f74d9 --- /dev/null +++ b/graphics/vertex/files/patch-config.h @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- config.h 2001/06/01 17:19:04 1.1 ++++ config.h 2001/06/01 17:19:54 +@@ -53,7 +53,7 @@ + /* + * File and directory paths: + */ +-#define VMA_DEF_DATA_GLOBAL_DIR "/usr/share/vertex" ++#define VMA_DEF_DATA_GLOBAL_DIR (PREFIX "/share/vertex") + + /* Local data directory, user's home dir will be prefixed. */ + #define VMA_DEF_DATA_LOCAL_DIR ".vertex" diff --git a/graphics/vertex/pkg-comment b/graphics/vertex/pkg-comment new file mode 100644 index 000000000000..3391d4eb5d44 --- /dev/null +++ b/graphics/vertex/pkg-comment @@ -0,0 +1 @@ +A 3D modeller designed specifically for generating efficient game models diff --git a/graphics/vertex/pkg-descr b/graphics/vertex/pkg-descr new file mode 100644 index 000000000000..32deb1ddabd2 --- /dev/null +++ b/graphics/vertex/pkg-descr @@ -0,0 +1,24 @@ +Vertex 3D Model Assembler (sometimes reffered to as just Vertex) is a unique +modeller designed specifically for generating efficient game models for (but +not limited to) games and applications using OpenGL's style of graphics +rendering. + +This is not a modeller intended to create massive 3D scenes for ray tracers. +However there are plans to support exporting models to ray tracers (ie POVRAY), +Vertex is not intended to be an eye candy modeller but rather a strict high +performance game model maker. + +Vertex supports the native V3D format, it is a hybrid text file format designed +to easilly support third party proprietery data as well as V3D model data in an +OpenGL friendly layout so that it can be read and loaded quickly into OpenGL +display lists (if that is what the application wants) or into editable data +structures in terms of `models' and `primitives'. One V3D file may contain +multiple modelmodels and embedded third party proprietery data within and +outside model sections in the file. + +Vertex is a modeller written by game programmers for game programmers, its +intent is to maximize efficiency and detail tradeoff for high performance +animations in games. Artists using modellers for ray-tracers make need some +breaking into the differences of making models for ray tracers vs games. + +WWW: http://wolfpack.twu.net/Vertex/ diff --git a/graphics/vertex/pkg-plist b/graphics/vertex/pkg-plist new file mode 100644 index 000000000000..5f8da4b31c45 --- /dev/null +++ b/graphics/vertex/pkg-plist @@ -0,0 +1,16 @@ +bin/vertex +share/vertex/help/contacts.html +share/vertex/help/index.html +share/vertex/help/keyboard.html +share/vertex/help/tutorial.html +share/vertex/help/v3dformat.html +share/vertex/help/viewing.html +share/vertex/icons/vertex.xpm +share/vertex/preset_models/01.3d +share/vertex/preset_models/02.3d +share/vertex/preset_primitives/01.3d +@dirrm share/vertex/preset_primitives +@dirrm share/vertex/preset_models +@dirrm share/vertex/icons +@dirrm share/vertex/help +@dirrm share/vertex |