Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Shinta

Page 1 of 3 1 2 3

Search: Search took 0.09 seconds.

  1. Replies
    1
    Views
    533

    1. You don't need to register new window classes...

    1. You don't need to register new window classes in every thread (unless they are different).
    2. Your graphic card won't change during runtime, so you don't need to choose a pixel format for every...
  2. Replies
    1
    Views
    558

    Looks like Z-fighting to me. To prevent that, you...

    Looks like Z-fighting to me. To prevent that, you have to adjust the range of you Z-Buffer. Especially the near value. (Try to increase it, e.g. double the near value, and check if it gets better.)
  3. Replies
    5
    Views
    1,325

    Or much easier, you can use the gl.h (and maybe...

    Or much easier, you can use the gl.h (and maybe glext.h) from Microsoft to compile. Every function not found in the header files needs a (wgl)GetProcAddress() call. And GL_* symbols not found, have...
  4. Replies
    7
    Views
    2,904

    I've cleaned up my screensaver base and added a...

    I've cleaned up my screensaver base and added a simple rotating demo object. You'll need Visual Studio 2010 because of the project files; also, the screensaver is based on MFC.

    (Warning: The...
  5. Replies
    7
    Views
    2,904

    In preview mode, the calling arguments also...

    In preview mode, the calling arguments also contain a handel (HWND) to the preview window; but this handel is only good for aquiring the size and position of the preview window, so don't try to set a...
  6. Replies
    7
    Views
    1,462

    Re: PFD_SUPPORT_OPENGL vs WGL_SUPPORT_OPENGL_ARB

    DescribePixelFormat() returns informations for ALL pixel formats, not just the OpenGL supported once. That includes printer formats and device independent (DRAW_TO_BITMAP) pixel formats. Some of...
  7. Replies
    11
    Views
    3,568

    Re: Crash on glVertex2f

    Maybe they are doing it in software, but my FX 1400 (I know it is quite old) claims to do OpenGL 2.

    Vendor: NVIDIA Corporation
    Renderer: Quadro FX 1400/PCI/SSE2
    Version: 2.1.2
  8. Replies
    2
    Views
    1,559

    Re: OpenGL SuperBible First Edition source code

    try:
    http://www.chip.de/downloads/DiskInternals-ZIP-Repair_31279559.html

    only a few files from the TGS\WebSpace folder and the complete Win95 folder (as noted in the Readme.txt) can't be...
  9. Re: what is wrong with my 2D Interpolation C code?

    Concav polygons almost everytime need to be tesselated (splitted into triangles) to be drawn correctly!
  10. Replies
    1
    Views
    1,807

    Re: MFC Problem on Windows 7

    SOLVED.

    I replaced my calls to SetThreadLocale with calls to this little masterpiece:


    typedef BOOL (WINAPI* SET_PREFERRED_UI_LANGUAGES_PROTOTYPE) (DWORD, PCWSTR, PULONG);...
  11. Replies
    1
    Views
    1,807

    MFC Problem on Windows 7

    I know this problem is not OpenGL related, but this is the only developer forum i'm signed in, and maybe someone knows how to solve my problem. So, i'm sorry.

    Long time ago, I wrote a very simple...
  12. Replies
    5
    Views
    2,448

    Re: Undefined reference of m3dRotationMatrix44

    How do you compile and link your program? Do you use some integrated development environment? If so, try adding the math3d.cpp to the source files.
  13. Re: Memory accumulation up to overflow by OpenGL-Ctrl

    Try to hide the window instead of closing/destroying it.
    Or is it a modal window?

    Also check if you release all OpenGL objects e.g. textures on closing.
  14. Replies
    3
    Views
    1,387

    Re: Create HGLRC on Remote desktop

    I think the problem is, that (at least all systems I've tested) remote connections don't have a pixelformat with the requested settings.


    |Color|Alpha|Depth|Accum|Stncl| AUX...
  15. Replies
    5
    Views
    2,448

    Re: Undefined reference of m3dRotationMatrix44

    That is one way to do it.

    The other, more common way, is to compile math3d.cpp as well and then link everything together.
  16. Replies
    20
    Views
    8,256

    Re: Pollution from other windows

    Exactly, don't draw on other events than WM_PAINT. If you need a refresh of your opengl-context just invalidate it. This is also the way to go from onIdle- or timer-events. Even worker threads can...
  17. Replies
    3
    Views
    1,783

    Re: Graphics class and DrawBezier

    Don't mix OpenGL and GDI (Graphics is the C# pendant to GDI Device Context).

    'gr' is just a reference to the actual thing, but since it is not set to, let's say, the graphic object of your...
  18. Replies
    2
    Views
    1,212

    Re: I want to display the color white as red

    If you only want to use a red-shaded texture try using GL_RED instead of GL_LUMINANCE. If you want more colors, you need GL_COLOR_INDEX, but don't ask me, how to transfer the color palette.

    But if...
  19. Replies
    2
    Views
    1,518

    Re: How to render a sequence into movie?

    If size not an issue I suggest to use a uncompressed image format like tga or bmp, that could be written in just 2 steps.
    1. write the binary header (18 bytes for tga)
    2. write the byte array...
  20. Thread: bezier curves

    by Shinta
    Replies
    2
    Views
    1,278

    Re: bezier curves

    I don't know much about vb but in C# you'll need to pin the array.


    GCHandle p=GCHandle.Alloc(points, GCHandleType.Pinned);
    try
    {
    glMap1f(target, u1, u2, stride, order,...
  21. Re: Using OpenGL & Multithreading under Windows Vista

    Maybe it is a different OpenGL renderer, have you checked the PixelFormat? Are they the same?
  22. Re: Aero disabled on fullscreen (Vista and Windows 7)

    Aero is only a Part of the DWM (Desktop Window Manager), which is being deactivated on Fullscreen.

    The new Desktop Window Manager with its Desktop Compositing Engine provides 3D accelerated window...
  23. Re: Aero disabled on fullscreen (Vista and Windows 7)

    It's not very offical but the best I could find fast:
    OpenGL and Windows Vista™
    Windows Vista and OpenGL-the Facts
  24. Re: Aero disabled on fullscreen (Vista and Windows 7)

    Yes, it is normal.
  25. Thread: wglext.h bug

    by Shinta
    Replies
    6
    Views
    2,699

    Re: wglext.h bug

    Hmm, shouldn't it look more like this? :


    #ifndef WGL_3DL_stereo_control
    #define WGL_3DL_stereo_control 1
    #ifdef WGL_WGLEXT_PROTOTYPES
    extern BOOL WINAPI wglSetStereoEmitterState3DL (HDC,...
Results 1 to 25 of 73
Page 1 of 3 1 2 3