Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Working with more than 100 Texture Repeats: A Tutorial

Aminom Marvin
Registered User
Join date: 31 Dec 2006
Posts: 520
10-26-2008 15:36
Texturing with More Than 100 Texture Repeats

Uses:

-Extremely large megaprims that need tons of repeats
-Moire and Noise Effects
-Texturing of certain sculpts (such as oblongs) that have extreme texture map stretching on one axis

Ridiculous Numer of Repeats Method:

1)Set mapping to Planar, set size to 10m per axis.
2)Check "Stretch Textures"
3) Scale prim down to 0.01 meters per axis.

Result: Prim has texture repeats of 10,000 U and V.

You can also repeat 1-3 to achieve even higher scaling. At very high numbers the values go very funky,
with -2147483 the highest value.

To retain repeats in planar, deselect stretch textures and scale.
Converting to default texture mapping halves the UV repeats. To retain texture repeats in default,
check stretch textures and scale.
You can also scale using repeats, by starting small, dechecking stretch textures, and scaling up.

Scaling Repeats to an Exact Number:

1) Set mapping to Default, set size to .01m per axis.
2) Decheck "stretch textures."
3) Divide the desired texture scaling by 100. For example, for 600, the result is 6.
4) Multiply .01 by the result of three. For example, .01 x 6 = .06
5) Scale axis(es) by the result of 4.

Megaprim Repeats:

1) Set planar mapping, repeats to 100 and 100, stretch textures on.
2) Scale megaprim down to some numer under 10 per meter so it "locks" as a normal prim size.
3) Press control Z to undo the scaling and return its megaprim proportions. Because control Z works on
prim size but not on texture repeats, the new texture repeats are retained.


You can also create more than 100 repeats on megaprims simply by choosing default texturing, and setting repeats per meter and clicking apply. The maximum repeats for a megaprim axis is the axis size times ten. For example, with a 50x50x50 megaprim, if you set texture repeats to 10 per meter, you get 500 repeats. Setting 9 gives you 450, etc.
Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
10-27-2008 09:33
Interesting techniques! Thank you for posting this to the benefit of the community.
BR
ab
_____________________
BR ab
FD Spark
Prim & Texture Doodler
Join date: 30 Oct 2006
Posts: 4,697
10-27-2008 15:00
I know what repeats are, I know what planar is but rest is greek for me.
When I think 100 textures, I think of 100 different hand draw textures I have made
like on contact sheet.
I have some mega prims I want to do detail mapped out drawing for floor area inside
and out side floor area with details like cobblestone brick with fallen leaves in some areas, little flowers and weeds coming out of stone, outer edges dirt for garden space for 3/4 of the texture,Checker pattern for 1/4 of the mega prim for office area.
I don't want it to repeat I just want texture to show up where I command it too.
Yet even with special alignment grid I still make mistakes.
_____________________
Look for my alt Dagon Xanith on Youtube.com

Newest video is

Loneliness by Duo Zikr DX's Alts & SL Art Death of Avatar