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

Search: Search took 0.00 seconds; generated 25 minute(s) ago.

  1. I don't know what you thought of when writing...

    I don't know what you thought of when writing those functions, but none of them have any relationship to movements of a pendulum. What was that strange for loop supposed to do that only adds constant...
  2. Replies
    1
    Views
    174

    Lagacy or core only? AFAIK legacy OpenGL(R) has...

    Lagacy or core only? AFAIK legacy OpenGL(R) has functions for drawing quadrics. (I have never used them myself)

    Personally, I would stick to core profile OpenGL(R), create a vertex buffer by...
  3. Homogeneous coordinates...

    Homogeneous coordinates
    You don't use 3x3 matrices and 3 component vectors, you use 4x4 matrices 4 component vectors. If the last component "happens to be" 1.0, it will result in the last row of the...
  4. Replies
    1
    Views
    198

    Last time I checked, context creation was not...

    Last time I checked, context creation was not specified in the OpenGL(R) specification.

    OpenGL(R) ES is not desktop OpenGL(R). You are requesting the platform specific API to create a context for...
  5. Thread: radar chart

    by Agent D
    Replies
    1
    Views
    153

    What is a "radar chart"? What do you mean by...

    What is a "radar chart"?
    What do you mean by "some interaction"?
    With what problem exactely are you stuck? (i.e. if you need help, can you ask a specific question?)
  6. You could aproach the rotation picewise: Write...

    You could aproach the rotation picewise: Write down a translation matrix that moves the tip of the line to the origin (and the rest of the pendulum accordingly), a rotation matrix that rotates the...
  7. Replies
    3
    Views
    267

    There's no need for some fancy wizard magic tool....

    There's no need for some fancy wizard magic tool. In your IDE, just set add the freeglut include directory to the include path (you probably also want glew) and add the necessary libraries for...
  8. Replies
    3
    Views
    267

    http://www.opengl-tutorial.org/

    http://www.opengl-tutorial.org/
  9. Replies
    2
    Views
    207

    I can't tell what your vertex shader does, but I...

    I can't tell what your vertex shader does, but I guess the gl_in[i].gl_Position is already after applying perspective (or whatever) projection and the light positon is thus not in camera space.
  10. Replies
    7
    Views
    468

    I compiled your code and wrote the point...

    I compiled your code and wrote the point coordinates from your first post into a propperly named text file.
    I got a white window with red dots in the lower left corner. This is the output for...
  11. There is no "glTexStorage" function. There is,...

    There is no "glTexStorage" function. There is, however:


    glTexStorage1D
    glTexStorage2D
    glTexStorage2DMultisample
    glTexStorage3D
    glTexStorage3DMultisample
  12. Replies
    2
    Views
    206

    In the man page it actually says kX = 2^mX - 1,...

    In the man page it actually says kX = 2^mX - 1, so if you have 8 bit per color channel, mR=mG=mB=mA = 8 and kR=kG=kB=kA=255.

    The color values Rc, Gc, Bc and Ac (lets call the generalization Xc)...
  13. Replies
    1
    Views
    228

    There are no units of length in OpenGL(R). The...

    There are no units of length in OpenGL(R). The units of length are up to your interpretation. You could interpret 1.0 as 1 meter or as 1 foot.

    If, for instance, your camera is 1.8 units above the...
  14. "need the code." Homework task? How exactely is...

    "need the code." Homework task? How exactely is it Windows(R) specific?

    How detailed does the simulation have to be? Is the thread supposed to be flexible or rigid?

    For the rigid case, I...
  15. Replies
    7
    Views
    468

    First of all, I just compiled and ran your code...

    First of all, I just compiled and ran your code and it drew the points from the file as expected.

    Second, the file loading is unnecessarily complex and loading the file every frame is not a very...
  16. Replies
    5
    Views
    310

    Other than the fact that I can't read a thing in...

    Other than the fact that I can't read a thing in that picture, it looks like a screenshot of your projects root directory in some filebrowser.

    You have to add the directory that contains "sb6.h"...
  17. Replies
    9
    Views
    422

    What did you try? Somewhere in your code,...

    What did you try?

    Somewhere in your code, there must be a function like this:


    void export_image( ... )
    {
    ......
    glReadPixels( .... );
    .....
  18. Replies
    5
    Views
    310

    Where is the sb6.h header file? It's obviosly not...

    Where is the sb6.h header file? It's obviosly not in the same directory as red.cpp and not in the include path.

    Make sure the header is either in the include path or in the same directory as...
  19. Replies
    9
    Views
    422

    WRONG end of the rendering pipeline. What I...

    WRONG end of the rendering pipeline.

    What I suggested is flipping the exported image, not the entire scene.

    Btw: The only input transformation that would do the job would be glScalef( 1.0,...
  20. Replies
    9
    Views
    422

    If you are using some library for exporting the...

    If you are using some library for exporting the framebuffer image, tell the library to store the image in reverse order.

    If that is for some reason not possible, you will have to iterate over half...
  21. Replies
    9
    Views
    422

    I'm not sure what exactly you are trying to do,...

    I'm not sure what exactly you are trying to do, but please be aware that in OpenGL(R), the origin is at the bottom left with the Y axis going up, while most image file formats have the origin at the...
  22. Replies
    24
    Views
    1,396

    In my post above, I suggested including windows.h...

    In my post above, I suggested including windows.h before glu.h, as it contains all the undefined macros used in glu.h

    Have you already tried that, or are you too busy insulting people?
  23. Replies
    24
    Views
    1,396

    Your statement becomes pretty ironic considering...

    Your statement becomes pretty ironic considering that you're using gcc on Windows(R). I must say at this point that I am supporter of Free Software (the thing you call "Open Source") and try to...
  24. Yes. Again, yes. There are three...

    Yes.


    Again, yes.


    There are three possible things I can think of, having done that myself in the past:


    Roll your own GUI library and draw things "manually" (actually, the CPU does...
  25. Replies
    1
    Views
    257

    If you found an error on a Wiki Page, you might...

    If you found an error on a Wiki Page, you might consider using the discussion page on the wiki or directly editing the wiki page.
Results 1 to 25 of 54
Page 1 of 3 1 2 3