As far as i know, a Z-amplitude managed the brightness on vector-games like asteroids, starwars etc. (maybe on all of them, i dont know it exactly). My question would be, if MAME emulates this Z-Amplitude too ? If MAME has it, where I could find it, in the code? Would it be in the vector-renderer?
Because I have a idea for making a overdrive-effect, but it needs to be aware of the Z-amplitude. If the whole game, would be filtered through a kind of a broadcast-filter, then we would have some room left for the overdrive. A broadcast-filter converts RGB which has 0-255 steps for brightness, into something that has only 15-230 steps (no pure black and no pure white). So the remaining 15 steps for pure white could be used for the overdrive. If we combine this, with a nice glow, we could achieve some similar effect i guess. But the effect, needs to know when a overdrive happens and i dont know, where to look for it in MAME.
Nearly all the vector stuff that is left un-emulated, like proper (or more visible) point-shading or the overdrive etc. would need effects, that are co-working with the vector-renderer, as they are nearly impossible to do with a post-processing step (at least i cant imagine, how this would be done). I first assumed that points are drawn on each end of a vectorline, but i found out that this was a wrong guess. Only the start of a drawn vectorline has a point and now tell me, how a postprocessing filter would know this, if he processes the final image, where the whole line is allready drawn?
|