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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,046

    Re: Symbol "___glewFramebufferTexture2DEXT".

    Thanks but I did have glew32.lib. I only get this error when selecting release in VS2008 not for debug.
    What else could I be missing? And how to tell to use static?
    Many thanks again
    Michael
  2. Replies
    6
    Views
    1,046

    Re: Symbol "___glewFramebufferTexture2DEXT".

    I'll have a look at glew on windows tomorrow, as I'm 99% on Linux. Anyway when do I use .dll and when *.lib?
    Thanks
  3. Replies
    6
    Views
    1,046

    Symbol "___glewFramebufferTexture2DEXT".

    Hi
    I'm confused and get "not resolved Symbol "___glewFramebufferTexture2DEXT".

    I can debug/run in VS2008 ok but I get that in release config. I have glew32.dll and glew32mx.dll in my folder. Also...
  4. Replies
    5
    Views
    453

    Re: Colorblending

    I draw 2D terrain with glpoints. Now I can set alpha to 0.5 and see the white instrument numbers/descriptions behind but like that the colors are not very good. Hence I wonder if I could see only the...
  5. Replies
    5
    Views
    453

    Re: Colorblending

    so I hope you are...

    I draw onto an instrument panel and want the white to be seen through my drawing. It's a dll so i cannot change the instrument only draw on top.

    I've tried to remove the...
  6. Replies
    5
    Views
    453

    Colorblending

    Hi
    I want to see white from background. How? Even with this:
    glblend online tool
    I couldn't figure it out.
    Thanks Michael
  7. Thread: blending

    by mikethebike
    Replies
    2
    Views
    452

    Re: blending

    Hi
    I do a x-plane plugin so I don't know what was used but I normally use:
    /// Tell Xplane what we are doing
    XPLMSetGraphicsState(0/*Fog*/, 1/*TexUnits*/, 0/*Lighting*/, 0/*AlphaTesting*/,...
  8. Thread: blending

    by mikethebike
    Replies
    2
    Views
    452

    blending

    Hi
    If I make the black background transparent the white (aircraft instrument) symbols are blurred. Why?
    I know, I could my new background 50% transparent and place it in front but the result is...
  9. Replies
    15
    Views
    2,246

    Re: roating a 2D mesh (glpoints)

    No, as I said 3D in FBO is ok so I need to make also glpoints visible in FBO.

    Figured it out without FBO but the mesh is to pixelated, not usable?
  10. Replies
    15
    Views
    2,246

    Re: roating a 2D mesh (glpoints)

    It's a plugin (dll) for an OpenGl App so buffering, camera etc. is handled by that.

    Yea, weird especially as above in FBO I don't understand why nothing is visible. Couly you tell me how to use...
  11. Replies
    15
    Views
    2,246

    Re: roating a 2D mesh (glpoints)

    I'm not sure about the coordinates but I could also draw in a FBO. But even like that the 2D drawing (3D is ok) is not visible....sigh.

    if( DreiDimensional ){...
  12. Replies
    15
    Views
    2,246

    Re: roating a 2D mesh (glpoints)

    Thanks but still the same after moving loadidentity. I draw as below but with glrotate and/or gltranslate nothing is visible.

    glBegin(GL_POINTS);
    glColor3f(rgb[0], rgb[1], rgb[2]);
    glVertex2f(z...
  13. Replies
    15
    Views
    2,246

    Re: roating a 2D mesh (glpoints)

    As a result I tried as below. tdir is the angle. But the rotation is not centered in the 128x128 mesh to draw.
    Thanks
    for (x=0; x<128; ++x) {
    int xx = x * cos(tdir) - z * sin(tdir);
    float...
  14. Replies
    15
    Views
    2,246

    Re: roating a 2D mesh (glpoints)

    Hi
    glMatrixMode(GL_MODELVIEW);
    glPushMatrix();
    glLoadIdentity();
    glDisable(GL_TEXTURE_2D);

    glTranslatef(local_lat, local_lon, local_alt);
    glRotatef(GetDataf(psi), 0, 1, 0);//heading...
  15. Replies
    15
    Views
    2,246

    Re: roating a 2D mesh (glpoints)

    glRotatef(GetDataf(psi), 0, 1, 0);//heading

    Hmm, so why I cannot see anything anymore after adding the above line?
  16. Replies
    15
    Views
    2,246

    roating a 2D mesh (glpoints)

    Hi
    how to rotate a 2D mesh (glpoints, glVertex2f) with a given angle?
    Many thanks
    Michael
  17. Thread: rotation

    by mikethebike
    Replies
    0
    Views
    350

    rotation

    Hi
    now I do:
    glMatrixMode(GL_PROJECTION);
    glPushMatrix();
    glLoadIdentity();
    glFrustum(-0.7, 0.7, -0.7, 0.7, 1, 5000);

    glMatrixMode(GL_MODELVIEW);
    ...
  18. Re: 'GL_RENDERBUFFER_BINDING_EXT' was not declared

    Yes I do link: opengl - glu - glew32s and defined static. Still the same with Eclipse/MingW on Vista. But I got the very same working in VC2008. Any more ideas? Thanks.
  19. Re: 'GL_RENDERBUFFER_BINDING_EXT' was not declared

    Thanks now I did:

    #include <GL/glew.h>

    in init function:

    GLenum err = glewInit();
    if (GLEW_OK != err)
    {
    /* Problem: glewInit failed, something is seriously wrong. */
  20. 'GL_RENDERBUFFER_BINDING_EXT' was not declared

    Hi
    It compiles on Linux/Mac but on Windows I get the errors below.
    Many thanks
    Michael



    ..\main.cpp:50:15: error: 'GL_CURRENT_PROGRAM' was not declared in this scope
    ..\main.cpp:51:15:...
  21. Replies
    2
    Views
    579

    Re: order of translations/rotations

    roll, pitch and heading of a 128x128 terrain relative to an airplane. Now first i need to put the pilot at the center.
    Thanks
  22. Replies
    2
    Views
    579

    order of translations/rotations

    Hi
    what am i doing wrong? I get effects like earth rotating around the sun etc. But of course the terrain should rotate around me.
    Many thanks
    Michael


    glMatrixMode(GL_MODELVIEW);...
  23. Replies
    0
    Views
    486

    invert y axis // flip terrain

    hi
    how to flip my terrain around y?
    Weird is that now i do
    translate
    rotate

    rotate -
    translate -

    for the camera to be ok (seems so for now). Otherways it's like the earth rotating around...
  24. Replies
    1
    Views
    465

    fbo gltranslate

    Hi
    I do something alike:
    http://www.songho.ca/opengl/gl_fbo.html
    now I need to get a side view of the teapot and be in the center of the rotations. I've tried all kind of gltranslate combinations...
  25. Replies
    1
    Views
    469

    rotations//translate

    Hi
    I need to rotate on all axes a terrain. ok but now how to translate for looking from above and at distance?

    glTranslatef(0, 70, -250);//distance and above?
    glRotatef ...pitch heading etc.
    ...
Results 1 to 25 of 67
Page 1 of 3 1 2 3