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 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. I don't think there is a way in OpenGL or wgl or...

    I don't think there is a way in OpenGL or wgl or their extension to help you here.

    The only thing that should work is triple-buffering. In theory the swap should not block if triple-buffering and...
  2. Thread: linking error

    by Shinta
    Replies
    12
    Views
    4,360

    Have you tried asking for help at the GLEW users...

    Have you tried asking for help at the GLEW users mailinglist? Here, it is like asking the alternator guys on problems connecting engine and gearbox. Sorry for the bad analogy ;-)
    ...
  3. Microsoft's Remote Desktop uses (until now)...

    Microsoft's Remote Desktop uses (until now) always software generated OpenGL. Use a different technology, e.g. Virtual Network Computing (VNC), if possible.
  4. Maybe helpful, yet not necessarily OpenGL...

    Maybe helpful, yet not necessarily OpenGL related:

    http://stackoverflow.com/questions/1683791/drawing-on-the-desktop-background-as-wallpaper-replacement-windows-c
  5. Replies
    1
    Views
    1,132

    ... glLightfv(GL_LIGHT0, GL_AMBIENT,...

    ...
    glLightfv(GL_LIGHT0, GL_AMBIENT, light_ambient);
    glLightfv(GL_LIGHT0, GL_DIFFUSE, light_diffuse);
    glLightfv(GL_LIGHT0, GL_SPECULAR, light_specular);
    glLightfv(GL_LIGHT0,...
  6. Replies
    1
    Views
    1,173

    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...
  7. Replies
    1
    Views
    1,112

    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.)
  8. Replies
    5
    Views
    3,326

    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...
  9. Replies
    7
    Views
    4,194

    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...
  10. Replies
    7
    Views
    4,194

    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...
  11. Replies
    7
    Views
    2,547

    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...
  12. Replies
    11
    Views
    4,477

    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
  13. Replies
    2
    Views
    1,907

    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...
  14. 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!
  15. Replies
    1
    Views
    2,486

    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);...
  16. Replies
    1
    Views
    2,486

    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...
  17. Replies
    5
    Views
    2,906

    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.
  18. 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.
  19. Replies
    3
    Views
    1,979

    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...
  20. Replies
    5
    Views
    2,906

    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.
  21. Replies
    20
    Views
    9,491

    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...
  22. Replies
    3
    Views
    2,277

    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...
  23. Replies
    2
    Views
    1,578

    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...
  24. Replies
    2
    Views
    1,818

    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...
  25. Thread: bezier curves

    by Shinta
    Replies
    2
    Views
    1,611

    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,...
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4