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: Agent D

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: xz-plane Grid

    by Agent D
    Replies
    2
    Views
    190

    Simple: Draw a bunch of lines. Similar to drawing...

    Simple: Draw a bunch of lines. Similar to drawing triangles, except you use the GL_LINES mode instead of GL_TRIANGLES.

    Use a simple vertex shader that only applies a transformation and a fragment...
  2. If you do not intend to do any mesh processing or...

    If you do not intend to do any mesh processing or collision detection, etc..., keeping track of faces or other high level topology data
    is completely useless overhead.

    As long as you only want to...
  3. Replies
    4
    Views
    309

    Considering your use case, why don't you simply...

    Considering your use case, why don't you simply use a textured rectangle? You draw stuff locally in memory and update portions of
    the texture that change. You use nearest-neighbour sampling for the...
  4. Replies
    4
    Views
    309

    First of all, if you want "big pixels", why don't...

    First of all, if you want "big pixels", why don't you use "big pixels" by switching to a lower resolution?

    Second, your memory usage could be improved by using an indexed rendering, i.e. you have...
  5. Replies
    2
    Views
    283

    You need to install the drivers for your graphics...

    You need to install the drivers for your graphics card.

    In your screenshot, it says "OpenGL 1.1 (GDI Generic with 2 ext.)". This is the default, built in, fallback software driver
    that Windows(R)...
  6. Replies
    9
    Views
    676

    First of all, you have to find out what you are...

    First of all, you have to find out what you are actually trying to accomplish. I can't think of any application that will ever need all unicode code points at the same time.

    If you want to use...
  7. Replies
    5
    Views
    746

    muthuveera, you might want to re-read the...

    muthuveera, you might want to re-read the original post that startet this thread.

    The function you pasted here uses deprecated glBegin/glColor/glVertex/glEnd calls and the circle it produces is...
  8. Replies
    7
    Views
    506

    You have to understand how the processor...

    You have to understand how the processor architecture that this is run on works. Branches in general are very bad for performance.

    Shader executions are basically divided into groups, where each...
  9. What problem? This function call binds "position"...

    What problem? This function call binds "position" to vertex attribute array 0. Above you configured the vertex attribute 0 to be read from the specifed VBO.


    There is your problem. You are not...
  10. That doesn't make sense. Scaling means...

    That doesn't make sense. Scaling means multiplying it by some factor. That is something completely different than moving one corner.

    What I had in mind was something like this:

    struct
    {
    ...
  11. First of all, that code shouldn't even compile....

    First of all, that code shouldn't even compile. You have a function declaration inside your OnMouseClick function.

    Second, what was that code intended to do? Scale the polygon when the mouse...
  12. And you think a magic, pre-packaged IDE is a good...

    And you think a magic, pre-packaged IDE is a good solution? That's one of the things I absolutely hated in electronics engineering. Almost every microcontroller vendor seems to think like that.
    "You...
  13. This sounds like your implementation does not...

    This sounds like your implementation does not support OpenGL(R) 3.2.

    No.[/QUOTE]
    We have the GLFW source code. Of course we can debug it and step into glfwCreateWindow. But I don't think that...
  14. Handling mouse clicks, etc. is not part of...

    Handling mouse clicks, etc. is not part of OpenGL(R). The OpenGL(R) specification onyl specifies an abstract API for rasterization based rendering.

    Managing a window and handling mouse clicks has...
  15. There are functions related to SDL_RWFromFile...

    There are functions related to SDL_RWFromFile that can write to a file pointer. Also, the "w" mode would only overwrite the file anyway, so you end up having a file
    that contains the last image....
  16. Replies
    5
    Views
    746

    You couldn't draw a circle in fixed function GL...

    You couldn't draw a circle in fixed function GL either.

    There are multiple things that you could do to get circles:


    Draw a triangle fan.
    Draw a rectangle out of two triangles with an...
  17. Replies
    7
    Views
    541

    I can't read a thing in that screenshot, but...

    I can't read a thing in that screenshot, but according your linker errors, you are not inking against GLEW.
    You have to do more than setting up the library path, you also have to tell your...
  18. The problem with custom DIY texture and archive...

    The problem with custom DIY texture and archive formats is that you will have to develop custom tools for dealing with it.

    If you simply want to stick a bunch of files into a single archive file,...
  19. Replies
    3
    Views
    347

    This question is in no way OpenGL(R) related. It...

    This question is in no way OpenGL(R) related. It is to some extent about C++, but mostly about object-oriented programming and software design/architecture.

    There is no "common way to have a...
  20. Replies
    1
    Views
    327

    You could, for instance, use the comparison...

    You could, for instance, use the comparison tables on Wikipedia:

    Nvidia
    AMD
    Intel
  21. Replies
    4
    Views
    583

    According to the the section in the VirtualBox...

    According to the the section in the VirtualBox manual, 3D acceleration is included in the guest additions.

    As far as I can remember, the setup has the checkbox "3D acceleration (experimental)" not...
  22. Replies
    3
    Views
    399

    For something like a simple mesh viewer, you...

    For something like a simple mesh viewer, you could of course also not blurt out 60ish frames per second and only redraw
    the window contents when the window system tells you to, or when the...
  23. Replies
    4
    Views
    341

    AFAIK viewport mapping maps the [-1,+1] range on...

    AFAIK viewport mapping maps the [-1,+1] range on the X axis to [viewport_x,viewport_x+width-1] and the [-1,+1] range on the Y axis to [viewport_y,viewport_y+height-1].
    Theoretically, that should be...
  24. Replies
    4
    Views
    583

    You have to install the right driver. In your...

    You have to install the right driver. In your case, that should be included (AFAIK) in the "VirtualBox Guest Extensions".
  25. Using a depth buffer is a technique to handle...

    Using a depth buffer is a technique to handle overlapping triangles. Your OpenGL(R) framebuffer has a 640 * 480 pixel color buffer, holding
    color values for each pixel and an additional 640*480...
Results 1 to 25 of 238
Page 1 of 10 1 2 3 4