|
Creating Custom JN
Art in Adobe Photoshop
This tutorial guide
was written for Adobe Photoshop versions 4.0 and 5.0. Most techniques
are applicable to earlier versions, except for those relating to layers.
In writing this tutorial, I am assuming that you are familiar with Adobe
Photoshop's basic functions.
First off, whenever
you first start working with a piece of artwork for JN6, consider its
color mode. Until your image is ready to be saved for JN6, you will
probably want to do all your work in 24-bit color (called RGB color
in Photoshop). This will provide you with the most tools and flexibility
to work with. I always keep a RGB version of my artwork, since you never
know when it might come in handy down the road.
Below, you will
find different sections relating to JN6 artwork. This includes instructions
for creating hole overheads, objects, horizons, and textures.
Hole Overheads
- Download
the TEXTURES.ZIP file. This is a texture template you'll need
to use for this technique. Feel free to adjust this template, or create
your own to fit your design.
- Open up one
of the BMP hole snapshots from your course. Under Mode, choose RGB
Color.
- Double-click
on the Magic Wand tool. Within its palette, make sure that the Tolerance
value is 0 and that Anti-aliased is deselected.
- With the Magic
Wand tool, select one of the overhead's terrain's. Next, go to the
Select and choose Similar.
- Go to the texture
template PSD file and select the appropriate terrain layer. Do a Select
All and a Copy.
- Return to the
overhead image and choose Paste Into under the Edit menu.
- Continue steps
4 - 6 for the rest of your terrain's. You'll want to flatten the image
once you are done.
- Use Photoshop's
Dodge and Burn tools to create the illusion of hills and elevation
changes on the hole. Dodge will make areas lighter, while Burn will
make them darker. Within each of these tools' palette, you will probably
want to set the Exposure down pretty low to allow for detailed work.
Also, under your Brushes palette, you will probably want to choose
one with a soft edge. Work with Dodge and Burn to create the illusion
of rises and dips in the land.
- Now it is time
to add trees. Create a new layer and call it something like 'Trees'.
- Go back to the
texture template PSD file and choose the Trees layer.
- Use the Rubber
Stamp tool and make your origin somewhere among the mess of tree overhead
graphics.
- Return to your
hole overhead and start cloning trees in the appropriate spots on
the hole. You may have to go a reset the origin from time to time.
- If the hole
has bushes or a large mass of foliage, you can clone from the big
blob of green mess that is on the lower portion of the texture template's
trees layer.
- Next is to create
some shadows for your trees. Select All on your overheads tree layer
and do a Copy. (If you are using Photoshop 5, you can use can use
a Layer Effect to create your shadows and skip to step 20.)
- Create a new
layer beneath the one called 'Trees' and name it something like 'Tree
Shadows'.
- Paste the trees
from the clipboard onto this new shadows layer.
- With the trees
still selected, choose black as your foreground color. Next, choose
Fill under the Edit menu. Take the defaults and press OK.
- Under Select,
choose None. Go to Filter and select Blur and then Gaussian Blur.
Use a small value around 1 or so to give you shadows a soft edge.
- Go to the 'Tree
Shadows' layer's Opacity slide bar and change it to something around
50%.
- Next you have
to "cut out" around your hole. Create a new layer with an
appropriate name such as 'Mask'. For your foreground color, use something
easy to see such as a purple color (Red=123, Green=0, Blue=123).
- Using Photoshop's
Pen tool, create a path around your hole overhead.
- Once you've
got the path set, save it and make a selection out of it.
- Inverse the
selection and fill it with the purple color you've mixed. Keep this
selection active.
- You now have
to get this 24-bit color image down to 8-bit color. Since colors 0-15
are reserved for varying levels of transparencies in overhead PCX
files, we won't use all 256 colors. Go to Mode and choose Index Color.
Photoshop will probably ask you if you want to 'Flatten Layers', say
OK. Under the Other Color selection, enter a value of 240.
- Go to Mode and
then Color Table. You should then see the 8-bit color palette for
your object image. The purple color (Red=123, Green=0, Blue=123) needs
to be in position 0, which is in the lower right corner. The color
in the lower right will probably be black, so swap these two colors
by reentering their RGB values in their new positions.
- Next, to make
the transparent colors (1-15 in the bottom row) easier to see, change
them to varying shades of whatever color you like. I find that red
works well. Color 1 is almost completely transparent, and color 15
is almost completely opaque. The color in between follow a steady
and logical progression between the two. So, I change color 1 to R=250,
color 2 to R=225, down to color 7 to R=100. I use these seven colors
for the transparent shadow in the overhead.
- Choose Save
to store your color palette as an ACT file.
- Go to the Swatches
palette, and replace the color palette with the one you just saved.
- Make sure your
file is saved before continuing here. Select the transparent purple
of your overhead with the Magic Wand (do a Select Similar if necessary)
and choose Inverse.
- From you color
palette choose color 7 (the darkest red) and fill the selection with
this color.
- Next, select
color 1 and stroke the selection with it using a pixel width of 1.
- Deselect and
use the Magic Wand to select the inside of your shadow (dark red).
- Stroke again
this time using color 2.
- Repeat steps
32-33 until you have the selection stroked with color 6. You should
now have a graduated red shadow.
- Select the transparent
purple again with the Magic Wand and do a Select Inverse.
- Copy the selection
to the clipboard and choose Revert to your original PCX file.
- Once your original
overhead is back on the screen, select the transparent purple with
the Magic Wand.
- Do a Paste Into.
You can now position the shadow where you would like it to appear.
I usually offset it to the lower right.
- Go to Mode and
then Color Table. Change colors 1-15 to black. You can actually use
whatever color you want, just keep in mind that you will end up with
a semitransparent version of this color in the game.
- Save out your
file in the PCX format in your course's folder. Here are some examples
of the way your file should be named: HOLE03.PCX, HOLE08.PCX, HOLE12.PCX,
etc.
- Open your course
in the designer and save it by pressing the 'Save' icon on the toolbar.
This will save the entire course and will embed your custom hole overheads.
If everything works right, it should appear the next time you play
the course.
Horizons
When creating horizons
for JN6, three different screen resolutions must be taken into account.
This means three different sets of files, including ones for 640x480,
800x600, and 1024x768 resolutions. To make the process a little easier,
concentration is first put on creating the highest resolution horizon.
- Acquire the
imagery that you want to use for your horizon.
- Go to File and
choose New.
- The width of
your image will be 7168. The height can be anything from 110 to 400.
Under Contents, make sure Transparent is selected.
- Assemble the
imagery for your horizon within this new window you just created.
You'll want to create a layer for this horizon work, and fill the
Background layer with transparent purple color (Red=123,
Green=0, Blue=123). The Rubber Stamp tool will probably be of great
use when creating the art for your horizon.
- To make sure
your horizon tiles together properly, you will want to use the Offset
filter to adjust things horizontally. This way you can study the seam
between elements to see what work might need to be done.
- Once your all
your imagery is set in the 7168 wide image, eliminate the sky with
the Eraser tool. Make sure that the Eraser is set for Pencil before
you start erasing. This will create a "hard edge", which
is necessary when you convert your image down to Index Color. Erasing
should reveal the Background layer which is purple and it
should be easy to see as you work.
- You may want
to do some color adjusting to your horizon. A good place this can
be done is under Image, and Adjust, and then Variations. This tool
will let you adjust everything from brightness, adding other colors,
and even the saturation. You will probably want to make sure the slide
scale is set to Fine so that you can make detailed adjustments. Also,
consider using Brightness/Contrast under Image, and then Adjust.
- After the sky
is eliminated, and the horizon is color adjusted, save the file in
the Photoshop format (PSD file.) You'll want to keep a copy of your
horizon like it is now, in layers and in RGB color. You never know
when you might need down the road and this is the most flexible form
it can be in.
- Next, you need
to split up your horizon into seven panels. Go to the File menu, then
Preferences, then Units & Rulers. Set your Ruler Units to Pixels.
- Click on the
Info palette. Next, hold down the [Ctrl] key and select the layer
of your image with your horizon art. Look back at the Info palette
and take note of the height value it gives in pixels.
- Select the Marquee
tool and start in the far upper left of your horizon layer and move
down to the lower right. Keep an eye again on the Info palette and
stop when you have a width of 1024 pixels selected. When you do, Cut
the image.
- Make your Photoshop
background color the transparent purple (Red=123, Green=0, Blue=123).
- Go to File and
create a New document. The width and height should automatically be
set to the image you cut onto the clipboard. For Contents, make sure
Background Color is selected. Once the new document appears, paste
the contents from the clipboard.
- Under Image,
choose Canvas Size. Make the Anchor to the bottom/center square and
make the height the value you noted in step 10. After you've done
this, you may need to refill your background layer with transparent
purple.
- After all of
this is done, the image should be ready to be saved. It will be important
to keep a copy of each panel like this in layers as we will use them
again later. Repeat steps 11-15 until you have cut out all 7 panels
to a width of 1024 pixels each.
- Open up one
of the panels you just saved out.
- Go to Mode and
choose Index Color.
- Under Resolution,
choose 8-bit. Under Palette, choose Adaptive. Under Dither, choose
Diffusion. Under Colors, enter 255 as the number. Select OK.
- Go to Mode and
then Color Table. You should then see the 8-bit color palette for
your object image.
- The purple color
(Red=123, Green=0, Blue=123) needs to be in position 0, which is in
the lower right corner. Double-click on color 0 and change its RGB
values to the above purple values. Wherever you see the purple value
within your palette other than color 0, change its value to black.
Select OK when done.
- When you return
to your image, the selected purple areas should now be black.
- Select your
foreground color, and change its RGB values to the purple color (Red=123,
Green=0, Blue=123).
- Under Edit choose
Fill.
- Save this horizon
panel in your JN6 course directory as a PCX file with an appropriate
filename. This will be a horizon panel that ends in a 3 before the
extension since it is intended for the 1024x768 resolution.
- Next, we need
to create versions of this panels for 800x600 and 640x480.
- With the PCX
version of the horizon panel still open, also open the RGB PSD version
of this same panel you saved in step 15.
- Choose the RGB
image and go to Image Size. Change the width to 800 pixels wide.
- Select the RGB
image's horizon layer. Do a Select All and Copy.
- Return to the
PCX image and go to the Image menu and Image Size. Make the width
800 pixels and choose Ok.
- Save this panel
as a PCX file with a 2 before the extension, indicating it is for
the 800x600 resolution. This is just a precaution at this point to
be sure we don't overwrite the other panel.
- Choose the Magic
Wand tool and make sure its Tolerance is set to 0
- In your image,
select the purple area of your image with the Magic Wand.
- Go under Select
and choose Similar. All of your transparent purple areas of your horizon
should now be selected.
- Go to the Select
menu and choose Inverse.
- Now, go Edit
menu and do a Paste Into. The great part of this technique is that
this step takes the RGB palette from the image you copied in step
28 and adapts it to the Index Color palette. So, you don't need to
reset your transparent color.
- You may want
to do a little clean-up along the edge of your horizon.
- Save your PCX
image again, but be sure to NOT save your
RGB version.
- Repeat steps
27-36, this time using 640 pixels as the width and saving the file
with a 1 before the extension.
- Finally, repeat
steps 27-36 until you have all of the horizon panels completed. There
should be 21 total and they all need to be saved in your course's
folder.
- Make sure you
add the appropriate entry in your INI file for your horizon.
Objects
Creating objects
can be done from many sources. The imagery can be scanned from photographs,
taken from digital photography, from Kodak PhotoCDs, or even manually
created. For this example, it will be for a scanned image.
- Scan the photograph
of your object in 24-bit color. The image size varies, and relates
to the type of object. For instance, a group of flowers do not need
to be as large as a tall pine. A good gauge would be that a tall tree
would be around something like 800 pixels in height.
- Using the Marquee
tool, select around the object in your scan. Choose Copy.
- Make your Photoshop
background color the transparent purple (Red=123, Green=0, Blue=123).
- Create a New
file. For Contents, make sure Background Color is selected. Take the
default size that Photoshop selects as this is the size of the image
on your clipboard.
- Once the new
image window appears, choose Paste.
- Save your object
image in whatever format you would like. You might want to create
a folder to hold your RGB JN6 objects. They might come in handy later.
- You can now
close the document that contains your original scan without saving
it.
- You may want
to do some color adjusting to your object. A good place this can be
done is under Image, and Adjust, and then Variations. This tool will
let you adjust everything from brightness, adding other colors, and
even the saturation. You will probably want to make sure the slide
scale is set to Fine so that you can make detailed adjustments. Also,
consider using Brightness/Contrast under Image, and then Adjust.
- Once the object
is color adjusted, it is time to start trimming it out. Double-click
the Eraser tool. In the Eraser Options palette window, select the
pull-down menu to choose a type of tool (it will probably say Paintbrush
by default.) Choose Pencil as your brush type. This will give your
object a "hard edge" while you erase around it, which is
very important when the image is converted down to Index Color mode.
- Reselect your
objects layer and using the Eraser tool, start eliminating the
background imagery surrounding your object. This will reveal the purple
background color, which should make it easy to see what has and hasn't
been erased.
- In using the
Eraser, you might find it helpful to change the size of the brush
for different areas.
- Once the object
is completely trimmed out, save your RGB color version again if you
have not recently.
- Go to Mode and
choose Index Color.
- Under Resolution,
choose 8-bit. Under Palette, choose Adaptive. Under Dither, choose
Diffusion. Under Colors, enter 255 as the number. Select OK.
- Select the Magic
Wand tool and make sure its Tolerance is set to 0
- In your image,
select the purple area of your image with the Magic Wand.
- Go under Select
and choose Similar. All of your transparent purple areas of your object
should now be selected.
- Go to Mode and
then Color Table. You should then see the 8-bit color palette for
your object image. The purple color (Red=123, Green=0, Blue=123) needs
to be in position 0, which is in the lower right corner. Double-click
on color 0 and change its RGB values to the above purple values. Wherever
you see the purple value within your palette other than color 0, change
its value to black. Select OK when done.
- When you return
to your image, the selected purple areas should now be black.
- Select your
foreground color, and change its RGB values to the purple color (Red=123,
Green=0, Blue=123).
- Under Edit choose
Fill.
- Save your object
in your JN6 course directory as a PCX file with an appropriate filename.
Add its entry to the INI file.
Next, you need
to create a thumbnail for the JN6 Designer. In order for a custom object
to work properly in JN6, it must have a thumbnail image.
- Download this
THUMBNAIL.ACT file. You can extract
this file wherever is convenient for you.
- Open the 8-bit
PCX file of your object in the JN6 course folder that you want to
create a thumbnail for.
- Save the image
to your courses JN6 directory using the appropriate thumbnail
filename. (It must have a T before the extension.)
- Go to Image
and then Image Size.
- Change the unit
of measure to pixels for both the width and height. Take the largest
of either value and change it to 32 pixels.
- Go to Image
and then Canvas Size.
- Change the unit
of measure to pixels for both the width and height. Change it so that
both values are 32 pixels.
- Double-click
on the Magic Wand tool. Under the Magic Wand Options palette, enter
0 as the Tolerance.
- Click on the
purple color in your image.
- Under Select
choose Similar. This will select the rest of the purple color in your
image.
- Use the Magic
Wand tool to select any area to the outside of this purple color.
- Go to Mode and
choose RGB.
- Go back to Mode
and choose Index Color.
- Under Palette,
choose Custom. Under Dither, choose Diffusion. Select OK.
- Select and open
the THUMBNAIL.ACT file you downloaded.
- Change your
foreground color to black.
- Go to Edit and
choose Fill. Take the defaults and select OK.
- Make whatever
adjustment you want to the thumbnail.
- Save the thumbnail.
Finally, you may
want to create MIP maps for your custom objects. If you have Photoshop
5, you can download this ACTIONS.ZIP file I have created. It basically
automates the steps I'm about to outline. To use the actions, open both
the RGB and PCX Index Color versions of your object. Make sure you RGB
version of the object is in layers, with your object trimmed out. Select
the RGB image and run the '50% for RGB Mip' action. Next, select your
PCX Index Color image and run the '50% for 8-bit Mip' action. This last
step will bring up the save window. Save out your PCX object with a
2 (denoting the first MIP) before the extension. Repeat using the actions
until you have as many MIPs as you want for your object. Be sure to
NOT save your RGB version of your object though.
These actions may work with Photoshop 4 (I haven't tested them with
it though). Here are the "manual" steps I follow to create
MIP maps.
- Open the RGB
version of your object. Make sure this file is in layers with your
object trimmed out.
- Go to Image
Size and reduce your image by 50%.
- Go to Filter
and do an Unsharp Mask. Use an Amount value of about 20.
- Select All of
your image and do a Copy.
- Open the PCX
Index Color version of your object.
- Go to Image
Size and reduce your image by 50%.
- Select the Magic
Wand and make sure its Tolerance is set to 0. Use it to select the
purple transparent area around your object.
- Go to Select
and choose Similar. This will select all of the transparent purple
around your object.
- Go to Select
and choose Inverse.
- Go to Edit and
choose Paste Into.
- Do a Save and
put a 2 before the extension in the filename. This indicates that
this is the first MIP map.
- Repeat the above
steps until you have created as many MIP maps as you want for your
object. Be sure to NOT save your RGB version
of your object.
Textures
One of the main
keys in creating good texture maps for JN6 is making them tile together
seamlessly. Below you will find the steps to do this. You will probably
discover that this is harder to do when you have a complex material
you are trying to represent. It can be difficult to hide the repeating
nature of texture maps within a game like JN6. In creating texture maps,
the process will most likely take some experimenting and trial-and-error
work to arrive at something satisfying.
- If you are working
from an existing photograph, you will want to scan in the section
that you want to use as a texture. Make sure you choose at least a
24-bit color scan. The size of this scan can vary. You will want to
make sure it is at least as big as 256 pixels by 256 pixels or larger.
Arriving at a final scale for your texture make can take some experimentation
to see what looks good in JN6. You can also use stock photography
or other digital images for creating texture maps also.
- Go to the File
menu and choose New.
- For your new
document, choose a pixel size of 256 by 256. Also, select your color
mode as RGB.
- Once you have
your new empty document on screen with your scan (or source image)
for your texture in a separate image, the real work can begin.
- Use the Rubber
Stamp tool and make its origin somewhere within your source texture
map image.
- Return to your
empty texture map image and start painting with your Rubber Stamp
tool. You may need to reset your origin again on your source texture
image from time to time while doing this.
- Once you have
your image filled in with your texture map, it is time to remove the
seams.
- Go to the Filter
drop-down menu, choose Other, and then Offset.
- Under the Horizontal
value you will want to enter 128. Enter 128 for Vertical as well.
Make sure that Wrap Around is selected under Undefined Areas. By using
the Offset filter, this will move the seams of your texture map to
the center of the image.
- Select the Rubber
Stamp tool and set it origin point from within the current image or
use your source texture image again. Paint along the seam to "erase"
it. Experiment with the Rubber Stamp tool until the image looks continuous.
- Once you have
removed the seams, you may want to do some color adjusting. A good
place this can be done is under Image, and Adjust, and then Variations.
This tool will let you adjust everything from brightness, adding other
tints, and even the saturation. You will probably want to make sure
the slide scale is set to Fine so that you can make detailed adjustments.
Also, consider using Brightness/Contrast under Image and then Adjust.
- Make sure you
save your texture map, and you will probably want to keep a version
of it in RGB color for safe keeping.
- When you have
your texture map adjusted and ready for JN6, go to Mode and choose
Index Color.
- Under Resolution,
choose 8-bit. Under Palette, choose Adaptive. Under Dither, choose
Diffusion. Select OK.
- Save your PCX
file for your texture map within your course's folder. Be sure to
add the appropriate INI information for your course's texture maps.
|
|