The goal of this project is to add Cell Shading capabilities to the Quake III
engine with real-time performance.
In order to provide such feature we have decided to use Kuwahara filter, a
noise-reduction filter that preserves edges.
It uses four subquadrants to calculate the mean and variance and chooses the
mean value for the region with the smallest variance.
To increase the hand-painted effect we have decided to apply a simple blur
filter to reduce hard-edges on textures and increase the flatness effect.
To produce the cell shading effect we use no graphics card shaders, so our
implementation could run with almost any graphics card. The edge effect is
produced by painting backface polygons with a thick wireframe without
textures and repaint all the scene, but this time, with textures.
We have also implemented a different algorithm (we call it White Texture),
which uses white textures. You can set the console variable r_celshadalgo
to 2, and load another map, or run using the appropriate link that came
with the release.
===> The following configuration options are available for q3cellshading-1.0_5:
GAMELIBS=off: Force building game libraries
OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
====> Options available for the multi FLAVOR: you have to choose at least one of them
CLIENT=on: Build client
DEDICATED=on: Build dedicated server
SMP_CLIENT=on: Build SMP (threaded) client
===> Use 'make config' to modify these settings
Mk/*: Build with a clean environment
Both our make and gmake use the MAKEFLAGS environment variable but the
values aren't compatible and the latest version of gmake complains about
that. To rule out that any environment variable can cause problems like
this, add a new command SETENVI=/usr/bin/env -i that clears the
environment, and use it to run upstream build systems with a clean
environment.
Introduce a new variable WRK_ENV that contains the environment to use
with SETENVI in all targets that run upstream build commands. Variables
that are common between CONFIGURE_ENV and MAKE_ENV could be moved to
WRK_ENV but for now it just contains a minimal environment:
HOME=${WRKDIR}: Fixes USES=elixir ports that were using the user's HOME.
(Only the first 15 lines of the commit message are shown above )
games/q3cellshading: try to unbreak and thus undeprecate the port
Whack the `post-patch' target altogether while here by converting
to regular patch files.
games/q3cellshading: cleanup release CFLAGS, take maintainership
Since we already patch the Makefile, it makes little sense to fix
it up again in the `post-patch' target.
games/q3cellshading: Mark DEPRECATED
- BROKEN on all supported versions for more than 2 years
- Also BROKEN on 12 from portsfallout
- Set EXPIRATION_DATE 2023-11-30
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Change USE_GL to become USES=gl.
Change USE_GL to become USES=gl. You still need to specify USE_GL as well,
to specify which gl components you need, such as egl glesv2 glut glu glw gl.
Only specifying USE_GL is supported for now, to ease in transition. It is
however deprecated, and will be removed eventually.
Specifying USES=gl without USE_GL is an error.
USE_GL=yes is also deprecated, but supported for now. It implies USE_GL=glu.
Fix fallout from this change.
PR: 230692
Approved by: portmgr (antoine)
exp-run by: antoine
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D16774
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
- Trim old-school Makefile header
- Fix a typo in OPTIONS_DEFAULT (CLIETN -> CLIENT)
- Reindent and generally cleanup Makefile
- Reformat port description for better readability
The goal of this project is to add Cell Shading capabilities to the Quake III
engine with Real-time performance.
In order to provide such feature we have decided to use Kuwahara filter.
Kuwahara filter is a noise-reduction filter that preserves edges.
It uses four subquadrants to calculate the mean and variance and chooses the
mean value for the region with the smallest variance.
To increase the hand-painted effect we have decided to apply a simple blur
filter to reduce hard-edges on textures and increase the flatness effect.
To produce the cell shading effect we use no graphics card shaders, so our
implementation could run with almost any gfx card. The edge effect is produced
by painting backface polygons with a thick wireframe without textures and
repaint all the scene, but this time, with textures.
We have also implemented a different algorithm (we call it White Texture),
which uses white textures. It looks like this and this, you can set the
console variable r_celshadalgo to 2, and load another map, or run using the
appropiate link that came with the release.
WWW: http://q3cellshading.sourceforge.net/
PR: ports/101677