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

Search: Search took 0.01 seconds.

  1. Yes. It's possible and fairly straight forward...

    Yes. It's possible and fairly straight forward using glClipPlane. Put your textures on two separate spheres (same size, same origin). Then cut away a half of one sphere and the opposite half of the...
  2. Replies
    2
    Views
    320

    Have you found a satisfactory solution to your...

    Have you found a satisfactory solution to your problem yet?
  3. I can make some debugging suggestions if you are...

    I can make some debugging suggestions if you are still interested in taking the same approach. Make a copy of the obj file you are trying to render, and edit it with a text editor. Cut out all of...
  4. What he said.

    What he said.
  5. Do you really mean in the top right corner of the...

    Do you really mean in the top right corner of the texture map (hard), or the right corner of the screen (easy)?
  6. Replies
    2
    Views
    481

    Using your code and your style of programming,...

    Using your code and your style of programming, the routine below yields these images.
    I've selected flat shading and wireframe on the backside of polys to show the structure of the cylinder.
    I'm...
  7. Replies
    4
    Views
    672

    Translate and Scale must come BEFORE glBegin.

    Translate and Scale must come BEFORE glBegin.
  8. Replies
    4
    Views
    672

    You say you've 'created a door'. Does that mean...

    You say you've 'created a door'. Does that mean you see the rectangle when you run the code? Do you seen any part of the circle? Generally speaking, use glScalef to resize things and glTranslatef to...
  9. // =================================== HUD:...

    // =================================== HUD: ==================================
    {
    glMatrixMode (GL_PROJECTION);
    glLoadIdentity ();

    gluOrtho2D (-0.5, 0.5, -0.5, 0.5); //...
  10. Google gluSphere. It generates all of the...

    Google gluSphere. It generates all of the vertices and polygons making up a sphere. You have control over the number of lat-lon divisions it generates. Also, if you request, it generates texture...
  11. Thanks. My work is not documented outside my...

    Thanks. My work is not documented outside my company because it is being developed in a classified environment. But that should not discourage you. The 'look' of my graphics is result of practice,...
  12. I use legacy GL to do my satellite sims (which...

    I use legacy GL to do my satellite sims (which are animated). A screen grab is attached. Use gluSphere with textures activated to eliminate that ugly seam you're running into. I load bmps and tga...
  13. Replies
    1
    Views
    521

    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...
  14. how to get the horizontal plane extent ?

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

    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...
  16. 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...
  17. Replies
    14
    Views
    2,080

    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.
    ...
  18. Replies
    14
    Views
    2,080

    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]
    ...
  19. Replies
    14
    Views
    2,080

    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...
  20. Replies
    14
    Views
    2,080

    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?
  21. Have you found a solution to your problem yet?

    Have you found a solution to your problem yet?
  22. Replies
    1
    Views
    540

    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...
  23. Replies
    2
    Views
    559

    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...
  24. 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.
  25. Replies
    2
    Views
    754

    Look at - ...

    Look at -

    http://openglut.sourceforge.net/group__bitmapfont.html
Results 1 to 25 of 185
Page 1 of 8 1 2 3 4