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

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    315

    Re: Vectors with Vertex arrays?

    thanks for the reply, sorry I didn't think of that on my own.
  2. Replies
    2
    Views
    315

    Vectors with Vertex arrays?

    Is it possible to use a std::vector in place of a c-style array of floats?
  3. Replies
    2
    Views
    279

    Re: Display list question

    Thanks
  4. Replies
    2
    Views
    279

    Display list question

    Is drawing 2 instances of 1 display list any faster than drawing 2 instances of different, yet identical, display lists?
  5. Replies
    6
    Views
    1,074

    Re: Sprite Z-fighting again.....

    Just wanted to add:
    I decreased the range of depth from 1-800 to 20-200 and that did not affect the z-fighting.
    Perhaps the problem is that there truly is 2 quads on the exact same location for...
  6. Replies
    6
    Views
    1,074

    Re: Sprite Z-fighting again.....

    There is a popping issue as well, but I don't think the flickering is part of it because it occurs even when the camera is only zooming and not rotating/panning.

    It would not be bad to lower the...
  7. Replies
    6
    Views
    1,074

    Re: Sprite Z-fighting again.....

    Thanks for the reply,
    I disabled depth writes and it did "fix" the problem , but as you mentioned occlusion doesn't occur. Along with that, there is this strange flickering that doesn't look like...
  8. Replies
    6
    Views
    1,074

    Sprite Z-fighting again.....

    Hello, I am working on the particle system for my game again and ran into a new/old problem. I sort the particles and draw them in order and such and, in most cases, there is no z-fighting. However...
  9. Replies
    3
    Views
    423

    Re: Another question on multitexturing.

    Thanks to both.

    I am, in a sense, making a program similar to Terragen so using it to make the height maps kinda defeats the purpose :) The terrain is tightly integrated into the game so the...
  10. Replies
    3
    Views
    423

    Another question on multitexturing.

    I'm still very shaky on the multi-texturing subject.

    I am implementing multi-texturing for detail texturing of terrain. My problem is the overlying texture seems to decrease in visibility...
  11. Replies
    1
    Views
    255

    Multi-texturing. Cross platform?

    Is there a straight forward method of implementing multi-texturing as mentioned in this article in a cross platform/portable way? That example is good but it uses code like:
    ...
  12. Replies
    7
    Views
    395

    Re: What is a Vertex Array anyway?

    That's great to know (index arrays) I think it will be a smooth process to adapt the engine to work with them as it already uses that form in the data types for storing geometry.

    Ok well I think...
  13. Replies
    7
    Views
    368

    Re: DIsplay Lists Question

    Yes, check out SDL at libsdl.org

    Also if you do want to use a display it is pretty easy:

    GLuint displayListID = glGenLists(1); //request a ID for a new list
    glNewList(displayListID,...
  14. Replies
    7
    Views
    395

    Re: What is a Vertex Array anyway?

    Ok that makes a good deal of sense. Thanks.

    A few questions though:

    How? If each 3 values are one vertex then wouldn't it always be 9 vertices for 2 triangles?

    Also, are other drawing...
  15. Replies
    7
    Views
    395

    What is a Vertex Array anyway?

    I'm looking for ways to make my basic game engine run more efficiently. In paticular, rendering of objects that are not display lists. (I call them dynamic meshes, if thats a good term)

    Using the...
  16. Replies
    2
    Views
    319

    Re: Reinitializing OpenGL and SDL

    Oh! Never mind, I fixed it. In loosing its state it was acting as if GL_TEXTURE_2D disabled.

    I simply re-enabled it (glEnable( GL_TEXTURE_2D )) among other things and it works.

    Sorry to waste...
  17. Replies
    2
    Views
    319

    Reinitializing OpenGL and SDL

    I'm not sure if this belongs on a SDL forum or OpenGL forums, but I cant even find a SDL forum so here goes:

    In SDL I there is this deal where if you reset the video mode (change resolution etc)...
  18. Replies
    1
    Views
    303

    Interpolating textures?

    I'm working on terrain for a project. I want to be able to have several layers of textures on the terrain at different locations.

    ( Eventually I want these locations to be edited in a map editor,...
  19. Replies
    2
    Views
    374

    Re: Adative blending

    Ok, and if using a alpha mapped texture then glBlendFunc( GL_SRC_ALPHA, GL_ONE ); ?
  20. Replies
    2
    Views
    374

    Adative blending

    How do I make my particle system have adative blending? As in, to particles(or sprites) overlaying each other will be brighter than one alone.
  21. Replies
    1
    Views
    272

    Back face Culling - Efficient?

    -What is the reason for back face culling?

    -Does enabling/disabling it improve or decrease performance? Or does it depend on the implementation?
  22. Replies
    5
    Views
    553

    Re: glNormal + glScale quation

    Ok I see, and I got it working easily with GL_NORMALIZE thanks.
  23. Replies
    5
    Views
    553

    Re: glNormal + glScale quation

    I see, so scaling display lists is not a good idea?

    After a little more experimenting I gather that when I scale an object using glScale it progressively becomes darker and darker over all. As if...
  24. Replies
    5
    Views
    553

    glNormal + glScale quation

    I was thinking...
    If you take a triangle and scale with emphasis on a single axis its normal would change. Right?

    If you have a display list (terrain for example) with normals and call glScale...
  25. Re: Temporaryly disable and re-enable gluPerspective?

    Well I thought I understood the code you gave me but I can't seem to get it to work. The HUD quads don't show at all in orthographic. I tried switching the Z location of the quads from negative to...
Results 1 to 25 of 58
Page 1 of 3 1 2 3