gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] manuscripts/AniFont Makefile anifont.tex snaps/...


From: Tuomas J. Lukka
Subject: [Gzz-commits] manuscripts/AniFont Makefile anifont.tex snaps/...
Date: Thu, 23 Oct 2003 04:08:51 -0400

CVSROOT:        /cvsroot/gzz
Module name:    manuscripts
Branch:         
Changes by:     Tuomas J. Lukka <address@hidden>        03/10/23 04:08:50

Modified files:
        AniFont        : Makefile anifont.tex 
Added files:
        AniFont/snaps  : aniso-gffx-aniso-nearest.png 
                         aniso-gffx-aniso.png aniso-gffx-bilinear.png 
                         aniso-gffx-nearest.png 
                         aniso-gffx-ortho-stretchsquish-0.png 
                         aniso-gffx-ortho-stretchsquish-1.png 
                         aniso-gffx-ortho-stretchsquish-2.png 
                         aniso-gffx-ortho-trilinear-0.png 
                         aniso-gffx-ortho-trilinear-1.png 
                         aniso-gffx-ortho-trilinear-2.png 
                         aniso-gffx-trilinear-aniso.png 
                         aniso-gffx-trilinear.png 

Log message:
        Good demonstration of how the stretch-squish method gives better filters

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/Makefile.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/anifont.tex.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-aniso-nearest.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-aniso.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-bilinear.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-nearest.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-ortho-stretchsquish-0.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-ortho-stretchsquish-1.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-ortho-stretchsquish-2.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-ortho-trilinear-0.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-ortho-trilinear-1.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-ortho-trilinear-2.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-trilinear-aniso.png?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/manuscripts/AniFont/snaps/aniso-gffx-trilinear.png?rev=1.1

Patches:
Index: manuscripts/AniFont/Makefile
diff -u manuscripts/AniFont/Makefile:1.6 manuscripts/AniFont/Makefile:1.7
--- manuscripts/AniFont/Makefile:1.6    Wed Oct 22 05:40:35 2003
+++ manuscripts/AniFont/Makefile        Thu Oct 23 04:08:50 2003
@@ -3,6 +3,12 @@
        aniso-gf4go-aniso-nearest.png  aniso-gf4go-trilinear-aniso.png  
aniso-gf4go-aniso.png    \
        aniso-gf4go-ortho-trilinear.png aniso-gf4go-ortho-stretchsquish.png
 
+GFFXSNAPNAMES= \
+       aniso-gffx-nearest.png aniso-gffx-bilinear.png aniso-gffx-trilinear.png 
\
+       aniso-gffx-aniso-nearest.png aniso-gffx-trilinear-aniso.png 
aniso-gffx-aniso.png \
+       aniso-gffx-ortho-trilinear-0.png aniso-gffx-ortho-trilinear-1.png 
aniso-gffx-ortho-trilinear-2.png \
+       aniso-gffx-ortho-stretchsquish-0.png 
aniso-gffx-ortho-stretchsquish-1.png aniso-gffx-ortho-stretchsquish-2.png 
+
 LOOPSNAPBASES= \
        aniso-font-trilinear aniso-font-lodbias aniso-font-horiz2 
aniso-font-vert2
 
@@ -13,7 +19,7 @@
 GF4GOSNAPSPS:=$(GF4GOSNAPNAMES:%.png=snapsps/%.ps)
 
 
-anifont.ps: probe.1 probe.2 footprint.1 footprint.2 anifont.tex 
$(GF4GOSNAPSPS) $(LOOPSNAPBASES:%=snapsps/%.ps)
+anifont.ps: probe.1 probe.2 footprint.1 footprint.2 anifont.tex 
$(GFFXSNAPNAMES:%.png=snapsps/%.ps) $(GF4GOSNAPSPS) 
$(LOOPSNAPBASES:%=snapsps/%.ps)
        latex anifont
        BIBINPUTS=..:$$BIBINPUTS bibtex anifont
        latex anifont
@@ -36,6 +42,9 @@
 
 copygf4gosnaps: $(GF4GOSNAPSSOURCE)
        cp $(GF4GOSNAPSSOURCE) snaps/
+
+copygffxsnaps: $(GFFXSNAPNAMES:%=../../libvob/tmpsnaps/%)
+       cp  $(GFFXSNAPNAMES:%=../../libvob/tmpsnaps/%) snaps
 
 copyloopsnaps: $(LOOPSNAPBASES:%=../../libvob/snaps/%.png)
        cp $(LOOPSNAPBASES:%=../../libvob/snaps/%.png) snaps
Index: manuscripts/AniFont/anifont.tex
diff -u manuscripts/AniFont/anifont.tex:1.15 
manuscripts/AniFont/anifont.tex:1.16
--- manuscripts/AniFont/anifont.tex:1.15        Wed Oct 22 05:38:05 2003
+++ manuscripts/AniFont/anifont.tex     Thu Oct 23 04:08:50 2003
@@ -99,17 +99,17 @@
 \begin{figure*}
 \begin{tabular}{rcrcrc}
 c) & 
-  \includegraphics[width=\snapsize]{snapsps/aniso-gf4go-nearest.ps}   &
+  \includegraphics[width=\snapsize]{snapsps/aniso-gffx-nearest.ps}   &
 c) & 
-  \includegraphics[width=\snapsize]{snapsps/aniso-gf4go-bilinear.ps}  &
+  \includegraphics[width=\snapsize]{snapsps/aniso-gffx-bilinear.ps}  &
 c) & 
-  \includegraphics[width=\snapsize]{snapsps/aniso-gf4go-trilinear.ps}   \\
+  \includegraphics[width=\snapsize]{snapsps/aniso-gffx-trilinear.ps}   \\
 c) & 
-  \includegraphics[width=\snapsize]{snapsps/aniso-gf4go-aniso-nearest.ps}  &
+  \includegraphics[width=\snapsize]{snapsps/aniso-gffx-aniso-nearest.ps}  &
 c) & 
-  \includegraphics[width=\snapsize]{snapsps/aniso-gf4go-trilinear-aniso.ps}  &
+  \includegraphics[width=\snapsize]{snapsps/aniso-gffx-trilinear-aniso.ps}  &
 c) & 
-  \includegraphics[width=\snapsize]{snapsps/aniso-gf4go-aniso.ps} 
+  \includegraphics[width=\snapsize]{snapsps/aniso-gffx-aniso.ps} 
 \end{tabular}
 \caption{
 \label{figbitrilinear}
@@ -150,8 +150,17 @@
 - quality of trilinear filtering result depends strongly on subpixel position
 
 \begin{figure}
-a)\\\includegraphics[width=\snapsize]{snapsps/aniso-gf4go-ortho-trilinear.ps}\\
-b)\\\includegraphics[width=\snapsize]{snapsps/aniso-gf4go-ortho-stretchsquish.ps}\\
+\centering
+\begin{tabular}{c|c}
+Trilinear  & Stretch-squish \\
+\hline\\
+\includegraphics[width=\snapsize]{snapsps/aniso-gffx-ortho-trilinear-0.ps}&
+\includegraphics[width=\snapsize]{snapsps/aniso-gffx-ortho-stretchsquish-0.ps}\\
+\includegraphics[width=\snapsize]{snapsps/aniso-gffx-ortho-trilinear-1.ps}&
+\includegraphics[width=\snapsize]{snapsps/aniso-gffx-ortho-stretchsquish-1.ps}\\
+\includegraphics[width=\snapsize]{snapsps/aniso-gffx-ortho-trilinear-2.ps}&
+\includegraphics[width=\snapsize]{snapsps/aniso-gffx-ortho-stretchsquish-2.ps}\\
+\end{tabular}
 \caption{
 \label{figstretchsquishsamples}
 PFSS diagrams of an simple rendering situation,
@@ -203,6 +212,8 @@
     - combinations aniso + vss? A pretty nice one might be 2x2 using 2 
texunits and 2-degree aniso... However, only 
       NV GF FX supports that, nothing else. Others can only bias the lod so 
have to use supersampling 1 or 2x2
 
+    - texture mipmap level "careful" making - as mentioned in Advanced OpenGL 
SIGGRAPH course notes:
+      aniso is orthogonal
 
 
 - benefit / cost ratio analysis: how much slower than trilinear and




reply via email to

[Prev in Thread] Current Thread [Next in Thread]