"Bogdan" <bog### [at] yahoo com> skrev i meddelandet
news:3A679B14.EE62D419@yahoo.com...
> Hi
>
> I am new to POV world...but allready like it very much
>
> I have a problem: How to disable antialiasing against a background?
> is it possible?
>
> I need this because i am working at a RTS game...and we need to
> eliminate black borderes around our sprites ....
>
> Thx
> Bogdan
Hi,
I would suggest the use of alpha map in this case, that way
you may use one image for several backgrounds.
It would also require you to use direct x or Open GL
for the best performance. Both are possible without too
much hassle in assembler (since you use that). Otherwise
you will end up with too many images and problems
due to differences in backgrounds. For example a flying
object that passes over numerous houses etc.
I would recommend OpenGL for this since it is much
easier to implement for you in this case. Just create
a surface, bind the texture (picture of the object) onto
that surface. Apply blending and you are in business ;-)
Good luck on your game.
Michael.T.
Post a reply to this message
|