Don't click here unless you want to be banned.

LSL Wiki : TexturingSides

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ia360925.us.archive.org

texturing sides

Texturing sides/faces (particularly on hollowed, advanced-cut prims) so they all look the same can be annoying (and is probably a bug).

Be sure "Stretch Textures" is checked in the edit object dialog box or the UV repeats will get screwed up whenever the prim is resized or its hollow amount changed.

Rotated textures will require different UV offsets. Perhaps a formula can be derived for finding these exact repeats/offsets.

hollowed side texture
hollow
repeats
offset
prim amount type advanced cut U V U V comments
box 95 default/square - 4.2 - .606 - to get U repeat: divide 4 (# sides) by float (95 = .95) hollow amount
box 50 default/square - 8 - .5 - 4/.5 = 8
box 45 default/square - 8.89 - -.061 - 4/.45 = 8.888
box 25 default/square - 16 - .5 - 4/.25 = 16
torus 95 default/circle yes 2.1 - .55 -
torus 70 square yes 2.87 - .93 -
"-" = unchanged/unavailable


texture | side
There is no comment on this page. [Display comments/form]