Results 1 to 7 of 7

Thread: Urgent!!

  1. #1
    Member Contributor
    Join Date
    Jan 2001
    Location
    Canada
    Posts
    86

    Urgent!!

    Hey,
    Trying to run my app on different machines. Sometimes it works, other times when it tries to render i get an unhandled exception...privileged instruction. Its not OS issue...not sure if hardware or software...graphics card...i dont know. Hoping someone has had similar issue before and knows resolution. The problem is definately with respect to rendering cuz it happens when i call my display list.
    Help please!!

  2. #2
    Junior Member Newbie
    Join Date
    Jul 2001
    Posts
    6

    Re: Urgent!!

    i'm not sure but i think some versions of opengl can't use display lists... Just a guess...

    If you aren't doing any other rendering before the display lists then it's the video card i think.
    -------------------

    Show me a flying penguin and i'll show you a mental institute.

    Show me a flying pengwin, well.... its me! [img]/forum/images/%%GRAEMLIN_URL%%/wink.gif[/img]

  3. #3
    Member Newbie
    Join Date
    Mar 2001
    Location
    Marlborough, MA, USA
    Posts
    44

    Re: Urgent!!

    Originally posted by TheFlyingPengwin:
    i'm not sure but i think some versions of opengl can't use display lists... Just a guess...

    If you aren't doing any other rendering before the display lists then it's the video card i think.
    display lists have been in opengl for quite a while (i'm not sure what version they were added in?) so i don't think this is the problem. perhaps you are making an illegal gl call inside of your display list definition? remember that a display list cannot hold just any old gl call... consult the red book for a list of gl functions that should not be included in a display list.
    Christopher Oat
    ATI Research, Inc.
    3D Application Research Group

  4. #4
    Senior Member Regular Contributor
    Join Date
    Jul 2001
    Posts
    352

    Re: Urgent!!

    Are you using a Borland compiler ? Because I've met such unexpected error messages with BC++ 5.0.

  5. #5
    Member Contributor
    Join Date
    Jan 2001
    Location
    Canada
    Posts
    86

    Re: Urgent!!

    Using VC6. Getting rid of my display lists helped, as i can successfully run consistently. However, still issuesif i add to the code, making it bigger. I think its an issue with the release build. Debug version is consistent.
    Never come across this, but i think its also a graphics card issue, as the same machines that could not execute had a maximum point size of 1.

  6. #6
    Senior Member Regular Contributor
    Join Date
    Jul 2001
    Posts
    352

    Re: Urgent!!

    oh I've just had another idea : how do you get the number for your display list : do you use glGenLists ? if not, maybe you're attempting to redefine some display list internal to your gl driver.

  7. #7
    Senior Member Regular Contributor
    Join Date
    Feb 2000
    Posts
    154

    Re: Urgent!!

    If it only crash when you are rendering your displaylist I would try to debug the code that build the list.

    Instead of building the list try render your geometry immediatly using glBegin-glEnd or whatever you are using in the building of the list.

    If it crash then too, its just a matter of stepping through the code..

    Cheers

Similar Threads

  1. Help me pls...very urgent...thanks very much...
    By scorpio79 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-07-2005, 07:58 PM
  2. URGENT, Help
    By alvin in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-23-2003, 08:12 PM
  3. URGENT, Help
    By alvin in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 01-23-2003, 12:56 AM
  4. URGENT, Help
    By alvin in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-22-2003, 06:32 PM
  5. Urgent dll
    By Contact in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-18-2002, 03:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean