3D-TEXTURING TUTORIAL

© copyright 2001 youp, all rights reserved

site: youp2k

e-mail: ahlee_youp@hotmail.com
youp2k :: tutorials :: 3d texturing
Requirements: Paint Shop Pro 7
 
This tutorial explains how to apply textures to a 3d object. The object in this tutorial will be a simple cube, however the same techniques can be applied to many different objects.
1. Create a simple wireframe 3d cube using the previous tutorial, or download this one.
Remove the back three lines if they are present, so the cube looks similar to the example.
2. Create a New Vector Layer and rename it "Shading". Select the Draw tool , Type: Point to Point line, Width: 1, Antialias, Create as vector and Close path all checked. Choose the colour #808080 for both background and foreground solid colour.
3. Trace the outline of the entire cube by clicking on each of the six outer points. Press ctrl-Q to finish drawing. If you didn't quite get the shape of the cube right, use the Node Edit to fix it up.
4. Duplicate the layer "Shading" from the menu,
Layers->Duplicate. Select only the Drawing that was duplicated in the layer "Copy of Shading", and re-colour it to #404040.
Now turn off the visibility of the layer "Shading" and Node Edit the Drawing in the "Copy of Shading" layer, so it fits one face of the cube. You will need to delete 2 nodes and move only one. Dont touch the nodes that are already in place.
Turn back on the visibility of the "Shading" layer.
5. .Repeat Step 4, only this time re-colouring to #E0E0E0, and node editing to fit into a different face.
The cube should now look like the example.
6. Create 3 squares, approximately bigger than the cube, or download these. These will be the textures for each face of the cube. Paste them each into different newly created Raster Layers. Rename the layers "Left Face", "Right Face", and "Top Face" for each respective texture.
7. For the "Left Face", set the Layer Opacity to around 50 (this makes it easier to see the cube underneath), and turn off the visibility of the other raster layers.
Select the Deformation tool and holding down shift left click on the corner handles and drag the handle into the corner of the face the texture is going into (this is called skewing). This must be all done in one go, or else the deformation tool will not be skewing a square anymore. You can use the scrollbars to move around the image and the +/- keys on the keypad to zoom.
Remember to always hold down shift before clicking and dragging.
The skew handle will behave a little strangely, because it can only move along the direction of each side you are skewing. You will have to use the skew handle for each corner a few times before you get it to the point you want. Remember that you can always experiment first, and then undo your changes, only the Deformation tool will need to be deselected before you can undo anything.
Once the texture is in place, and all four corners have been skewed into the corners of the face, you can deselect the Deformation tool to accept the changes.
Put the Layer Opacity back to 100.
can only skew in direction of green arrows
 
8. Repeat Step 7 for the "Right Face" and the "Top Face".
9. You should now have three Raster Layers with the textures of each face in them, and three Vector Layers with the shading of each face.
Set the Layer Blend Mode of all three Raster Layers to "Multiply".
 
10. You now have a textured 3d cube with lighting. You can also clean up any of the faces where the texture goes over the edge a little by applying masks.
Finished result.
download .psp file used in this tut: 3dtex.zip (~103kb)

Note: This is a handy technique in Paint Shop Pro, and can be useful for many other situations where a texture needs to be applied to a surface that is not perpendicular to the viewer.
A simple cube was used in this tutorial because it has all sides the same length, but the same idea works for non-regular cubes aswell. The only difference being the texture size must reflect the shape of the objects face.
Triangular faces require a little more planning and work, but the same general principles apply.

written 10th december 2001 by youp
back to top
© copyright 2001 youp, all rights reserved
site: youp2k e-mail: ahlee_youp@hotmail.com

cutout 3d cubes