Could you please add the ability to zoom layers in and out?
Thanks.
Printable View
Could you please add the ability to zoom layers in and out?
Thanks.
Yeah, it would be great... Or an extension that is able to zoom screen :)
It will be possible with HWA thanks to the pixel shaders and the parameters modified in runtime. ;)
Now thats really good news, this is needed seriously :D
IMHO zoom isn't a task for a pixel shader. It will then render unnecessary parts of the screen. It should probably be in a vertex shader (which isn't available to 3rd party people like us).
Also zoom in a pixel shader gives lower quality graphics. With a proper zoom feature it will look just as good zoomed in than it does not zoomed at all.
A bit like when they "enhance image" on Spooks? ;)Quote:
Originally Posted by Andos
Presumably you mean when zooming from 0.5 to 1 or something :D
IMHO zoom isn't a task for a pixel shader. It will then render unnecessary parts of the screen. It should probably be in a vertex shader (which isn't available to 3rd party people like us).
>> IMHO, with the unified shader architecture the modern graphic cards have, I think it will be the same processing time in both pixel/vertex shaders. But I agree that in theory, a pixel shader will take more memory and so more processing time than a vertex shader.
Also zoom in a pixel shader gives lower quality graphics. With a proper zoom feature it will look just as good zoomed in than it does not zoomed at all.
>> I think the result will be exactly the same for both cases. If the texture is scaled 2x through a pixel shader it's like scale it 2x by the card processing (with the same filtering).
I think too that a pixel shader could be better than a vertex shader for a zoom effect since a lot of different kind of filters can be done through a pixel shader (from the default one to a HQ2x one)
:)
Err, zooming in from 1:1 isn't a good idea imo. A zoom where one pixel of an object represent one pixel on the screen should be the maximum zoom level which you zoom into, not the point which you start from. If you zoom out from that, you'll still have full quality, but zooming in from 1:1 and using some resampling algorithm to attempt to restore the quality loss... That's just plain wrong.
I've already done a basic pixel shader to zoom in and out and it works pretty well. Currently, it zoom from the upper left corner but I'll update it soon. ;)
Sounds very cool :D