BSD Ports

games/q3cellshading 1.0_5 FreeBSD

Quake III engine with Cell Shading capabilities

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
games

Description

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.

Install

Binary package:

pkg install q3cellshading

From the ports tree:

cd /usr/ports/games/q3cellshading/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	q3cellshading>0:games/q3cellshading

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest----1.0_5
FreeBSD:14:quarterly--n/a-1.0_5
FreeBSD:15:latest--n/a-1.0_5
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest--n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 14
Run dependencies 11

No port depends on this one.

Configuration

Options name: games_q3cellshading

OptionDefaultDescription
CLIENTonBuild client
DEDICATEDonBuild dedicated server
GAMELIBSoffForce building game libraries
OPTIMIZED_CFLAGSonUse extra compiler optimizations
SMP_CLIENTonBuild SMP (threaded) client
USES
gmake zip
Service scripts
none

Files

pkg-plist 9
  • bin/q3celded
  • bin/quake3cel
  • bin/quake3cel-smp
  • %%LIBDIR%%/baseq3/cgame.so
  • %%LIBDIR%%/baseq3/qagame.so
  • %%LIBDIR%%/baseq3/ui.so
  • %%LIBDIR%%/missionpack/cgame.so
  • %%LIBDIR%%/missionpack/qagame.so
  • %%LIBDIR%%/missionpack/ui.so
distinfo 1
FileSizeSHA256
q3cel-1.0-src.zip5.853369e+06c575a8a126c5b4723cd7fb0b3fa338e539ecaf7757ac69b470e4ed53884c8da9
Master sites 1
  • SF

Commit history 0

No commits in the history this site was built from.