SIO2Splash fade - not fading with multiple render windows
2 posters
SIO2Splash fade - not fading with multiple render windows
I'm having an interesting issue with the SplashScreen that I've avoided looking into until now.
I use multiple _SIO2windowrenderer lines and sub-methods, so that I can clearly separate all my menus etc. The first thing to be displayed is the "Powered by SIO2" splash screen, from Tutorial 17.
When I run Tutorial 17 (or start a new template and copy&paste the code) the splash screen fades out nicely. If I drop it into one of the windowrenderer places, it displays and shows for the correct time, but never fades.
I'm quite possibly (again) doing something daft, but it never seems to process the alpha channel - at least, that's my first guess.
Any help would be appreciated :-)
I use multiple _SIO2windowrenderer lines and sub-methods, so that I can clearly separate all my menus etc. The first thing to be displayed is the "Powered by SIO2" splash screen, from Tutorial 17.
When I run Tutorial 17 (or start a new template and copy&paste the code) the splash screen fades out nicely. If I drop it into one of the windowrenderer places, it displays and shows for the correct time, but never fades.
I'm quite possibly (again) doing something daft, but it never seems to process the alpha channel - at least, that's my first guess.
Any help would be appreciated :-)
Re: SIO2Splash fade - not fading with multiple render windows
Have you tried with the original tutorial? If it fade properly in the original template it means that you are missing something somewhere... there's no black magic here:
_SIO2material->blend = SIO2_MATERIAL_ALPHA;
>> This will make the widget alpha
_SIO2widget->_SIO2material->diffuse->w = splash_time;
>> This will modify the alpha value...
Its that simple...
_SIO2material->blend = SIO2_MATERIAL_ALPHA;
>> This will make the widget alpha
_SIO2widget->_SIO2material->diffuse->w = splash_time;
>> This will modify the alpha value...
Its that simple...
Re: SIO2Splash fade - not fading with multiple render windows
You sir, are a star!
Nay, a magician!
I was using some Widget code off a different tutorial and hadn't set the ->blend = SIO2_MATERIAL_ALPHA, it was on _DIVIDE instead. A simple changeover and bang, it's working perfectly.
Like I said, a STAR!
Nay, a magician!
I was using some Widget code off a different tutorial and hadn't set the ->blend = SIO2_MATERIAL_ALPHA, it was on _DIVIDE instead. A simple changeover and bang, it's working perfectly.
Like I said, a STAR!
Similar topics
» Request: function to fade between render callbacks
» Fading an object at runtime
» Need help with multiple textures
» rendering multiple resources
» Multiple Blender exports in a single project.
» Fading an object at runtime
» Need help with multiple textures
» rendering multiple resources
» Multiple Blender exports in a single project.
Permissions in this forum:
You cannot reply to topics in this forum