pix-logic

Description

This program shows the blend functions obtained with logic operations on the PE. The TV screen is divided into four subscreens. Each can display a different logic-op blend method.

Coverage

Logic-op blend function.

Functions Parameters Description
GXSetBlendMode type GX_BM_LOGIC
src_factor GX_BL_ONE (ignored)
dst_factor GX_BL_ZERO (ignored)
op Can be changed interactively.

Using the Demo

The A button toggles the list and magnify modes.
The R button toggles the animation on and off.
In catalog mode, the Control stick moves the cursor to select the subscreen.
In zoom in mode, the Control stick moves the cursor to change the src_factor and dst_factor settings.

PAUSE exits the test.

Snapshot

Logic operation modes of CLEAR, SET, COPY and INVCOPY.

pix-logic-1.gif (9540 bytes)

Logic operation modes of NOOP, INV, AND and NAND.

pix-logic-2.gif (9188 bytes)

Logic operation modes of OR, NOR, XOR and EQUIV.

pix-logic-3.gif (12437 bytes)

__SINGLEFRAME=4

Logic operation modes of REVAND, INVAND, REVOR and INVOR.

pix-logic-4.gif (12573 bytes)

Required Data Files

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL