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 / Nasty flickering lines

Author
Message
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 20th Oct 2003 19:32
As you undoubtedly know, bears are well known for their scientific prowess. Great bear inventions include such every day household appliances as the glass toilet roll holder with its own telephone, musical door bells that play Petula Clark's "downtown" in D minor and, of course, the portable hedgehog detector with matching highland kilt accessories.

However, the undersigned bear is baffled. He gets nasty horrible flickering lines in his latest DB Pro project and... (heres the rub)... despite all his best experimental efforts he cannot get rid of them.

To demonstrate the problem he is attaching some code. Its a camera inside a sort of cube of 6 plains. Try panning left and right. Do you see the vertical lines on the plains? When they move they sort of flicker and go:

|
|
|
|
|

How do I get rid of the flicker? Help! Please?

Philip

What do you mean, bears aren't supposed to wear hats and a tie?
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 20th Oct 2003 19:34
Blast it. The line I drew has not kept its formatting.

Ok. To achieve artistic credibility I shall have to put in .. to keep the formating:

.........|
.........|
..........|
..........|
...........|
...........|

There we go.

Leonardo Da Philip

What do you mean, bears aren't supposed to wear hats and a tie?
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 20th Oct 2003 19:45
In editor, goto settings and change to fullscreen exclusive mode. pick a resolution and compile as normal. No more flicker!

This mode syncs screen updates to monitor refresh rate. Windowwed modes are no good for your type of project.

If your mansion house needs haunting, just call Rentaghost!
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th Oct 2003 19:47 Edited at: 20th Oct 2003 19:49
I presume your talking about the display as the camera moves around ? If so, then I think the only way is to use FSEX - using other modes produces the flickering effect, probably due to the fact that, even when using a SYNC RATE of 0, the SYNC isn't being done when the monitors raster beam is off the screen - its being done when its told too. This is more or less a DX problem...

You will notice a very sharp decrease in speed in FSEX mode...


Avatar & Logo by Indi. Insert witty comment here...
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 20th Oct 2003 19:49
Nope. I tried that and I've still got the flicker. :-(

Philip

What do you mean, bears aren't supposed to wear hats and a tie?
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th Oct 2003 19:50 Edited at: 20th Oct 2003 19:52
Its my way of describing Full Screen EXclusive mode.

FSEX (C) TheCodingArea
Legal Disclaimer : I leagally disclaim this disclaimer.


Avatar & Logo by Indi. Insert witty comment here...
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 20th Oct 2003 19:51
Sorry - my post above responds to Spooky. I haven't tried the FSEX thing yet. Mostly because I don't have a clue what FSEX is!

Philip

What do you mean, bears aren't supposed to wear hats and a tie?
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 20th Oct 2003 19:53
Which patch are you running. One of the patches (I think it was 4) broke the syncing for some people (including me).

I'm a bit concerned when you say lines ON the plains. Do you mean actual lines on the plain or just down the edges?

If your mansion house needs haunting, just call Rentaghost!
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 20th Oct 2003 19:53 Edited at: 20th Oct 2003 19:54
If your still getting flicker in FSEX mode, then you can either increase your monitor refresh rate (which may or may not work), try a SCAN RATE 0 or put up with it...


Avatar & Logo by Indi. Insert witty comment here...
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 20th Oct 2003 19:59
@Spooky: down the edges. I'm running the latest patch. Can you try running the code and seeing if you have any problem? If you don't, I'll just put it down to my 'puter. I need an excuse to buy a new one anyway.

Philip

What do you mean, bears aren't supposed to wear hats and a tie?
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 20th Oct 2003 20:03
Runs fine on my 'puter so long as it's in FSEX mode [(C) TheCodingArea]

All other modes give the ugly jittery lines.

If your mansion house needs haunting, just call Rentaghost!
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 22nd Oct 2003 15:02
It doesn't run on mine properly in any of the modes. The problem is less severe when the plains are brought close enough together to form a cube though.

Yet another reason to buy a new computer.

Philip

What do you mean, bears aren't supposed to wear hats and a tie?
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 22nd Oct 2003 15:12
One thing to try is adjusting the camera range. The flicker could be a ZDepth battle, like the cross section of 2 sides fighting for ZDepth supremacy (deciding which side to draw first for example).

Say after your general setups, try adding this:

SET CAMERA RANGE 30,700

See if that irons it out.


Van-B
P.S. You should patent that loo roll holder cum telephone thing.

las6
23
Years of Service
User Offline
Joined: 2nd Sep 2002
Location: Finland
Posted: 22nd Oct 2003 15:21
...and you might want to force VSYNC On from your display card properties.

Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 23rd Oct 2003 15:52
Thanks VanB and las6.

In answer to your patent suggestion, I'm afraid I did not invent the glass toilet roll holder with its own telephone. That was the great Phineas T. Bear, well known bear inventor in the Canadian Rockies.

The only invention I have added to the sum total of Bearkind is the edible chocolate and strawberry keyboard.

Philip

What do you mean, bears aren't supposed to wear hats and a tie?

Login to post a reply

Server time is: 2026-07-26 05:22:38
Your offset time is: 2026-07-26 05:22:38