Sculpted Prims: Sculpt Maps and Textures

From Second Life Wiki
Revision as of 03:10, 3 June 2007 by Yuu Nakamichi (Talk | contribs)

Jump to: navigation, search

Important Changes to Sculpt Maps

An update to sculpted prims, included in release 1.16.0.1 of the beta viewer, has two changes that are not backwards-compatible:
1) The orientation of the sculpt map is reversed. This means all previously created sculpt maps/textures need to be horizontally flipped (otherwise they'll appear inside out.) This change fixes the orientation discrepancy between sculpt maps/textures and surface textures (which have required a 90 degree rotate and flip.)
2) The LSL call to set sculpted prims is changing to require two parameters: the texture and the topology type.

Sharing Sculpt Maps, Textures, and Sculpted Prims

  • If you would like to share your sculpted prims, sculpt maps (shapes) and textures with the community, please list them below!
    Here's how:
  1. Inspect the object's properties in-world and note the UUID (inside your inventory, right-click
    the object and select "Copy asset UUID").
  2. Choose the appropriate grid section below (Main Grid, Beta Grid, or Teen Grid).
  3. Choose a meaningful name and add the object in alphabetical order. (Note on Wiki Formatting:
    if you're not sure how to format an entry to the table, just leave the object's details (name, type,
    UUID, location, snapshot) on the talk page.)
  4. If you want to list a sculpt texture for a sculpt map or if you'd like to provide both sculpt maps
    and textures, group them together and list the sculpt map first.
  5. Specify the object's type (sculpted prim, sculpt map or a (visual) texture)
  6. Specify the UUID, or if it's in an object, its exact in-world location, or a link to slexchange.com.
  7. Add a snapshot of the object if possible. To do so, go to Upload File and link to the resulting
    "Image:name_of_object". Please help keep the SL Wiki's "Image" namespace tidy by prepending
    "SP_map_name_of_object" for sculpt maps, "SP_tex_name_of_texture" for textures, and
    "SP_prim_name_of_object" for sculpted prims.


Sculpt Map Packages


How to use the UUIDs

Setting the Sculpt Map UUID
  • You can use the LSL scripting language to apply the UUIDs of sculpt maps to a prim:
  1. Open the LSL Script Editor. Create and save a new script as seen below.
  2. Look up the UUID of the sculpt map you would like to use (check the "object type" and make sure it is the UUID of a sculpt map, not a (visual) texture).
  3. In the script, replace "sculpt map uuid" with the desired UUID. For example, to use the UUID of the "Apple (default)" sculpt map on the Main Grid, change "sculpt map uuid" to "bea82b0f-27c6-730b-fd7f-733f2340b449".
  4. When you drop your script into a sculpted prim, it will change the prim's shape and then delete itself. Have fun!
default
{
    state_entry()
    {
        llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_SCULPT, "sculpt map uuid", PRIM_SCULPT_TYPE_SPHERE]);
        llRemoveInventory(llGetScriptName());
    }
}


Setting Texture UUIDs
  • Use the following script to apply texture UUIDS to sculpted prims:
  1. Open the LSL Script Editor. Create and save a new script as seen below.
  2. Look up the UUID of the texture you would like to use (check the "object type" and make sure it is the UUID of a (visual) texture, not a sculpt map).
  3. In the script, replace "texture uuid" with the desired UUID. For example, to use the UUID of the "Apple (default)" texture on the Beta Grid, change "texture uuid" to "6c0253e0-4d81-78d5-332d-a87a5641df51".
  4. When you drop your script into a sculpted prim, it will change the prim's texture and then delete itself. Have fun!
default
{
    state_entry()
    {
        llSetTexture(["texture uuid", ALL_SIDES]);
        llRemoveInventory(llGetScriptName());
    }
}



Description Object Type UUID Location Snapshot
Beta Grid
Egg (poles at ends) sculpt map a3626104-26a5-c4e6-71a9-e2c3f640b001 n/a n/a
Egg (poles on sides) sculpt map 3ff8e2b4-9ba1-edc8-1bc3-3edfd2b15413 n/a n/a
Klein Bottle sculpt map 8a68aea3-1aa2-6534-7589-bd7c78098230 n/a snapshot
Description Object Type UUID Location Snapshot
Main Grid
Avatar Head sculpt map 5b48af61-a894-044e-1d10-c0ccb5c64eb4 n/a snapshot
Chess: King sculpt map 5fdf9498-c1cd-9e5f-8b0d-01b8518052ef n/a snapshot
Chess: Rook sculpt map 48121ed1-870c-dd53-1d5d-ac762f0b603e n/a snapshot
Cube sculpt map 994c72bf-31e6-469f-6579-70b659398d11 n/a n/a
Head sculpt map 76c809c1-f2f8-5204-c05e-e2609cb0c690 n/a snapshot
sculpt-s sculpt map 08ea8bc2-2fbe-ecec-5795-ee3d1db91371 n/a n/a
sculpt-stem1 sculpt map d1b6cc53-ac61-291f-9ce1-dc18170aa6a6 n/a n/a
sculpt-test01 sculpt map b73455c2-6865-64ad-daf0-e9c841be1a82 n/a n/a
Push Pin sculpt map 39fba6dd-ae01-bd23-6fad-a25e4ea2a5fc n/a snapshot
Push Pin texture (red) ddb769c5-f893-96f3-0cfc-641d660a7e35 n/a n/a
Vase or Bowl based on Plate sculpt map 13dcdf53-2389-b672-cf41-c7dc342a4f60 n/a n/a
Description Object Type UUID Location Snapshot
Teen Grid



Sculpt Maps and Textures provided by Linden Lab


Description Object Type UUID Location Snapshot
Beta Grid
Apple (default) sculpt map cd539e52-36d7-f88e-9153-a11a59642a5f n/a snapshot
Apple (default) texture 6c0253e0-4d81-78d5-332d-a87a5641df51 n/a snapshot
Banana (default) sculpt map Sandbox IslandD snapshot
Rounded Cube sculpt map * 0217385c-b834-85c8-71b3-b3c2f9b50b3d n/a snapshot
Funny Double Sphere sculpt map * 6c5be8f0-ef1f-c200-c43d-8d7e723151b3 n/a snapshot
Juicer sculpt map * 9cd4168e-39b0-09c9-7ee8-5320c7ef9346 n/a snapshot
Mushroom sculpt map * 0414c225-e5ca-962c-0713-92b3e7156b0a n/a snapshot
* The orientation of the sculpt map is reversed; it needs to be flipped horizontally (otherwise it'll appear inside out).
Description Object Type UUID Location Snapshot
Main Grid
Apple sculpt map bea82b0f-27c6-730b-fd7f-733f2340b449 n/a snapshot
Apple Stem sculpt map d1b6cc53-ac61-291f-9ce1-dc18170aa6a6 n/a snapshot
Banana sculpt map d962089b-2197-993c-9ec9-4993eb0a95f2 n/a snapshot
Plate sculpt map fb39e9be-0609-2d1e-0988-803d1c04411e n/a snapshot
Description Object Type UUID Location Snapshot
Teen Grid


To be added

Chamfered Cube
S-Shape
Test




See also