|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Bogdan wrote:
> 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
If you're trying to eliminate the black border, it sounds like you
_want_ antialiasing. Aliasing is the "sharp border" effect, which also
causes jagged lines. Antialiasing softens borders, lines and colors in
such a way that these artifacts disappear.
...Chambers
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ben Chambers wrote:
>
> Bogdan wrote:
>
> > 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
>
> If you're trying to eliminate the black border, it sounds like you
> _want_ antialiasing. Aliasing is the "sharp border" effect, which also
> causes jagged lines. Antialiasing softens borders, lines and colors in
> such a way that these artifacts disappear.
> ...Chambers
Yes i know ...but you see:
When anti-alias is done some pixeles at the margin of the image (sprites
on black background)
are "blended" betwwen my model and background....so when i place the
sprite in my game...(using color rgb<0,0,0> as a "color key", ie dont
place those pixels)
then a thin black border appeares on screen....its because of
antialias..hellas
I want antialias inside the sprite (model) just dont want it around the
model..or lets say
at the place "the ray" touches the background (a black one )
Such a feature is VERY much used in games...(3D Max has it...but i like
POV better :) )
Thx
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Try raising the ambient value a little and render with the AA. This should
cut back on the blending in the trace. But it might make the image look more
"cartoonish".
Just a thought.
C.J. - POV User
"Bogdan" <bog### [at] yahoocom> wrote in message
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
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 19 Jan 2001 04:33:17 +0200, Bogdan <bog### [at] yahoocom>
wrote:
>when i place the sprite in my game...(using color rgb<0,0,0> as a
>"color key", ie dont place those pixels) then a thin black border
>appeares on screen....its because of antialias..hellas
Use a function like the "Remove black matte" in PhotoShop. Either that
or soften your color_key (to remove some of the black on the edges)
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
From Paint Shop Pro help:
When you promote or paste a selection to create a layer, some of the pixels
surrounding the border are included, especially when it has been antialiased
or feathered. Matting cleans up the border by removing these pixels.
grey scale or 24-bit color image.
Removing Black and White Matte
When you promote a selection that contains white or black at its edges into
a layer, the edges of the layer now contain black and white pixels. If the
promoted layer is above a colored layer, the white or black needs to be
removed using the following method:
Defringing a Layer
Defringing bleeds non-feathered pixels in the layer edges outward and over
the "jaggies" in the feathered part of the selection. Use the Defringe
command when the background of a layer is a color (not black or white).
To defringe a layer:
1 Choose Layers > Matting > Defringe. The Defringe dialog box opens.
2 Enter the pixel width you want to defringe.
3 Click OK to close the dialog box defringe the layer.
Jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I don't know if it's too much work but you could trace each image twice, one
with and one without AA and then use the second as mask. If you want to make it
real easy you can make everything in the second image white with ambient 1
against a black background. It works for me... 8)
Remco
Bogdan wrote:
>
> 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
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Bogdan" <bog### [at] yahoocom> 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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Mon, 2 Apr 2001 14:32:19 +0200 User wrote:
>I would recommend OpenGL for this since it is much
>easier to implement for you in this case.
Thanks for your advice, Michael, but it's possible that the person who
posted the original article may not look for your reply - this thread began
and ended January.
--
Alan - ako### [at] povrayorg - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |