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. Replies
    9
    Views
    248

    Your comments make sense. In reality both of the...

    Your comments make sense. In reality both of the scenarios you discuss come up in my simulation. Most of the time I'm simply compositing cloud cover over a world map. It's a static texturing...
  2. Replies
    9
    Views
    248

    I combine two textures on a sphere using fixed...

    I combine two textures on a sphere using fixed pipeline GL (i.e. no shaders). The first texture is a world map. The second is global cloud cover expressed as a grey scale image. The texture images...
  3. Replies
    0
    Views
    200

    NetBeans and OpenGL On A Mac

    Is anyone using NetBeans on a Mac to do C/C++/OpenGL development?
    I use Windows at work with MVC++. I recently acquired Mac for home use.
    I would like to develop new OpenGL software in the same...
  4. When I read your first post, it sounded like you...

    When I read your first post, it sounded like you wanted an animation of balls or points moving as new positions were computed. But your last post seems to indicate that all you need is to show the...
  5. The 'glu' functions are o.k. for small...

    The 'glu' functions are o.k. for small applications or applications where they are only called a few times. But it's not a good idea to use them when they are going to be called 100's or 1000's of...
  6. I think glutIdlefunc is what you need. Look up...

    I think glutIdlefunc is what you need. Look up definition and examples.
  7. Animation is usually done in GL by redrawing the...

    Animation is usually done in GL by redrawing the entire scene for each frame.
    This starts with clearing the screen to the background color, then redrawing all of the
    elements in the scene...
  8. Replies
    9
    Views
    630

    Do you mean 'black' everywhere else, or...

    Do you mean 'black' everywhere else, or transparent every where else? 'Black' would result in a cube with white edges, but opaque faces. I assume that the OP wants a true wireframe effect, where you...
  9. Replies
    14
    Views
    1,380

    Hello. It's me again too. I still say you should...

    Hello. It's me again too. I still say you should draw the first 5 triangles in your obj file in wireframe to find your error. It looks like a topology/logic error, i.e. you're connecting the wrong...
  10. I used the techniques above because my texture...

    I used the techniques above because my texture changes with time, i.e. when the simulation runs, the line between day and night moves across the continents. If the two images you are working with...
  11. Replies
    7
    Views
    595

    Not sure what you mean by 'double side'. Why are...

    Not sure what you mean by 'double side'. Why are you generating the coordinates yourself? gluCylinder will do all of this for you. It calculates normals too. A solid arrow consisting of a cone at...
  12. 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...
  13. Replies
    2
    Views
    772

    Have you found a satisfactory solution to your...

    Have you found a satisfactory solution to your problem yet?
  14. Replies
    14
    Views
    1,380

    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...
  15. What he said.

    What he said.
  16. 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)?
  17. Replies
    2
    Views
    545

    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...
  18. Replies
    4
    Views
    822

    Translate and Scale must come BEFORE glBegin.

    Translate and Scale must come BEFORE glBegin.
  19. Replies
    4
    Views
    822

    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...
  20. // =================================== HUD:...

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

    gluOrtho2D (-0.5, 0.5, -0.5, 0.5); //...
  21. 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...
  22. 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,...
  23. 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...
  24. Replies
    1
    Views
    601

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

    how to get the horizontal plane extent where the camera shine in 3D world?
Results 1 to 25 of 196
Page 1 of 8 1 2 3 4