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

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    231

    rasterposition and glut charactor

    Hello,
    I have a 3D viewer application with an XYZ indicator in the lower left hand side. I am trying to place "x" "y" "z" labels on the arrows that are always facing forward using rasterpos and...
  2. Replies
    0
    Views
    193

    turning off zooming for text

    Hello,
    Im working on a small graphics routine and I am adding labels to the measured features. Ive got the text rendering properly so that it always faces the user but if I zoom in and zoom out the...
  3. Thread: OpenGl labeling

    by Digga
    Replies
    2
    Views
    676

    OpenGl labeling

    Hello,
    I have a small geometric view program and I would like to label each feature with its name ( circle 1, point 6 etc ) I have searched the web for a solution unsuccessfully.
    I am wondering if...
  4. Replies
    12
    Views
    3,714

    Re: opengl rotation issue

    Ehsan,
    Thanks

    Derrek
  5. Replies
    12
    Views
    3,714

    Re: opengl rotation issue

    Fixed it!!!
    Thanks to everyone for their tips

    void CVisualWorkShopView::DrawXYZOrigin(void)
    {

    glPushMatrix();
    glColor3f(0.0f,0.0f,1.0f);...
  6. Replies
    12
    Views
    3,714

    Re: opengl rotation issue

    OK I reread the rotateF documentation and understand whats going on I have the cylinder oriented correctly but its starts drawing form the end of the previous cylinder. I thought the translate...
  7. Replies
    12
    Views
    3,714

    Re: opengl rotation issue

    Hello,
    Here is the complete code, I think Im using glrotatef correctly but Ill double check,

    GLUquadricObj *quadratic; // Storage For Our Quadratic Objects ( NEW )


    // CVisualWorkShopView
    ...
  8. Replies
    12
    Views
    3,714

    opengl rotation issue

    hello,
    Im drawing a XYZ indictor in my partview window using gluCylinder. I can get Z axis looking right but I cant seem to rotate the cylinder to the Y or X axis:

    { // Z axis in...
  9. Replies
    3
    Views
    935

    Re: Geometric PartView

    Hello,
    I have a MFC view that has a gradient background. What Im trying to do is add geometry as its measured. For example I start measuring in my software and measure a circle.In the view a circle...
  10. Replies
    3
    Views
    935

    Re: Geometric PartView

    Anyone?
    Is there a tutorial I should look at?

    Derrek
  11. Replies
    3
    Views
    935

    Geometric PartView

    Hello,
    Im righting an OpenGl partview as a add on to an existing product. I cant seem to figure out how to add features as they are measured to my view:
    Right now Im trying to get lines working:...
  12. Replies
    4
    Views
    980

    Re: OpenGl background and part model proble

    Thanks so much

    that fixed it!!!!!

    Thanks again
    Derrek
  13. Replies
    4
    Views
    980

    Re: OpenGl background and part model proble

    Thanks for the reply,
    In DrawBackground() if I enable GL(MODELVIEW) and Load Identity
    I get the background the way I like it but nothing from oglDrawScene()

    If I disable GL(MODELVIEW) and...
  14. Replies
    4
    Views
    980

    OpenGl background and part model proble

    Hello,
    I have started a project and Im using openGl to render a 3D partview.
    Ive drawn a quad with the color gradient that I want to use as the background. And I used some existing code the draw a...
  15. Replies
    3
    Views
    723

    Re: Gradientt Background

    I have added the gradient code to OnDraw but its still not drawing a background to the window,
    code:

    void COpenGL::OnDraw(CDC *pDC)
    {
    ////////// gradient backgroud
    glMatrixMode(...
  16. Replies
    3
    Views
    723

    Gradientt Background

    Hello,
    Im new to OpenGl and am having trouble setting up a gradient background:
    Here is my code:


    #include "stdafx.h"
    #include "OpenGL.h"

    COpenGL::COpenGL(void)
    {
Results 1 to 16 of 16