Torus attached!
I made this by starting with a ring and using the replicator tool to revolve it around the origin.
I know there's more base shapes floating around on the SL forums.
For shapes like a torus, you'll need to change the mapping mode in SL with a script. SL's default mapping mode for sculpted prims is spherical, which means it must wrap in both directions. However, you can change it with LSL if you want other wrapping modes. SL supports sphere, torus, cylindrical and planar wrapping modes.
Here's the script I used for the torus:
Code:
default
{
state_entry()
{
llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_SCULPT, "993093da-9f46-b62d-5360-093a50cd6bd2", PRIM_SCULPT_TYPE_TORUS]);
}
}
To use this for your own shapes, replace the texture id with your own texture name or id.