PDA

View Full Version : getting white lines on a alphadecal?help!


E.T
08-01-2002, 11:21 AM
i know ive had this problem before but now i cant seem to solve it... Im mapping a logo on top of some wood.
Problem is i get white lines on the right and left of the logo
Everything else looks as it should.

Any ideas?

E.T

Taoizm
08-01-2002, 03:16 PM
can you post up an image of what's going on, and possibly you material settings?

Flypaper
08-02-2002, 05:09 AM
Try clicking off "Premultiplied alpha" under your image settings :)

Marc Andreoli
08-12-2002, 02:05 AM
if you get a line on the edge of the texture, then change the tiling (vertical or horizontal, depending on where the line appears) to somehing smaller than 1 (0.98 or the like). This should 'push' the undesired 'rounding error' off the map...

E.T
08-12-2002, 07:35 AM
Marc! That did the trick, i still dont understand why though, the texture contains nothing like that, its just a logo.

but hey, whatever works....

E.T

Marc Andreoli
08-13-2002, 05:33 AM
hey glad I could help:)

I am not a programmer, but I think it has to do with the 'sampling' of the texture. To draw the texture, the program mixes several surrounding pixels (taking the average color and intensity). This texture blur is used to avoid sharp pixels, aliasing etc. when the texture has to be scaled (whenever the texture is not at a 1:1 scale on screen, which means pretty much all the time).

Anyway, the problem with the edge pixels of the map, is that they don't have any pixels on one side, so the program either takes the pixel from the opposite border (wrapping the image around) which causes the opposite border to bleed (does your white line match anything on the other side of the map ?) or does some other funky stuff that does not always yield to very clean results...ehem. Hey, this is still 3DSmax after all...

So, by decreasing the tiling, you crop off a thin edge of the map and get rid of that bleeding. Makes sense ?

:beer:

E.T
08-13-2002, 09:45 AM
Got it! :bounce: :bounce: :airguitar

I was thinking, about cgtalk last night, someone (with an infinite amount of patience), should compile all these questions we're answering eachother and make a megatutorial thingamabob.

It seems a waste that all this knowledge should just "expire" when new subjects are posted.

oh well, just a thought.
Thanks again

ET

frog
08-13-2002, 10:05 AM
It doesn't really, in theory everything gets archived so if you have a specific question you can just do a search :)

E.T
08-13-2002, 10:09 AM
Nah i know, but at every board where ive ever been a member there has at one point been a great crash, and all data was lost.

And that is always so sad.

Thus my comment ;)

CGTalk Moderation
01-13-2006, 12:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.