# Creating a simple coded cel

This section first provides some background information, then steps you through creating a simple coded cel.

## Introduction

Coded 3DO cels are indexed into a palette. When you create a coded cel, 3DO Animator always has to first compute the palette; after that you can remap the document.

### Available palette colors for different cel types

The number of available colors for the palette of a coded cel depends on the cel type you select. Here's an overview of the available colors for different cels:

- 8-bit coded and 6-bit coded: 32 colors
- 4-bit coded: 16 colors
- 2-bit coded: 4 colors
- 1-bit coded: 2 colors

### Saving coded cels and saving palettes

When you save a coded cel, 3DO Animator always automatically saves the palette associated with it. The 3DO system knows how to use the palette information in the file to display the cel on the 3DO screen using colors that are close to the original.

If a palette works out well for a cel, you can save and load it using the Save Palette and Load Palette buttons in the Functions area of the Set 3DO Cel Type dialog, as discussed in the section Saving and loading palettes. This is particularly useful when you're working with an animation.

## How to create a coded cel

To convert 32-bit source art to an 8-bit coded cel, follow these steps:

1. Launch 3DO Animator and select Open in the New Document dialog that appears, then find the file in the file selection dialog and choose OK.

   If 3DO Animator is already open, choose Open from the File menu.

2. Type 3 to display the Set 3DO Object Type dialog if it's not currently visible.
3. From the Cel Type pop-up in the dialog, choose Coded 8.
4. Click the Best Palette button in the dialog.

   A process method dialog appears.

5. Choose Optimized Version (3DO).

   3DO Animator computes a palette based on the colors in the source art. For an 8-bit coded cel, 3DO Animator creates a palette with 32 base colors and 7 shades of each color, as shown in Figure 4. Once the calculation is complete, the "best" palette is displayed in the palette grid of the Set 3DO Object Type dialog. The artwork is not remapped, however, until you click the Remap Document button.

   Figure 1: Set 3DO Object Type dialog for an 8-bit coded cel.

6. Click the Remap Document button, then select Optimized Version (3DO) from the Process Method dialog.

   A second dialog appears, prompting for special mapping parameters.

7. Since you're not currently planning on using Transparency or Translucency options, leave the defaults in the dialog.

   3DO Animator creates a new document and names it with an extension Coded8.

8. If you're satisfied with the newly mapped document, save it choosing Save from the File menu.

   If you're not satisfied, you can edit the palette, then update the document, as discussed in Customizing a palette.