Sign in to follow this  
Renran

seams in blending

Recommended Posts

Renran    132
Well, I made a terrain with triangle strips. Some strips can overlap each other, so the corners of the textures are black to have transparency. Problem: where the corners of the transparent textures meet, I have ugly seams with ugly colors: First I was using: GL_SCR_COLOR,GL_ONE for blending It gave me an ugly color and seams. Then I used: GL_ONE, GL_ONE This give me ugly seams and another ugly color where ends meet? Is this normal? Thanks, RenRan

Share this post


Link to post
Share on other sites
Coz    169
I'm not sure it will give enough information for the solution to your problem, but images would help.

Share this post


Link to post
Share on other sites
wlw_wl    146
Yes, the images would help a lot, cause it could be z-fighting that you call seams or something else, but we don't see so we can't tell...

Share this post


Link to post
Share on other sites
wlw_wl    146
you need to upload it to imageshack.us or such and post a link here, on imageshack you'll get a tag you can post immediately (it's the "site" one, I think)

Share this post


Link to post
Share on other sites
Renran    132
[URL=http://img293.imageshack.us/my.php?image=image2rq8.png]http://img293.imageshack.us/img293/5074/image2rq8.th.png[/IMG][/URL]

[url=http://img508.imageshack.us/my.php?image=image2eb6.png][img=http://img508.imageshack.us/img508/4745/image2eb6.th.png][/url]
There it is , I think, up green and down green merges to a ugly
yellow in the middle?

Did something wrong here!
But on http://img508.imageshack.us/img508/4745/image2eb6.th.png
you can see my problem.

Thanks

[Edited by - Renran on May 13, 2008 3:28:49 PM]

Share this post


Link to post
Share on other sites
Deftoned    115
Hey i don't know how long you have been using openGL, but i will tell you what caused a similar problem for me when doing particle systems,
have you disabled GL_DEPTH_TEST before drawing the polys and re-enabled it after?
Because without doing that you will be able to see the edges of every poly and leads to a very ugly look, it could be something this simple if you are new, or something i don't know about but good luck and i hope it is this easy :P .

Share this post


Link to post
Share on other sites
Renran    132
Hey Deftoned, it's better but because You can zoom in very close, the seams
are still visible.
I did try a lot and only Java's blendinspect could help me.
But I think that seams will always be visible unfortunately.

Anyway Thanks,

RenRan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this