A flashing light on the road to Damascus [SOLVED]
Posted: Tue Feb 05, 2008 2:01 pm
I think I just got an idea inspired by the muses...
Flashing lights on stations (and large ships) could immensely benefit from a small parameter addition or two.
Well, to get lights that flash, there's typically two ways, right? One is to use two glow textures with an spr that alternates them; but this is rather inefficient in the use of the texture. The other is to have a separate mesh for a light, and have two glow textures for it, but these are small textures, so, less waste. The only problem remaining is that the lights would still all flash synchronously.
But with an extra parameter in spr files, or in .py file functions that call for spr's, could solve this probem: An optional boolean to indicate whether the starting time in the spr frequency should be randomized.
And yet another parameter could also add a random variation to the speed of spr sequencing.
Flashing lights on stations (and large ships) could immensely benefit from a small parameter addition or two.
Well, to get lights that flash, there's typically two ways, right? One is to use two glow textures with an spr that alternates them; but this is rather inefficient in the use of the texture. The other is to have a separate mesh for a light, and have two glow textures for it, but these are small textures, so, less waste. The only problem remaining is that the lights would still all flash synchronously.
But with an extra parameter in spr files, or in .py file functions that call for spr's, could solve this probem: An optional boolean to indicate whether the starting time in the spr frequency should be randomized.
And yet another parameter could also add a random variation to the speed of spr sequencing.