Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / plain object, texture ugly effect

Author
Message
Alduce
23
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 7th Mar 2014 17:03 Edited at: 7th Mar 2014 17:04
Hi guys, please watch the attached pic:



I made a giant plain object where I put a mountain texture.
I used set object num,1,1,0,1,1 to the plain object to have a transparent background. In fact I used an image where there is the mountain with a black (rgb 0,0,0)sky.

So you can see the mountain with a transparent background but please notice the upper line over the mountain..
That line corresponds to the upper side of the plain object.

It's not needed that I tell you that it's a really ugly effect!
Is there a solution?
Alduce
23
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 7th Mar 2014 17:06 Edited at: 7th Mar 2014 17:07
Here the mountain image:
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 7th Mar 2014 17:36
That line looks like a seam between two sky polygons. How have you rendered the sky? Is it a skybox , or a skysphere, or just a background texture, or something else?

You might be able to see if the line matches a poly seam boundary by using wireframe mode for the sky.



Powered by Free Banners
Alduce
23
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 7th Mar 2014 17:40
Hi Green Gandalf, the sky it's a sky sphere but I just tried to remove the sky and the ugly effect remains there
revenant chaos
DBPro Master
19
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 7th Mar 2014 18:10 Edited at: 7th Mar 2014 18:11
Try: set object texture ObjID,2,1 (on the mountain plain object)
Alduce
23
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 8th Mar 2014 00:38
Ah great revenant chos, using set object texture ObjID,2,1 almost done! Using set object texture ObjID,2,0 the ugly line has disappeared! Thank you!

Login to post a reply

Server time is: 2026-07-06 18:13:03
Your offset time is: 2026-07-06 18:13:03