Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Subtextures

Postmark Jensen
is not a jerk.
Join date: 23 May 2004
Posts: 281
12-09-2004 05:17
I think it would be insanely helpfull to be able to add a subtexture to object faces. A subtexture would be placed one pixel below the normal texture (or whatever way is technically feasible). Very basic example: picture frame. Have the main texture a frame with transparent center, then add any texture to the subtexture layer. Instant one-prim picture frame.
Kris Ritter
paradoxical embolism
Join date: 31 Oct 2003
Posts: 6,627
12-09-2004 05:25
you can make a one prim picture frame :)

take a cube, hollow it to about the maximum. Texture and position your picture on the inside rear face of the hollow, and flatten it out to a canvas shape, then texture your alpha'd frame texture to the outside front face of the cube.

I have used this technique to do tv screens with glass over them, double textured signs, even windows with scripted blinds and curtains.
Postmark Jensen
is not a jerk.
Join date: 23 May 2004
Posts: 281
12-09-2004 07:22
Yeah, I'm working on this right now. It's a hollowed out cube with the front texture of a frame. Drop a texture into the contents and rename as 'source'. The cube puts the source into the inside texture. Also going to make it resizable on touch by owner to cycle through 4:3, 16:9, and 16:10 resolution ratios to compensate for the resolution that you snapped a picture with (I'm 16:10). Prolly give it over to the GNU shop when done.

I'm all about minimal prim usage ;)
Lecktor Hannibal
YOUR MOM
Join date: 1 Jul 2004
Posts: 6,734
12-09-2004 07:28
or you could do this with layers with your favorite photo proggy
_____________________
YOUR MOM says, 'Come visit us at SC MKII http://secondcitizen.net '

From: Khamon Fate
Oh, Lecktor, you're terrible.

Bikers have more fun than people !
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
12-09-2004 07:31
Actually, multitexturing (as it's called in 3D programming) is a fairly staple feature of all graphics cards since the TNT2. It's better to use than, say layers in photoshop, since it saves Video memory. Multitexturing is already used in SL (for instance, the ground textures use multitexturing), combine multitexturing with texture animation, and you have some seriously powerfull visual effects. :)

-Adam
_____________________
Co-Founder / Lead Developer
GigasSecondServer
Lecktor Hannibal
YOUR MOM
Join date: 1 Jul 2004
Posts: 6,734
12-09-2004 07:43
From: Adam Zaius
Actually, multitexturing (as it's called in 3D programming) is a fairly staple feature of all graphics cards since the TNT2. It's better to use than, say layers in photoshop, since it saves Video memory. Multitexturing is already used in SL (for instance, the ground textures use multitexturing), combine multitexturing with texture animation, and you have some seriously powerfull visual effects. :)

-Adam

Hmm I will have to try this out today and see the difference. :)
_____________________
YOUR MOM says, 'Come visit us at SC MKII http://secondcitizen.net '

From: Khamon Fate
Oh, Lecktor, you're terrible.

Bikers have more fun than people !