633 |
|
|
634 |
\begin{figure} |
\begin{figure} |
635 |
\centering |
\centering |
636 |
\fbox{\vbox{\vskip 3in}} |
\def\w{4cm} |
637 |
|
\includegraphics[width=\w]{texcomb_a.ps}% |
638 |
|
\includegraphics[width=\w]{texcomb_b.ps}\\ |
639 |
|
\includegraphics[width=\w]{texcomb_c.ps}% |
640 |
|
\includegraphics[width=\w]{texcomb_d.ps} |
641 |
\caption{ |
\caption{ |
642 |
\label{fig-regcomb} |
\label{fig-regcomb} |
643 |
How register combiners on the NV10 architecture |
How the limited register combiners of the NV10 architecture |
644 |
can be used to generate shapes. (band-like!) |
can be used to generate shapes. |
645 |
|
Top: the two basis textures. |
646 |
|
Bottom left: dot product of the basis textures: |
647 |
|
$2(2a-1)\cdot(2b-1)+1/2$, where $a$ and $b$ are the texture RGB values. |
648 |
|
Bottom right: dot product of the basis textures squared: |
649 |
|
$32\left( (2a-1)\cdot(2b-1) \right)^2$. |
650 |
|
This term can then be used to modulate between two colors. |
651 |
} |
} |
652 |
\end{figure} |
\end{figure} |
653 |
|
|