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

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    61

    If I understand your question correctly, you're...

    If I understand your question correctly, you're going to have to use glBegin(GL_TRIANGLES), not glBegin(GL_LINE_STRIP), to get the effect you want. OpenGL will interpolate color across the inside of...
  2. Replies
    2
    Views
    192

    I know about the syntax to glPolygonMode. My...

    I know about the syntax to glPolygonMode. My last call to it before rendering these polys is:


    glPolygonMode (GL_FRONT_AND_BACK, GL_FILL);

    Checking for errors is good idea. I'll look into...
  3. Replies
    2
    Views
    192

    glPolygonMode Being Ignored?

    I have a GL code that runs fine on most workstations, but is somehow corrupted on others.
    An image is attached that shows the problem. Once in a while I run into a workstation that
    renders all...
  4. Have you been able to solve this problem yet? If...

    Have you been able to solve this problem yet? If not, post your code.
    If it runs on my system and is clean enough, I'll take a look at it.
  5. You need six glNormal calls to render the cube...

    You need six glNormal calls to render the cube correctly (one per face). Each call should go before the 4 glVertex calls that define that face. The normal is a vector perpendicular to the face. ...
  6. Replies
    0
    Views
    151

    Making Desktop App Run on Web.

    My experience with GL is limited to running fixed function pipeline on Windows workstations and imac. I have an OpenGL/C++ application running on Windows made up of about 10,000 lines of code. My...
  7. Replies
    2
    Views
    194

    The OBJ format is not limited to triangles. It...

    The OBJ format is not limited to triangles. It can handle polygons with many sides. Not sure what the maximum is. If you are only seeing triangles in the OBJ files you are working with, it's because...
  8. Replies
    2
    Views
    283

    The first translate is o.k. I'd take out the...

    The first translate is o.k. I'd take out the glRotate and replace the second glTranslate with something like this -



    float r = 200.0,
    x = r * cos (rotation_angle), // This...
  9. Replies
    2
    Views
    272

    I have the same problem. I'm working with an...

    I have the same problem. I'm working with an NVidia K2000 on an HP Z440 workstation running Windows 7 Professional. I have a small app that displays a model with just over 2000 polygons in it. ...
  10. Replies
    1
    Views
    174

    https://www.opengl.org/

    https://www.opengl.org/
  11. Thread: CPPlay

    by Carmine
    Replies
    5
    Views
    572

    Thanks. I'll take a look at it.

    Thanks. I'll take a look at it.
  12. Thread: GLUT disused?

    by Carmine
    Replies
    3
    Views
    399

    I'm running GLUT on Yosemite with no problems.

    I'm running GLUT on Yosemite with no problems.
  13. Replies
    37
    Views
    2,400

    The other guys have stated the options pretty...

    The other guys have stated the options pretty clearly. Either redraw the entire scene leaving out the polygon you want to 'clear', or re-render only that polygon without calling glClear at the...
  14. Like I said, almost all modeling packages can...

    Like I said, almost all modeling packages can export to .obj format, including 'Blender'.
  15. The Wavefront .obj format is what you need. It's...

    The Wavefront .obj format is what you need. It's an ASCII format that is easy to understand and well documented. I've written code to input and display it in OpenGL myself. If you look around, you...
  16. Thread: CPPlay

    by Carmine
    Replies
    5
    Views
    572

    I hear ya. I went to the link provided and found...

    I hear ya. I went to the link provided and found - not much - as you say. That's why I asked if anyone knew anything about it. Looks like it runs on Apple only. I certainly wouldn't use it for...
  17. Thread: CPPlay

    by Carmine
    Replies
    5
    Views
    572

    CPPlay

    Does anyone know anything about CPPlay? Which version(s) of OpenGL are implemented - fixed pipeline, Modern GL? How fully implemented is it?

    Thanks.
  18. Replies
    2
    Views
    250

    Even without the texture turned on, your sphere...

    Even without the texture turned on, your sphere is messed up. Looks like depth testing and/or gl_cull_face haven't been enabled or set up properly.
  19. Correct. Angle 'a' comes from the law of cosines.

    Correct. Angle 'a' comes from the law of cosines.
  20. Reading my own post made me realize there might...

    Reading my own post made me realize there might be an easy way to solve this problem correctly and succinctly.
    By 'correctly', I mean capping the small sphere with a larger sphere of radius = earth...
  21. The sphere is made up of lots of small polygons,...

    The sphere is made up of lots of small polygons, i.e. it is a surface not a solid. By default, a GL polygon is a thin surface that can only be seen from one side, which is why when you look into the...
  22. Replies
    2
    Views
    360

    I started doing OpenGL on an iMac with...

    I started doing OpenGL on an iMac with Code::Blocks recently. It turns out that Code::Blocks provides a template for developing GL apps using GLUT. It comes with a small demo program that compiles...
  23. Replies
    10
    Views
    1,185

    Don't understand your question. Can U provide an...

    Don't understand your question. Can U provide an example - perhaps pictures of a 3D model with and without the 'contour'?
  24. Had some time to fool around with clipping...

    Had some time to fool around with clipping gluSpheres today. Had to play around with the commands to get any sort of handle on it. Reading the docs usually doesn't do it for me when I'm trying out...
  25. Replies
    2
    Views
    375

    glutbitmapcharacter

    glutbitmapcharacter
Results 1 to 25 of 252
Page 1 of 11 1 2 3 4