Adding diffuse texture to multiimages
#1
As requested before here and here.
Would be cool if it was possible Smile
Reply
#2
Added as of revision 14350. Everything a normal image control has should be available to the multiimage.

Note that if you are diffusing through to transparent, then you'll get weird behaviour on the transistion. If you have a semi-transparent texture, then the fade between the two needs to be done quite a bit differently than it would normally.

Normally one fades the new image in over the top of the old, and then drops the old image out. This gives a constant luminosity across the fade. With transparent textures that doesn't work, ofcourse as you can see the previous picture underneath even when the new one is fully faded.

The solution isn't a crossfade - that gives around half the luminosity as the original image at the crossover point. One possibility is fading the image in, then fading the old image out, but then it takes twice as long to transistion as it should.

We do have code in place if we know the average transparency of the images we're dealing with, but most of the time we don't.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
That's fast Smile
Thanks jmarshall
Reply

Logout Mark Read Team Forum Stats Members Help
Adding diffuse texture to multiimages0