View Single Post
Old 28th August 2007, 05:30 PM   #7
lisa
Senior Member
Professional user
 
lisa's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
Default Re: Second Life Sculpted Prim TGA Resolution Question

Sweet, nice bike! Does it drive yet?

I don't know how familiar your with UV mapping, but if you're new to it, here are a couple of links on texturing in AC3D in general:
http://www.inivis.com/ac3d/tutorials/carbody/index.html
http://video.google.com/videoplay?do...18320165998532
http://www.inivis.com/forum/showpost...2&postcount=10

As far as getting the "perfect" map, it's really the same process as any texture, just make sure you fill up the whole map and there are no holes. If you use the UV Map tool on the Tools menu, and select Spherical, that's usually a pretty good start. After you've spherical wrapped it, stretch it to fit the whole map, then hand-tweak from there.

Oh! LL added a nice new feature that makes uv mapping a little easier. Using a little LSL script, you can change the wrap type so it doesn't need to be spherical. (You still have to use the whole map, but it doesn't have to wrap in all directions.)

If you add this line of code to the state_entry in your script, you can change the wrapping type:
llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_SCULPT, "texture uuid", PRIM_SCULPT_TYPE_TORUS]);

The available wrapping types are:
PRIM_SCULPT_TYPE_SPHERE
PRIM_SCULPT_TYPE_TORUS
PRIM_SCULPT_TYPE_PLANE
PRIM_SCULPT_TYPE_CYLINDER

Texture UUID is the uuid of your sculpt map, which you can get by right-clicking on it. I think you can also use the texture name if you put the texture in the prims' inventory.

I hope this helps! If there are specific things I can give more details on, please let me know.
lisa is offline   Reply With Quote