Re: Problems with fading alphatexture in .flt

New Message Reply Date view Thread view Subject view Author view

Jonas Andersson (jonasa++at++cs.umu.se)
Tue, 1 Dec 1998 13:26:29 +0100 (MET)


On Tue, 1 Dec 1998, Svend Tang-Petersen wrote:

> Jonas Andersson wrote:
> >
> > Hi pfAll,
> >
> > With Multigen I have created a square with a texture that is
> > smoothly fading from black to transparent.
> >
> > When loading it with perfly however, it looks like each pixel of the
> > texture is fading "in the opposite direction" of the fading texture.
> >
> > The result is vertical stripes, each stripe being more transparent than
> > itīs left neighbor, but each stripe being more transparent to the
> > left than to the right.
> >
> > It seems to me there are some kind of property I could use to fix this
> > problem, but I donīt know which. If you know, please let me know...
> >
> > Example files are attached in fadetest.tar.
> >
>
> Hi Jonas.
>
> This is not what I'm seeing here.

I have to admit, I got fooled by the illusion that each stripe changed,
but when looking closely I see that thatīs not the case.

Rob was right, Using a larger texture makes it look better. Forcing
performers internal texture format probably makes it even better...

Thankīs Rob and Svend for your quick help!

-- Jonas

>
> I'm using MultiGen II Pro, and had to recreate the attribute file for
> the texture:

Sorry about that.

>
> u,v: clamp
> Min Filter: Trilinear MipMap
> Mag Filter: Biliner
> Tex Enviro: Modulate
>
> What I have are strips of constant transparency, which is what is in the
> alpha channel of the texture. So you have bands from left to right with
> decreasing alpha. You might percieve a line between the bands, but
> that's
> simply due to the step in the transparency between bands.
>
> Try to check which filters you're using to load the texture.
>
> Next you could use the texture editor to create a texture which goes
> smoothly from white to black, then do an intensity to alpha conversion.
>
> --
>
> Regards Svend
>
>
> ********************************************************************
> * Svend Tang-Petersen, MSc Email: svend++at++copen.sgi.com *
> * Silicon Graphics Fax: (+45) 43438606 *
> * Stationsparken 25 Phone: (+45) 43438600 *
> * 2600 Glostrup *
> * Denmark *
> ********************************************************************
>

-- Jonas
________________________________________________________________________________
Jonas Andersson jonasa++at++acc.umu.se, http://www.cs.umu.se/~jonasa


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Dec 01 1998 - 04:26:40 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.