PDA

View Full Version : How to Bilinear scaling?



xysh
06-06-2002, 07:26 AM
Some graphic cards such as wildcats serial say they can do 'Bilinear scaling' 2D Operations. How can I use this feature in my codes?

dorbie
06-06-2002, 07:34 AM
Depends what they mean by the claim. glPixelZoom is the call which springs to mind.

AdrianD
06-06-2002, 07:37 AM
copy your bitmap in texturemem, and draw them with a quad -> so you get scaling/roation/blending for free.

xysh
06-06-2002, 07:38 AM
glPixelZoom is nearnest scale as I know , not bilinear scale.

xysh
06-06-2002, 07:41 AM
Originally posted by AdrianD:
copy your bitmap in texturemem, and draw them with a quad -> so you get scaling/roation/blending for free.

My image is very large, texture mapping is not suitable. I guest they can do bilinear scale with glPixelZoom, but how to?