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.02 seconds.

  1. Replies
    7
    Views
    301

    Exactly. Hence Delauney Triangulation. The...

    Exactly. Hence Delauney Triangulation.

    The figures you posted make it look like your data is 2D.
    But the vertex coordinates are 3D.
    Are you treating this point set as if it is 2D?
    Are all the...
  2. Replies
    7
    Views
    301

    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...
  3. Replies
    2
    Views
    237

    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...
  4. Replies
    2
    Views
    237

    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...
  5. 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.
  6. 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. ...
  7. Replies
    0
    Views
    161

    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...
  8. Replies
    2
    Views
    207

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

    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...
  10. Replies
    2
    Views
    280

    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. ...
  11. Replies
    1
    Views
    182

    https://www.opengl.org/

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

    by Carmine
    Replies
    5
    Views
    583

    Thanks. I'll take a look at it.

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

    by Carmine
    Replies
    3
    Views
    415

    I'm running GLUT on Yosemite with no problems.

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

    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...
  15. Like I said, almost all modeling packages can...

    Like I said, almost all modeling packages can export to .obj format, including 'Blender'.
  16. 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...
  17. Thread: CPPlay

    by Carmine
    Replies
    5
    Views
    583

    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...
  18. Thread: CPPlay

    by Carmine
    Replies
    5
    Views
    583

    CPPlay

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

    Thanks.
  19. Replies
    2
    Views
    262

    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.
  20. Correct. Angle 'a' comes from the law of cosines.

    Correct. Angle 'a' comes from the law of cosines.
  21. 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...
  22. 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...
  23. Replies
    2
    Views
    367

    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...
  24. Replies
    10
    Views
    1,211

    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'?
  25. 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...
Results 1 to 25 of 253
Page 1 of 11 1 2 3 4