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

Search: Search took 0.00 seconds.

  1. 1050 I'm playing around with settings as:...

    1050
    I'm playing around with settings as:
    http://www.andersriggelsen.dk/glblendfunc.php
    but as you can see in the images...through the doors etc. the provisionally textured airplane is visible....
  2. Replies
    6
    Views
    859

    Yes after commenting: ...

    Yes after commenting:
    //glEnableClientState(GL_VERTEX_ARRAY);
    it works! Honestly I don't know what the above was for...
  3. hide mesh or change material in reflections

    Hi
    on a mesh with reflections:
    http://nehe.gamedev.net/tutorial/sphere_mapping_quadrics_in_opengl/15005/

    I want to keep reflections and hide the mesh. Or in other words, I need to show a...
  4. Replies
    6
    Views
    859

    I do a plugin, vbo is ok but everything else from...

    I do a plugin, vbo is ok but everything else from the parent is gone. I would appreciate advice on how to save and restore the original.
  5. Replies
    6
    Views
    859

    don't let vbo destory all

    Hi
    using a vbo destroys the existing context, hence how to avoid such?
    Thanks
  6. Replies
    1
    Views
    356

    restore state

    Hi
    if I draw in my x-plane plugin I destroy anything else. My stuff looks ok but how to restore the original state?
    Thanks
  7. Thread: hide mesh

    by mikethebike
    Replies
    0
    Views
    298

    hide mesh

    Hi
    I only want to see reflections but not the mesh itself. Could I hide the mesh or alike?
    http://nehe.gamedev.net/tutorial/sphere_mapping_quadrics_in_opengl/15005/
    (Well basically I want to show...
  8. Thread: rotations

    by mikethebike
    Replies
    4
    Views
    424

    Was a easy fix with: glScalef(1,-1,1);

    Was a easy fix with:
    glScalef(1,-1,1);
  9. Thread: rotations

    by mikethebike
    Replies
    4
    Views
    424

    Ohh like that is rotating ok: ...

    Ohh like that is rotating ok:
    glTranslatef(XPLMGetDatad(locX), XPLMGetDatad(locY), XPLMGetDatad(locZ));
    glRotatef(XPLMGetDataf(psi), 0, 1, 0);//heading
    glRotatef(XPLMGetDataf(theta),...
  10. Thread: rotations

    by mikethebike
    Replies
    4
    Views
    424

    rotations

    Hi
    all ok and centered but as soon as I try to rotate the mesh I only see it in the distance.

    glPushMatrix();
    // glRotatef(XPLMGetDataf(psi), 0, 1, 0);//heading
    // ...
  11. Replies
    6
    Views
    1,367

    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
  12. Replies
    6
    Views
    1,367

    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
  13. Replies
    6
    Views
    1,367

    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...
  14. Replies
    5
    Views
    645

    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...
  15. Replies
    5
    Views
    645

    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...
  16. Replies
    5
    Views
    645

    Colorblending

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

    by mikethebike
    Replies
    2
    Views
    626

    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*/,...
  18. Thread: blending

    by mikethebike
    Replies
    2
    Views
    626

    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...
  19. Replies
    15
    Views
    3,038

    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?
  20. Replies
    15
    Views
    3,038

    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...
  21. Replies
    15
    Views
    3,038

    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 ){...
  22. Replies
    15
    Views
    3,038

    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...
  23. Replies
    15
    Views
    3,038

    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...
  24. Replies
    15
    Views
    3,038

    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...
  25. Replies
    15
    Views
    3,038

    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?
Results 1 to 25 of 77
Page 1 of 4 1 2 3 4