|
In lugnet.cad, Gabriel McGrath wrote:
> As you can see, I am using bright pink (255,0,255) as my transparency
> colour.
> (I set it as 'background' in LP3Add-on)
>
> The only problem is, when I use it in the game,
> there is a slight 'pink halo' around the figure,
> as there are slightly pink anti-aliased(?) bits around the edges.
It is the antialiasing that is causing this problem. I think there are only two
ways around this. Either turn off antialiasing, or switch from chroma-key
compositing to transparency-based compositing and make the background
transparent. You should be able to get POV-Ray to generate a PNG file with a
transparent background. That file can then be composited over anything you
want, and it will even antialias nicely into the background you paste it over.
That would of course require your game to support PNG files with alpha instead
of using chroma-key.
Oh, and I don't know how to make POV-Ray generate a transparent background, but
I'm almost positive that it's possible. If it isn't, you can render with
antialiasing disabled at higher resolution using your chroma-key, then import
the file into an image program and delete the pink regions (leaving transparent
parts), then shrink the image in the image editor to get your antialiasing back,
and finally save as a PNG file.
--Travis
|
|
Message has 1 Reply:
Message is in Reply To:
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|