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
    1
    Views
    1,056

    Rewrite of glut printing thread

    Hello,
    I am working on a small graphic program that allows user to label measured geometry with GLUT based labels the rest of the program is in MFC/Opengl. The issue is that the labels work great...
  2. Replies
    2
    Views
    1,069

    { BYTE* pBitmapBits = (BYTE*)malloc(IMAGE_WIDTH...

    {
    BYTE* pBitmapBits = (BYTE*)malloc(IMAGE_WIDTH * IMAGE_HEIGHT * 4);
    RenderToBitmap(pBitmapBits, IMAGE_WIDTH, IMAGE_HEIGHT, false, true, false, false, false, false );
    // Initialize the bitmap...
  3. Replies
    2
    Views
    1,069

    Render to bitmap trouble with Glut

    Hello,
    I have a small graphics program the allows the user to label their measured geometry with Glut based labels, everything work great until I render to bitmap them the text only gets "...
  4. Replies
    0
    Views
    478

    redirecting MFC messages to Glut

    Hello,
    Im working on a small opengl based geometry viewer. I use Anttweakbars in my application for a info display. The problem Im having is redirecting the MFC mouse messages to Glut to be...
  5. Does anybody use AntTweakBar here string question

    Hello,
    Im tryingto use AnttweakBar in my application I having trouble with loading strings, I have asked for help on there forum but it doesnt appear very active so Im posting here and hoping for...
  6. Replies
    0
    Views
    657

    Glut picking and text

    Hello,
    Im working on a small graphics/cad program, I have implemented some small text labels using glut. Otherwise everything else is MFC and standard Opengl.

    Im wonder how the "pick" with the...
  7. Replies
    0
    Views
    630

    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...
  8. Replies
    0
    Views
    431

    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...
  9. Thread: OpenGl labeling

    by Digga
    Replies
    2
    Views
    1,221

    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...
  10. Replies
    12
    Views
    4,360

    Re: opengl rotation issue

    Ehsan,
    Thanks

    Derrek
  11. Replies
    12
    Views
    4,360

    Re: opengl rotation issue

    Fixed it!!!
    Thanks to everyone for their tips

    void CVisualWorkShopView::DrawXYZOrigin(void)
    {

    glPushMatrix();
    glColor3f(0.0f,0.0f,1.0f);...
  12. Replies
    12
    Views
    4,360

    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...
  13. Replies
    12
    Views
    4,360

    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
    ...
  14. Replies
    12
    Views
    4,360

    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...
  15. Replies
    3
    Views
    1,370

    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...
  16. Replies
    3
    Views
    1,370

    Re: Geometric PartView

    Anyone?
    Is there a tutorial I should look at?

    Derrek
  17. Replies
    3
    Views
    1,370

    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:...
  18. Replies
    4
    Views
    1,192

    Re: OpenGl background and part model proble

    Thanks so much

    that fixed it!!!!!

    Thanks again
    Derrek
  19. Replies
    4
    Views
    1,192

    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...
  20. Replies
    4
    Views
    1,192

    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...
  21. Replies
    3
    Views
    1,043

    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(...
  22. Replies
    3
    Views
    1,043

    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 22 of 22