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 / Objects leaving trails

Author
Message
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 14th Nov 2003 17:59
One problem I have and which I have not been able to resolve is the fact that I am not a multi-millionaire with a yacht in Monaco.

Another one can, I hope, be demonstrated by the attachedc ode. I've found that with all my DB Pro progs when I move the camera from left to right I get nasty "flicker" with the objects. They leave a split-second trail behind them.

In some of my more demanding progs you actually get micro-second images of the object cut partly in half because you see, I think, the part of the prior-rendered screen before a complete screen refresh.

Is there some easy solution for this? I've tried fiddling with the sync values, fastsync, not using sync on, altering the camera range, the camera fov, the camera view, the graphics display and the screen compiling options, all to no effect.

Help!

Philip

What do you mean, bears aren't supposed to wear hats and a tie?
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 14th Nov 2003 18:11
hows your vid card and processor specs?

-RUST-
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 14th Nov 2003 18:12 Edited at: 14th Nov 2003 18:14
Its not something I get - tried it on a Geforce4MX too.. There's nothing obviously wrong with the code per se, so it could be your graphics card - what do you have ?

Have you tried FSEX mode ?


Mirrors are more fun than television. Well, that was fun, in a not-so-fun sort of way...
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 14th Nov 2003 18:43
I think you need to run in fullscreen exclusive mode otherwise you get that horrid tearing effect of objects, specially objects that move left and right in front of camera. Any window mode will cause that effect.

Make sure you are runnig latest DB patch aswell as patch 4 or 4.1 broke fsex mode and it would not sync properly with your monitor.

Boo!
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 14th Nov 2003 19:41
As far as I know, the problem is caused by the fact that the DBPro window is not "double buffered", a method used to remove flicker on windows controls. Hence full screen exclusive mode gets round the problem.


BLUE GUI Plugin: http://blue.robert-knight.net / BLUE IDE [href]http://blueide.sf.net/ - Replacement editor for DBPro[/href]
Scorpyo
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 14th Nov 2003 20:16
backdrop on
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 14th Nov 2003 20:29
Might this non-double-buffering be fixed in U6?

--Mouse: Famous (Avatarless) Fighting Furball

A very nice %it, indeed.
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 15th Nov 2003 11:11
Discovered what it is. Its my monitor. Don't buy the Phillips dual monitor/TV, guys.

Philip

What do you mean, bears aren't supposed to wear hats and a tie?
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 16th Nov 2003 08:34
i dont buy phillips anything. I dont trust tv/monitor combos, except my amiga monitor. it lasted 20 years before finally blowing a few weeks ago.
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 16th Nov 2003 08:38
What are you still doing with your Amiga?

Time for a retro anecdote. I bought one of the first 200 Amiga 500 Workbench 1.2s to be shipped into the country. At the time everyone else in school owned STs. They all said I was mad. Ha ha ha ha!

Incidentally, I'm very forgetful. I see that my DBPro version number is 1.051. Does that mean I am running patch 5.1a or 5.1b? The former I assume?

Philip

What do you mean, bears aren't supposed to wear hats and a tie?
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 16th Nov 2003 09:26 Edited at: 16th Nov 2003 09:26
I still have, and am about to fire up, my Atari 400 - for the first time in 15 years or so. I just need to go get an RF to 75ohm COAX connector - wish me luck (zzzzzzzZAP!!!zz-zzz-zzzzz-fizzle)


-RUST-
DrakeX
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 16th Nov 2003 17:59
it does the screen tearing on mine too. it's just cause the window isn't double buffered i guess. doesn't have to do with the monitor or the video card. hey, i even have vsync forced on and it still does it..

but fullscreen it's fine.

that's kind of odd, considering that DX9 gives you a very simple way to turn on double buffering in windowed mode that works quite nicely.

athlon xp 2000+ | radeon 9500 pro 128mb | 512MB crucial DDR | winXP pro | DBP P5.1b | B3D 1.85 | VC++ 6
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 17th Nov 2003 12:55
Thats interesting. Maybe its an XP caused problem then?

Please can other people running Windows XP shout out if they also get the screen tearing problem. If they do, this may be a OS specific bug.

Philip

What do you mean, bears aren't supposed to wear hats and a tie?
M00NSHiNE
22
Years of Service
User Offline
Joined: 4th Aug 2003
Location: England, UK
Posted: 17th Nov 2003 15:35
By screen tearing I cant exactly picture what you mean, I do quite often get some DBPro programs where the screen seems to have diagonal lines in 3d objects when moving at speed. Post a pic if you can to see. When I get home Ill try your code.

ZEDWARE website coming soon... //END TRANSMISSION//
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 17th Nov 2003 22:10
Printscreens would probaly not capture the effect.

--Mouse: Famous (Avatarless) Fighting Furball

A very nice %it, indeed.
AlecM
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Concord, MA
Posted: 17th Nov 2003 22:35 Edited at: 17th Nov 2003 22:36
LCD screen monitor? Just a thought

[P4 2.8C @ 3.03 with an 866mhz FSB:: MSI Neo-2LS running PAT:: 1gb Mushkin PC-3500 DDR High Perf level 2@ 2,2,2 :: ATI Radeon9800ProAIW :: 120Gb SeagateBarracuda 7,200RPM SATA HD :: Antec Plus1080AMG]
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 19th Nov 2003 13:32
I doubt this kind of problem is caused by my monitor otherwise my monitor would not be able to run a state of the art modern 3d game like Jedi Academy absolutely flawlessly.

I've been looking at Starwraith 2 and 3. They run flawlessly too. What are they written in DBC or DBPro?

I'm wondering whether its partially a backdrop issue. I have a skysphere in my main program. Anyway, I've just posted something addressed to Spooky in the Newcomers Corner about this.

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: 19th Nov 2003 13:35
The effect also seems to be worse when the object is at either of the extreme sides of the screen. The effect is not manifested at all when the camera moves towards or away from the object. The effect is worse when the object moves across the screen left or right as opposed to up or down.

All very peculiar.

I love quandaries. Don't you?

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home

Login to post a reply

Server time is: 2026-07-26 20:14:49
Your offset time is: 2026-07-26 20:14:49