[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] manuscripts/AniFont Makefile anifont.tex
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] manuscripts/AniFont Makefile anifont.tex |
Date: |
Fri, 24 Oct 2003 09:20:36 -0400 |
CVSROOT: /cvsroot/gzz
Module name: manuscripts
Branch:
Changes by: Tuomas J. Lukka <address@hidden> 03/10/24 09:20:36
Modified files:
AniFont : Makefile anifont.tex
Log message:
Arch sync
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/Makefile.diff?tr1=1.11&tr2=1.12&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/anifont.tex.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
Patches:
Index: manuscripts/AniFont/Makefile
diff -u manuscripts/AniFont/Makefile:1.11 manuscripts/AniFont/Makefile:1.12
--- manuscripts/AniFont/Makefile:1.11 Fri Oct 24 06:21:42 2003
+++ manuscripts/AniFont/Makefile Fri Oct 24 09:20:35 2003
@@ -1,7 +1,5 @@
GF4GOSNAPNAMES= \
- aniso-gf4go-nearest.png aniso-gf4go-bilinear.png
aniso-gf4go-trilinear.png \
- aniso-gf4go-aniso-nearest.png aniso-gf4go-trilinear-aniso.png
aniso-gf4go-aniso.png \
- aniso-gf4go-ortho-trilinear.png aniso-gf4go-ortho-stretchsquish.png
+ aniso-gf4go-tbl-iso-fsaa.png aniso-gf4go-tbl-aniso-fsaa.png
aniso-font-fsaa.png
GFFXSNAPNAMES= \
aniso-gffx-tbl-iso-nearest.png \
@@ -20,7 +18,7 @@
SNAPDIR=../../libvob/snaps
-GF4GOSNAPSSOURCE:=$(GF4GOSNAPNAMES:%=../../libvob/snaps/%)
+GF4GOSNAPSSOURCE:=$(GF4GOSNAPNAMES:%=../../libvob/tmpsnaps/%)
GF4GOSNAPS:=$(GF4GOSNAPNAMES:%=snaps/%)
GF4GOSNAPSPS:=$(GF4GOSNAPNAMES:%.png=snapsps/%.ps)
@@ -44,7 +42,8 @@
snapsps/%.ps: snaps/%.png Makefile
mkdir -p snapsps
- pngtopnm < $< | ppmnorm -bpercent 1 -wpercent .1 | pnmgamma | pnmtops >
$@
+ # pngtopnm < $< | ppmnorm -bpercent 1 -wpercent .1 | pnmgamma | pnmtops
> $@
+ pngtopnm < $< | pnmgamma | pnmtops > $@
copygf4gosnaps: $(GF4GOSNAPSSOURCE)
cp $(GF4GOSNAPSSOURCE) snaps/
Index: manuscripts/AniFont/anifont.tex
diff -u manuscripts/AniFont/anifont.tex:1.21
manuscripts/AniFont/anifont.tex:1.22
--- manuscripts/AniFont/anifont.tex:1.21 Fri Oct 24 06:21:42 2003
+++ manuscripts/AniFont/anifont.tex Fri Oct 24 09:20:35 2003
@@ -62,8 +62,7 @@
However, it did not. To our great surprise, the image quality (the
readability of the text) actually \emph{improved significantly}.
-Stretching the text in the texture and squishing it back with adjusting
-the texture coordinates improved image quality. In this article, we show
+In this article, we show
why this is the case and how easy it is to take advantage of this effect.
The rest of the article is organized as follows.
@@ -74,7 +73,7 @@
in an elegant fashion by probing the hardware accelerators' true filtering
behaviour.
-\section{Related work; Understanding texture filtering}
+\section{Background}
\label{secrelated}
@@ -92,34 +91,28 @@
\snapshot{snapsps/aniso-gffx-tbl-iso-nearest.ps} &
\snapshot{snapsps/aniso-gffx-tbl-iso-trilinear.ps} &
\snapshot{snapsps/aniso-gffx-tbl-iso-aniso.ps} &
-&
-\snapshot{snapsps/aniso-gffx-tbl-iso-super4.ps} \\
+\snapshot{snapsps/aniso-gf4go-tbl-iso-fsaa.ps} &
+\snapshot{snapsps/aniso-gffx-tbl-iso-super4.ps} \\[1ex]
%
Aniso&
\snapshot{snapsps/aniso-gffx-tbl-aniso-nearest.ps} &
\snapshot{snapsps/aniso-gffx-tbl-aniso-trilinear.ps} &
\snapshot{snapsps/aniso-gffx-tbl-aniso-aniso.ps} &
-&
+\snapshot{snapsps/aniso-gf4go-tbl-aniso-fsaa.ps} &
\snapshot{snapsps/aniso-gffx-tbl-aniso-super4.ps} \\
%
\end{tabular}
\caption{
\label{figbitrilinear}
-PFSS (Pixel Footprint in Screen Space) diagrams generated on a Geforce FX 5600
(NV31), showing
+PFSS (Pixel Footprint in Screen Space) diagrams generated on a Geforce4Go
(FSAA 4xSS)
+and a Geforce FX 5600 (all others), showing
different types of filtering as they actually occur on the hardware
(see Appendix A for how to generate such diagrams).
The dark, orthogonal square is a single pixel, enlarged, over which the
contributions
-from texels around it are shown by their color.
-a) nearest-neighbour, b), c) trilinear filtering.
-The trilinear footprint is the weighted sum of two bilinear footprints.
-In c), the texture is mapped quite anisotropically and the
+from texels mapped to locations around it are shown by their color.
+In the lower row, the texture is mapped quite anisotropically and the
blurring effect of trilinear filtering is obvious - the footprint
-is much larger in the XXX direction than it should be.
-Hardware anisotropic filtering.
-On the same card and same texture coordinates as
-c), but with anisotropic
-filtering enabled, the PFSS diagram shows a much better
-footprint fitting more closely around the pixel.
+is much larger in the vertical direction than it should be.
}
\end{figure*}
@@ -160,12 +153,19 @@
trilinear - better approximation of EWA. Modern graphics cards support up to
XXX samples
XXX Feline texram talisman
+\section{Related work: Improving hardware-rendered image quality}
+
- Unextended OpenGL aniso: article on using lod bias etc to get
it\cite{olano01vertexbasedaniso}
+- lod BIAS
+
- supersampling: FSAA / as above; however, most cards focus on multisampling,
not supersampling -
no help for textures
+- custom supersampling in the same way as in \cite{olano01vertexbasedaniso},
or using multitexture.
+ Vertex and fragment -based.
+- Mipmap adjustment (see advanced OpenGL course notes)
\section{Why does stretch and squish improve image quality?}
@@ -214,6 +214,7 @@
\includegraphics[height=\fontexamplesize]{snapsps/aniso-font-trilinear.ps}
\includegraphics[height=\fontexamplesize]{snapsps/aniso-font-horiz2.ps}
\includegraphics[height=\fontexamplesize]{snapsps/aniso-font-vert2.ps}
+\includegraphics[height=\fontexamplesize]{snapsps/aniso-font-fsaa.ps}
\includegraphics[height=\fontexamplesize]{snapsps/aniso-font-super4.ps}
\caption{
\label{figexamples}