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 / Is it me or is it a bug in DBPro 5.1?

Author
Message
mhack
23
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 10th Oct 2003 17:09 Edited at: 10th Oct 2003 17:10
Try this code:



This should display a sphere in the center of screen and a plain shouldn't be visible.. But it is?

It looks like when you change x from let say 1000 towards the 100000
first it works till 18000 then the plain starts to show through sphere? I think it's a bug with sorting..

My specs:
Windows 98 (2222)
DirectX 9.0b
P4 2.4 GHz, 128 DDR RAM, 16M Video
30 GB harddrive
Running in desktop full screen mode.

Please, help

Arseny
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 10th Oct 2003 17:48 Edited at: 10th Oct 2003 17:57
Can we please keep bug reports to the Bug Report section.

Are you sure you've got the code correct ? It wont compile under 5.1 (the camera command doesn't have enough parameters for example).


Avatar & Logo by Indi. Insert witty comment here...
mhack
23
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 10th Oct 2003 17:57
Sorry just wanted for somebody to confirm before I will add headache to TGC guys..
mhack
23
Years of Service
User Offline
Joined: 24th Apr 2003
Location:
Posted: 10th Oct 2003 20:47
Yes, I'm sorry it should be:



It doesn't really matter for me what exactly is x or what objects as soon as any object are 18,000+ points out on Z axes they start to draw in order of creation, one on another, and it doesn't matter that one is closer..
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 10th Oct 2003 20:49 Edited at: 10th Oct 2003 20:50
I don't actually think that this is a bug - just a limitation of the standard Z-buffer.

Can you check your Advanced display settings/Direct3D Z-buffer depth? I bet it's set to 16 bit (if a setting is available at all).

BTW, what video card are you using?
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 10th Oct 2003 20:52
Don't bother answering this post ... I'll pick it up in the Bug forum
heartbone
23
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 10th Oct 2003 20:57
mhack this sounds like you have an nVidia video chipset.
If so, chalk it up to their driver code hacks to get fast performance.

The more you see, the more you know.
The more you know, the more you see.

Login to post a reply

Server time is: 2026-07-26 05:03:32
Your offset time is: 2026-07-26 05:03:32