Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

  1. #1

    nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    i took tutorial 36 about radial blur from http://nehe.gamedev.net/tutorials/lesson.asp?l=36

    and it works fine under visual c++ 6.0, but not under visualc++ 7.0 ! how can this happen? i thougth opengl is more or less platform independent and even more compiler version independent.....
    strange thing. seems that microsofts opengl-implementation in vc7.0 is buggy .
    can anyone help out? i think the problem is located by the frambuffer to texture copy.

  2. #2

    Re: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    Could be a gone generation bug? Did you try building it in debug mode with optimizations turned off?

  3. #3

    Re: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    What exactly is the problem. I remeber having found some bugs in radial blur in VC++ 6.0 (don't have VC++ 7). But I think they were windows related.

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,407

    Re: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    librarys compiled for one version of vc normally aint compatable with another version.
    this has got nothing to do with opengl per se ie it happens with any libraries.

  5. #5
    Junior Member Regular Contributor
    Join Date
    Nov 2002
    Location
    Sofia,None,Bulgaria
    Posts
    107

    Re: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    There is VISUAL C++ 7.0???Where can i read some info about that.Does it have introductionary/standart/professinal/enterprise versions???.Write me a mail about that stuff!
    The pain is coming...THIS SUMMER!

  6. #6

    Re: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    sorry for late reply,
    i have compiled both in debug mode (no optimizations) and release mode - neither works. i cannot believe this ... i would expect this if i change between win32<->linux, but not between different vc-version....

    seems that even in vc7 the gl - header is pretty old:

    /*++ BUILD Version: 0004 // Increment this if a change has global effects

    Copyright (c) 1985-96, Microsoft Corporation

    Module Name:

    gl.h

    Abstract:

    Procedure declarations, constant definitions and macros for the OpenGL
    component.

    --*/

    #ifndef __gl_h_
    #ifndef __GL_H__

    #define __gl_h_
    #define __GL_H__

    #ifdef __cplusplus
    extern "C" {
    #endif

    /*
    ** Copyright 1996 Silicon Graphics, Inc.
    ** All Rights Reserved.
    **
    ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
    ** the contents of this file may not be disclosed to third parties, copied or
    ** duplicated in any form, in whole or in part, without the prior written
    ** permission of Silicon Graphics, Inc.
    **
    ** RESTRICTED RIGHTS LEGEND:
    ** Use, duplication or disclosure by the Government is subject to restrictions
    ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
    ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
    ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
    ** rights reserved under the Copyright Laws of the United States.
    */
    /* Version */
    #define GL_VERSION_1_1


    so my guess is just a buggy opengl.lib.

  7. #7
    Advanced Member Frequent Contributor
    Join Date
    Sep 2000
    Location
    SWEDEN
    Posts
    601

    Re: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    You still haven't explained what "doesn't works" means. It doesn't compile, it doesn't link, it doesn't display correctly or what?

  8. #8

    Re: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    oh sorry!
    it compiles fine, runs fine - but the blur effect is gone in vc7. only the spriral gets drawn. so my assumption is that the framebuffer -> texture copy fails.
    but why ?

  9. #9
    Junior Member Regular Contributor
    Join Date
    Apr 2001
    Location
    London, UK (but from France)
    Posts
    125

    Re: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    works fine for me. the EXE is 44K instead of 36K, but it's working just fine.

    quit smoking man.

  10. #10

    Re: nehe-tutorial 36 (blurr) works under vc6.0 but NOT under vc7.0 !! how is't possible?

    so - could you please mail me your *.exe (or probably better the complete direc with project files)?
    (post@andre-krause.net)
    what's your graphics card ? i got ati-radeon ve.. and you visualc++ version ? any updates applied ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •