Thread: Weird Z-buffer issues

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607

    Weird Z-buffer issues

    I've finally gotten around to re-coding my terrain system.. This version does not use a quad-tree as I had to remove all of the code because I forgot how it all worked. Seriously.

    Anyways this screenshot is showing major z buffer issues with a 32-bit zbuffer. Is this a driver error or something I'm doing wrong? I did not encounter this on my GeForce3, but I also did not get 490 FPS on a 256x256 brute force grid either.

    My quad tree code gave 90 to 100 FPS on my GeForce 3, and I cannot imagine what it will do for this GeForce 7800.

    Any ideas on how to fix this zbuffer issue?

    EDIT:

    I should note that the far clip plane in this scene is at 50000.0f. Perhaps the ZBuffer values are so close at that distance that float is not accurate enough to correctly render in the right order. I ramped up the distance because the FPS on my GeForce 7800 are just amazing and I cannot for the life of me get the frames to drop significantly.
    Last edited by VirtualAce; 03-12-2011 at 11:42 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 10-29-2006, 05:04 AM
  2. Another weird error
    By rwmarsh in forum Game Programming
    Replies: 4
    Last Post: 09-24-2006, 10:00 PM
  3. Print out a buffer
    By SwarfEye in forum C Programming
    Replies: 4
    Last Post: 09-08-2006, 09:32 AM
  4. writing a pack-style function, any advices?
    By isaac_s in forum C Programming
    Replies: 10
    Last Post: 07-08-2006, 08:09 PM
  5. DirectSound - multiple sounds
    By Magos in forum Game Programming
    Replies: 9
    Last Post: 03-03-2004, 04:33 PM