These forums are CLOSED. Please visit the new forums HERE
Stitching together textures for rotating? |
|
|
Christif Vaher
Registered User
Join date: 24 Jun 2008
Posts: 51
|
04-04-2009 17:59
Is it possible to stitch together multiple textures then rotate them on the face of a prim ? I have 5 textures of text I need to "scroll" across the face of a prim, one after the other. Any suggestions would be appreciated.
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
04-04-2009 18:06
Is it possible to stitch together multiple textures then rotate them on the face of a prim ? I have 5 textures of text I need to "scroll" across the face of a prim, one after the other. Any suggestions would be appreciated. Combine the textures in photoshop (gimp, whatever), and re-upload them as a single texture. _____________________
![]() ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura |
|
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
|
04-04-2009 18:09
Simple answer:
No. Complex Answer: If you work at it, something that seems to have about the same effect isn't too hard. You can't stitch multiple textures together on a single face of a prim within SL. It just isn't possible. You can, though, create a single texture from multiple textures outside of SL, then upload the full image. I *think* you mean to have a scrolling texture, like a marquee. If this is the case, you can animate the textures to scroll across, and switch textures (And start the scroll from the beginning) as soon as the last finishes, though I don't have the presence of mind atm to show you how. If you mean rotate as in a circular rotation on a single prim, this can only be done with one image at a time per face, though again you could switch textures after each rotation. Also, again with the marquee idea, you could use multiple faces made to look like a single face to cause a more seamless scrolling, by using one texture per face and switching each texture to the next face over when you need to. Such a shape could be a tapered and flattened cube, for instance. _____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL |
|
Christif Vaher
Registered User
Join date: 24 Jun 2008
Posts: 51
|
04-04-2009 18:11
Thank you for the replies. In order for one texture to work it would have to be over 5K long, so that is why I cant go that route. I will try the multiple faces on a flattened prim. Thank you.
|
|
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
|
04-04-2009 18:15
Thank you for the replies. In order for one texture to work it would have to be over 5K long, so that is why I cant go that route. I will try the multiple faces on a flattened prim. Thank you. Can you explain why it needs to be so long? Why can't you use repeats and offsets, or prim sizing to make the texture appear longer in that direction? _____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL |
|
Christif Vaher
Registered User
Join date: 24 Jun 2008
Posts: 51
|
04-04-2009 18:35
The reason for the long texture is a lot of text that has to be displayed. if I shrink the text down so it will all fit on a 1000 pixel texture, I can use offsets and repeats to make it readable, but they no longer apply once the texture starts to rotate. The texture pops back to full size when it starts to rotate.
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
04-04-2009 19:48
I'm reminded of my attempt at a scrolling maquee.. let me see if I stll have it.
Ah here we go.... I did up a little demo. CODE
Here's what the texture looks like. http://img440.imageshack.us/img440/278/messageboardfs1.png Take a look at this thread for more discussion on how to utilize this technique: /54/9c/259613/1.html _____________________
![]() ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura |
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
04-05-2009 11:34
you might be able to cheat, using a hidden face for your other textures to preload, and don't use looping, then just replace the first with the next. not sure if texture animation occurs on the client side though, so that method will probably have some nasty jumps if so, otherwise only minor jumps.
I only mention this method for those that are using others textures, or can't fit what they need into multiple rows/columns. _____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |