debugging z buffer - help

This is a discussion on debugging z buffer - help within the Game Programming forums, part of the General Programming Boards category; I am trying to implement the z-buffer algorithm, however, am running into the following problem Here is a screenshot. As ...

  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    141

    debugging z buffer - help

    I am trying to implement the z-buffer algorithm, however, am running into the following problem


    Here is a screenshot. As you can see the colour is fading. Also the base of the shape has faded too.
    http://i49.tinypic.com/19qb6w.png

    As the program terminates, I get the following error:
    Code:
    Unhandled exception at 0x76fb4621 in EV_Shell.exe: 0xC015000F: The activation context being deactivated is not the most recently activated one.
    Has anyone encountered this problem? The code is very long so I may need to PM if its needed
    Last edited by bos1234; 06-06-2012 at 04:56 AM.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,340
    > Has anyone encountered this problem?
    There's lots of chatter on a lot of forums elsewhere.
    The activation context being deactivated is not the most recently activated one. - Google Search
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Class for both dynamic allocated buffer and static buffer
    By TotalTurd in forum C++ Programming
    Replies: 3
    Last Post: 01-07-2012, 08:09 PM
  2. Debugging
    By cecil_rabmere in forum C Programming
    Replies: 2
    Last Post: 06-13-2008, 03:36 PM
  3. debugging
    By Ssfccsh in forum C++ Programming
    Replies: 10
    Last Post: 02-29-2004, 11:20 PM
  4. fgets(buffer,sizeof(buffer),stdin);
    By linuxdude in forum C Programming
    Replies: 2
    Last Post: 10-28-2003, 09:41 AM
  5. dev-cpp debugging
    By sanchezero in forum C++ Programming
    Replies: 3
    Last Post: 06-25-2002, 05:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21