Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rotating, stretching, repeating on prims

LadyLutha Harlow
Registered User
Join date: 9 Sep 2006
Posts: 18
01-03-2007 05:27
Hi Everyone, Ive spent some time looking and cant find the answer to my query. This may be really basic to some but not to me.

- I've started building and am getting pretty adapt at building, torturing, cutting prims etc, but am having trouble when it comes to multi texturing. If I'm using the same prim for, say a wall and I texture both wall areas in the differnt texture, is it possible to stretch/repeat/reduce the image one side without it altering the other faces on the prim? Again sorry if this is basic, but I think I'm trying to run before I learnt to walk properly.

- I also saw someone istantly add a full panoramic texture against 4 10x10 panels without all the fiddling that I seem to have to do, I cant seem to find a turtorial on this type of thing at all, Can anyone point me in the right direction?
_____________________
Remember Your Yesterdays, Dream Your Tomorrows, But Live for Today....
Billie Scaggs
Registered User
Join date: 19 Sep 2006
Posts: 45
01-03-2007 06:13
I guess if i understand your question right - you only want to edit the texture on one side of a prim?

To do this, i right click a prim - choose edit
edit linked parts
select texture
then left click the face you want to edit

to do multiple prims - follow the steps above to choose the first face. Then press and hold shift. Left click the prim face / side you want to edit and then left click the remaining prims to texture. If your graphics are good, all prims selected will show a circle with a cross on them.

word of warning though - i get mixed results when selecting more than 10 prims at once.
LadyLutha Harlow
Registered User
Join date: 9 Sep 2006
Posts: 18
01-03-2007 06:20
Thanks Billie,

I'll give it another bash, I dont think Im editing linked parts when Im doing it as its not linked parts.

Im ending up with a wall paper on each side of the wall, where one side looks ok and the other side is either stretched or shrunk.

I'll try out both of your suggestions later in game - I must say I was a bit miffed having spent 10 mins lining up a room with paroramic textures to then see someone to the same thing in under a second and them refuse to tell me how - See this is where I LOVE forums and one day I'll be the one giving the advice back :-)
_____________________
Remember Your Yesterdays, Dream Your Tomorrows, But Live for Today....
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
01-03-2007 06:22
Turning on "Select Texture" on the editor will allow you to select individual prim faces for editing. Normal Windows selection behavior applies (click a face to select it, shift-click to add to or subtract from the selection).

To span textures across multiple faces, it's a question of simple division. The span across 4 panels you mentioned is as a good an example as any to illustrate the how-to. One thing you didn't say though, was whether it was a 1x4 or 2x2 configuration, so I'll cover both real quick.

For 2x2:
  1. The math on this is really, really simple. We're dividing the canvas in half on the horizontal and the vertical, right? So, set the repeats to 0.5x0.5 on all four faces.


  2. Okay, now for the offsets. Before adjusting this, you'll see the texture centered on each face. What what we want to do is move the center point to the corner where all four faces meet. So how do we do that?

    Well, let's start with what we know. First, we're dealing with half the canvas in each direction on each face, right? And we know the center of the texture on each face is currently the center of the face itself, right?

    Well, the center of any surface is half way from edge to edge, so to move the center TO the edge, we need to move it half way from where it is now. Since we're only seeing half the texture in each direction, we basically need to move by half of a half in each direction, or 0.25.

    So, set the offsets on all 4 panels to plus or minus 0.25 in each direction. Where to use positive and negative numbers is pretty straight forward, by the way. Going with positive numbers will move the texture down or left. Negatives will move it up or right.

    Your top left corner panel should end up offset to -0.25x0.25. The top right should be 0.25x0.25. Bottom left, -0.25x-0.25. Bottom right, 0.25,-0.25.


For 1x4:
  1. This one's even simpler. We only need to deal with changing the repeats and offsets in one direction instead of both. We need to span four panels in one direction this time, not two, so the division will be likewise by four, not two. Set the repeat to 1.0x0.25 (or 0.25x1.0 if you're going vertical).


  2. For the offsets, since we're still dealing with even numbers, again we need to move the texture on each panel in intervals of half of the repeat, which is 0.125. The two inner panels will need to be adjusted by plus or minus 0.125, and the two outer ones by plus or minus 0.375.

There ya go.


EDIT: Looks like my typing was slow. Billie beat me to it. I hope the math info was still helpful anyway.
_____________________
.

Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
LadyLutha Harlow
Registered User
Join date: 9 Sep 2006
Posts: 18
01-03-2007 06:58
Thanks Guys - gives me something to work on,

If you hear very loud swearing from The Centuruian sim in about 4 hours it means I cant do it - ;-)
_____________________
Remember Your Yesterdays, Dream Your Tomorrows, But Live for Today....
Erin Talamasca
Registered User
Join date: 18 Sep 2005
Posts: 617
01-03-2007 07:16
Oh, also texture repeats are horribly borked at the moment. I had just about finished enlarging my store but now it's stuck in my inventory until the bug's sorted, because every time I try and set the texture repeats on any of the surfaces, they ping back to some obscure figure. I saw the same bug a good while back but it seemed to go away after a while - but this is the first time I've literally not been able to build because of it. So don't be too put off if you're getting oddness and whatever repeat values you set change themselves - I'm sure it'll be mended one day. Perhaps. Ohgodplease :/
LadyLutha Harlow
Registered User
Join date: 9 Sep 2006
Posts: 18
01-03-2007 14:49
Yeahhhhh - I'd never used the "select texture" before. I feel a bit daft now.

Also cracked the panoramic texture thing too.

Thanks for the help

:-)
_____________________
Remember Your Yesterdays, Dream Your Tomorrows, But Live for Today....