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.

Dark GDK / Terrain 'Gaps' when sprite displayed

Author
Message
Bubzy
15
Years of Service
User Offline
Joined: 29th Jun 2009
Location: somewhere
Posted: 19th Jul 2009 11:43
I have a problem with the terrain "dissapearing" when i load a sprite/image onto the screen. please visit the link for a visual reference to the problem.


This does not happen from a higher camera angle just when the camera is near the terrain.

NOTE: The camera is NOT touching the terrain, this problem happens with fog on and fog off, it happens with the camera view distance at a very close range and at a very long range, it happens with Backdrop on or off and with skybox on.
ive tried to load sprites first, load sprites last, ive tried culling the terrain, ive tried not culling the terrain, ive tried it in 16 bit and 32 bit colour, ive tried changing the type/colour/size/position/transparency/alpha of the sprite. ive tried pasting an image to the screen instead of using a sprite. all of these yeild the same results. Your help will be much appreciated...
http://www.zombizzles.com/files/rich/terrainproblem.html

void void void void void void void
prasoc
15
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 19th Jul 2009 20:21
That would be the anti aliasing. For some really strange reason, when you render a sprite to the screen it disables anti-aliasing which is causing your problem


Your signature has been erased by a mod
Bubzy
15
Years of Service
User Offline
Joined: 29th Jun 2009
Location: somewhere
Posted: 19th Jul 2009 22:58
Neat. Well in some kind of vain attempt to fix it, ill trawl the DirectX documentation. Thanks for your help

void void void void void void void

Login to post a reply

Server time is: 2024-10-01 08:20:51
Your offset time is: 2024-10-01 08:20:51