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

Page 1 of 7 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    75

    Simple (not for me) rotation question

    Hello
    If I want (using GLM) to perform the rotation of alpha radians of a mesh around the point (x,y,z) and with an axis orientation (of the rotation) is given by a vector (vx,vy,vz), how do I get...
  2. how to get the horizontal plane extent ?

    how to get the horizontal plane extent where the camera shine in 3D world?
  3. Replies
    0
    Views
    84

    Some question about transformation

    1263

    Hello every body, I have a plane and attached figure shows two positions of the plane, (a) no rotation and (b) with rotation where rotation axis is defined by ax + by + cz.

    Now, the plane...
  4. Put anti-aliased (i.e. round) points at the...

    Put anti-aliased (i.e. round) points at the intersection of the lines. Use glEnable (GL_POINT_SMOOTH) to do this. Make the points the ~same width as the lines. This is very easy since you already...
  5. Replies
    14
    Views
    849

    The sim runs ~40 fps without computing map...

    The sim runs ~40 fps without computing map textures. With texture computations it's ~2 fps, which is on the slow side. For this application I don't need speed. The texture image is 1080x540 pixels.
    ...
  6. Replies
    14
    Views
    849

    My textures are computed on the fly. As the...

    My textures are computed on the fly. As the satellites orbit the coverage swaths are updated. Also, the swath widths can be changed interactively. So I am constantly changing the texture.[/QUOTE]
    ...
  7. Replies
    14
    Views
    849

    Neither good or bad. What I would try to do in...

    Neither good or bad. What I would try to do in this situation is texture map the sphere with an image onto which you plot your function. gluSpheres have texture coordinates assigned, so you don't...
  8. Replies
    14
    Views
    849

    Depends on what you mean by 'create'. Did you use...

    Depends on what you mean by 'create'. Did you use gluSphere, or did you define surface polygons by computing the coordinates of the vertices?
  9. Have you found a solution to your problem yet?

    Have you found a solution to your problem yet?
  10. Replies
    1
    Views
    355

    Questions On The Matrix Stack

    I'm working with the old classic GL. Have questions about the matrix stack. Let's say I have 6 transformations in the stack applied to my model which is made up of 50,000 vertices. Is the matrix...
  11. Replies
    2
    Views
    370

    It's hard to help you without seeing all of your...

    It's hard to help you without seeing all of your code, particularly the code that sets up the lighting. I notice that your normal vectors are not unit vectors. This is o.k. if you do a 'glEnable...
  12. Take 20 minutes to make a simple triad of 3 line...

    Take 20 minutes to make a simple triad of 3 line segments - x (red), y (green), and z (blue). Place the triad at the center of your car. Now try your rotations. I think you'll find the problem.
  13. Replies
    2
    Views
    533

    Look at - ...

    Look at -

    http://openglut.sourceforge.net/group__bitmapfont.html
  14. So your are zooming in and out by changing the...

    So your are zooming in and out by changing the width (w) and height (h) in your glOrtho command. There is really no distance from the camera to your objects in an orthographic projection, which is...
  15. Not really sure what you are asking. Do you want...

    Not really sure what you are asking. Do you want the arrows to change size as you zoom in or out? Or, do you want them to remain the same size as you zoom in and out? Are your arrows raster...
  16. Replies
    6
    Views
    743

    Are you sure the background sphere isn't hidden...

    Are you sure the background sphere isn't hidden behind the foreground spheres? If you don't draw any objects in the foreground does the background sphere show up?
  17. Replies
    8
    Views
    1,073

    The code tags are [ code] and [ /code], without...

    The code tags are [ code] and [ /code], without the spaces. I've found that rotating the objects in the scene is much easier than messing with LookAt. Add two more global variables (like FOV) to...
  18. Replies
    8
    Views
    1,073

    Have to agree with mhagain. One thing you've done...

    Have to agree with mhagain. One thing you've done right is post some code. That's a start. But you should also show that you've put in some time to try to solve the problem yourself. How do we know...
  19. A simple experiment I would do first is to...

    A simple experiment I would do first is to initialize 'colo' to 'r' (i.e. no mouse clicks required). Does this make the sphere red? This should help you narrow down the problem. Good luck.
  20. This is a very good explanation. Took me years...

    This is a very good explanation.
    Took me years to learn the stuff you've listed.
  21. Replies
    10
    Views
    1,780

    // glTranslatef (distance_x, distance_x, 0.0); ...

    // glTranslatef (distance_x, distance_x, 0.0);
    glTranslatef (distance_x, distance_y, 0.0);
  22. Thread: GUI order

    by Carmine
    Replies
    1
    Views
    557

    ... Fltk ...

    ... Fltk ...
  23. It's easier than what your link describes. For...

    It's easier than what your link describes. For example, if you are using GLUT or FreeGlut, there's a routine(s) that display characters or strings. They provide a limited selection of sizes and font...
  24. Usually the utility that opens a window for you...

    Usually the utility that opens a window for you (such as Glut) provides character and/or string routines. You simply call the routine with the (x,y) coordinates of the point in question and the...
  25. Replies
    7
    Views
    1,106

    Those are good pictures. Are you actually going...

    Those are good pictures. Are you actually going to be working at the level of zoom shown in the pictures? As you get up close the 'burrs' might have to be modeled with polygons. That would be tough...
Results 1 to 25 of 172
Page 1 of 7 1 2 3 4