mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Add vertex 0.0.1d, a 3D modeller designed specifically for generating
efficient game models.
This commit is contained in:
parent
56b70932e2
commit
861aa673cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43406
@ -245,6 +245,7 @@
|
||||
SUBDIR += vcdpad
|
||||
SUBDIR += vcdtools
|
||||
SUBDIR += vcg
|
||||
SUBDIR += vertex
|
||||
SUBDIR += vid
|
||||
SUBDIR += view3ds
|
||||
SUBDIR += whirlgif
|
||||
|
27
graphics/vertex/Makefile
Normal file
27
graphics/vertex/Makefile
Normal file
@ -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>
|
1
graphics/vertex/distinfo
Normal file
1
graphics/vertex/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (vertex0.0.1d.tar.bz2) = 3381347a13d4588f6e861fc4e6831fcc
|
50
graphics/vertex/files/patch-Makefile.Linux
Normal file
50
graphics/vertex/files/patch-Makefile.Linux
Normal file
@ -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)
|
30
graphics/vertex/files/patch-Makefile.install.UNIX
Normal file
30
graphics/vertex/files/patch-Makefile.install.UNIX
Normal file
@ -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 " "
|
14
graphics/vertex/files/patch-config.h
Normal file
14
graphics/vertex/files/patch-config.h
Normal file
@ -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"
|
1
graphics/vertex/pkg-comment
Normal file
1
graphics/vertex/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A 3D modeller designed specifically for generating efficient game models
|
24
graphics/vertex/pkg-descr
Normal file
24
graphics/vertex/pkg-descr
Normal file
@ -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/
|
16
graphics/vertex/pkg-plist
Normal file
16
graphics/vertex/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user