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: chowe6685

Page 1 of 16 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    12
    Views
    682

    Re: I problem with blending HELP ME PLEASE!

    Ok, because blending is useful for much more than just transparacy, when you draw things you want to be transparent opengl still puts them into the depth buffer. This means that if you are using...
  2. Replies
    12
    Views
    682

    Re: I problem with blending HELP ME PLEASE!

    I'm not entirely sure what is being asked here, but make sure you call glDepthMask(0) when you draw transparent things and glDepthMask(1) afterward
  3. Replies
    1
    Views
    173

    Re: Perspective projection problem

    for starters

    gluPerspective(45, winWidth / winHeight, 0, 10);

    don't set the near plane (3rd parameter) to 0, try something like .01
  4. Re: Which method is faster - glVertex OR glDrawPixels

    put all the pixels an array and call
    glDrawPixels(width, length, GL_RGBA, GL_FLOAT, pointarray);

    that will be MUCH faster
  5. Replies
    5
    Views
    213

    Re: order of objects (layers)

    glEnable(GL_DEPTH_TEST);
  6. Re: Rendering without z transformation and without ortho mode

    what you want is ortho mode, what do you mean when you say the coordinates get screwed up?
  7. Replies
    1
    Views
    114

    Re: Where do I start???

    nehe.gamedev.net is always popular

    I woud also recommend searching this forum when you run into problems, many of the most common ones are answered often
  8. Replies
    4
    Views
    240

    Re: Rotating speed based on CPU

    Decide how far you want the cube to rotate in a second, lets say 10 degrees
    Now every frame poll the current time using your favorite function, lets use timeGetTime. This returns the time in...
  9. Replies
    4
    Views
    253

    Re: Multiple viewports

    you can also use glscissor to restrict the area affected by glclear
  10. Replies
    4
    Views
    253

    Re: Multiple viewports

    http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=42
  11. Replies
    9
    Views
    257

    Re: half fps on faster computer

    you shouldn't install opengl32.dll along with the game. It is part of the drivers for your video card.
  12. Replies
    1
    Views
    559

    Re: Mpeg2 Codec and opengl

    this seems to have information on the codec
    http://www.coolstf.com/mpeg/

    as always wotsit provides some nice links
    http://www.wotsit.org/search.asp?page=2&s=animated

    As for displaying it,...
  13. Replies
    1
    Views
    115

    Re: Plotting surfaces

    the painters algorithm has (to my knowledge) little to do with this. It deals largly with drawing things properly w/o a depth buffer ie further stuff gets drawn first.
    What you want to do can be...
  14. Thread: Bold lines

    by chowe6685
    Replies
    1
    Views
    240

    Re: Bold lines

    glLineWidth(2)
  15. Thread: animation

    by chowe6685
    Replies
    1
    Views
    109

    Re: animation

    I don't think the obj format stores animation data, it isn't mentioned in the file format specification. Is there any possibility you could use a different format. www.gametutorials.com provides...
  16. Replies
    1
    Views
    196

    Re: loading textures in constructors

    you cannot make any gl calls before you have a valid rendering context. Thus the globally created objects have their constructors called before the RC is set up, and the texture fails
  17. Replies
    1
    Views
    216

    Re: Quadric object question

    you can use the same one to my knowledge; it's worked for me in the past.
  18. Replies
    1
    Views
    127

    Re: OpenGL & Visual Basic

    http://www.google.com/search?&q=opengl%20visual%20basic
  19. Replies
    3
    Views
    161

    Re: How to find functions when I need?

    blue book
    http://www.parallab.uib.no/SGI_bookshelves/SGI_Developer/books/OpenGL_RM/sgi_html/bk02.html

    also look at the extensions registry on this site

    you are looking for glReadPixels...
  20. Re: Vertex color effected by texture filtering?

    you could look at the nehe tutorial on cell shading. It uses 1d texture instead of vertex colors that may accomplish the effect you want
  21. Re: Can Alpha Test work the same way as Depth Test?

    the alpha test is per pixel
    you could use rgba textures, and set their alpha values according to your conditions.
  22. Replies
    7
    Views
    410

    Re: Rotate vertexes in a mesh

    then you generate the new coordinate axis on the fly. For example if you are rotating around the y-axis
    i' = cos(theta)*i + sin(theta)*k
    j' = j
    k' = cos(theta)*k + sin(theta)*i

    note that cos...
  23. Replies
    8
    Views
    261

    Re: Clipping Planes

    to make a plane "local" simply enable the plane before drawing the object and disable it afterward. I have no idea how clipping planes are transformed, but you could fairly easily write a program to...
  24. Replies
    2
    Views
    217

    Re: glColorMaterial()'s bug ?

    I don't think its a bug, its actually the intended behavior of glColorMaterial.
    Look at #14, http://www.opengl.org/resources/features/KilgardTechniques/oglpitfall/
    if I understand you correctly...
  25. Replies
    7
    Views
    410

    Re: Rotate vertexes in a mesh

    basically he is suggesting that you manually rotate your vertices. This is not particularly difficult if you are familier with matrix math or know how to do rotations with sin and cos. You can...
Results 1 to 25 of 386
Page 1 of 16 1 2 3 4