Monday, August 2, 2010

Adding a custom stamp to sculpt maps.

Sculpted prims have been around for quite a while now, and it is widely known that you can hide the sculpt map from view by applying a transparent layer mask to the sculpt texture itself. While doing this is an effective method to protect sculpt maps from prying eyes, simply making the sculpt texture invisible is also very boring.

Today I'm going to teach you how to spice it up a bit! This is something I've seen people ask about every now and then and thought a tutorial was long overdue.

First off, we'll need a sculpt. Here is one I quickly made in Blender for this tutorial...I don't know what it is suppose to be either.

Here is the actual sculpt map:

Now that we have something to work with, let's open it up in The Gimp. It will look like this:

Next comes the important part. Go to the "Layers, Channels, Paths etc." window and right click the layer with your sculpt map, if you don't have anything else in the image (which you shouldn't at this point), it will simply be the default "Background" layer.

The menu that pops up has a large selection of options, the one we want for this tutorial is half way down named "Add Layer Mask...".

Click this and a box will pop up with a few more options. The one we want this time is the second option on the list, which is "Black (full transparency)". Select this and click "Add".

Once you've done that, you'll notice that your image looks a bit different. If all has gone well, it will look like the image below.

Now, if you're happy with a boring blank sculpt map, right click the layer with the sculpt map texture and hit "Apply Layer Mask", then save the sculpt as a .tga file and you will be done! However, if you wish to make your protected sculpt map look a little more interesting, keep reading.

The next step is to make a new image with the same aspect ratio as your sculpt map. Ideally, it will be the same size too (64x64 in this case), but that is not necessary at this point. Next to the "Fill with" option, be sure "Trasparency" is selected, otherwise we won't get the effect we want.

Here, you can see the resulting blank 128x128 pixel image I have created.

Now comes the fun part! Set your foreground color to solid white, which has an RGB (Red, Green and Blue) value of 255, 255, 255 or an HTML notation of "ffffff".

Once this is done, you can be as creative with the image as you like, so long as you don't use any color other than solid white. If you want different shades, simply adjust the opacity of the layer.

Your sculpt stamp can be anything you want it to be, from something as simple as typing in your name and adding a logo in the background (which is what I do), to an elaborate custom drawn design, the choice is up to you. Just keep in mind that you don't want to add too much detail since the image will have to be scaled down in the end.

Here is what I came up with after a short while:

As you can see, it is a rather simple, yet effective design. Once you have something you are happy with, I strongly suggest saving the sculpt stamp as a .tga image so it can be easily copied for use with other sculpt maps later on. It may also be worth saving it as a project file (.xcf for The Gimp) in case you want to go back and make some changes to your stamp later on.

Since the sculpt map for this tutorial is a 64x64 image, I have scaled down the sculpt stamp to be 64x64 as well. If for some reason your sculpt map is a different size (for example, an oblong sculpt), scale your sculpt stamp accordingly.

Here is the stamp scaled down to 64x64:

Now that we have a completed sculpt stamp, it is time to add it to our sculpt map, but before that, there is one more step that may have to be done.

If you've used multiple layers to create your stamp, like I have, you will have to merge them together before exporting it directly from the Gimp project file. Otherwise, you can simply copy it from the previously saved .tga file without having to merge any layers.

Merging layers is easy, simply right click any of the layers in your sculpt stamp and select "Merge Visible Layers...", which is the next to last option in the list. If you've done things like rotate text, or have any layers which overlap the 64x64 work area, select "Clipped to image" in the pop up window, then click "Merge".

Once your sculpt stamp is ready, copy it by going to the "Edit" menu and selecting "Copy" or by hitting the CTRL + C keyboard shortcut. Now, go back to the window with your sculpt map and paste your stamp in by going to "Edit" and selecting "Paste" or with the CTRL + V keyboard shortcut.

If all went well, it should look like this:

We're almost done! The next step is to anchor the newly pasted layer, there are three ways we can do this. The first is by going to the "Layer" menu and selecting "Anchor Layer", the second is by going to the Layer window, right clicking the layer itself and selecting "Anchor Layer" and the last is my preferred method of just pressing the keyboard shortcut CTRL + H.

Great! All that is left is to right click on the layer and select "Apply Layer Mask", which is halfway down the list.

Now just save that as a .tga image and upload it to Second Life! Here's the resulting sculpt map in-world with its shiny new protective stamp:

Ta da! Wasn't that easy? Once you're used to the process, this can easily be done in just a few moments.

Here's a quick rundown:

Open the sculpt map texture, add layer mask.
Open the sculpt stamp, copy it.
Paste the sculpt stamp into your sculpt map.
Apply layer mask.
Save as .tga.

I hope this tutorial has helped a few of you!

Tuesday, July 27, 2010

Old news.

The post here was about an old topic of no current significance, it has been removed to clean things up a bit. If you wish to read the original post, please feel free to view the backup posted on a fan's tribute blog linked below.

Monday, July 12, 2010

Old news.

The post here was simply rant about some annoying things that had occurred, it has been removed to clean things up a bit. If one wishes to view the original post, please feel free to view the backup which was kindly provided by a commenter below.