Color/texture painting and replacement tool – L$500

The first of my major releases this month is a tool for setting texture/color on prims in a link set. You can grab it from XStreetSL at https://www.xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=1471045.

Has three basic modes of operation:

  • Bucket – sets all prim faces to one texture/color.
  • Paint – sets an individual prim face on click.
  • Replace – substitutes one texture/color with another.

Usage

There are three scripts, in two parts; a HUD which controls the texture tool, and the texture tool which performs the actual changes. The texture tool works by being linked to the target prim(s). For texture replacement to work, it needs to inject a script into every prim in the link set, and those scripts then need to be set running. Once finished, de-linking the texture tool from the link set will cause its client scripts to self-delete.

So, the procedure is, step by step (the texture tool will walk you through this, too):

  1. Rez texture tool and target prim(s).
  2. Link texture tool at root of target prim(s) linkset.
  3. Click texture tool to start script injection.
  4. Take link set to inventory.
  5. Rezz link set from inventory.
  6. While in build mode, select link set, then from the Tools menu pick “Set Scripts to
    Running in Selection”
  7. Wear the HUD to control the texture tool.
  8. Make changes.
  9. De-link the texture tool from the target prims, to cause its supporting scripts to self-delete.
    You can do this by selecting the link set, then enabling “Edit Linked Parts” (from the Tools
    menu), click the tool prim to select only it, and then click “Unlink” in the Tools menu.

The HUD, when attached, contains 3 basic parts:

  1. Mode buttons (far right); Bucket, Paint and Replace.
  2. Texture preview buttons (centre).
  3. Color buttons (bottom) – supplied in just black and white, but you can add more by
    duplicating the existing button and attaching them to the HUD.

Textures are loaded from prim inventory, and MUST be full perms for the HUD to operate correctly.

To set all prims to one color/texture, select Bucket (it should turn yellow), then click on a texture preview button, or color button.
To set individual prims, select Paint, then click a texture/color, then click prims in the target link set. The clicked face will change to match the selected texture/color.
To replace textures/colors, select Replace, then click the texture/color to be replaced, followed by the texture/color to replace it with. Clicking a texture after a color, or a color after a texture, will cause the initial choice to be cleared.

Comments are closed.


SetPageWidth