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

Search: Search took 0.00 seconds.

  1. Thread: extrusion

    by sevenfold
    Replies
    3
    Views
    869

    It's very easy. Just make a copy of the 2D shape...

    It's very easy. Just make a copy of the 2D shape and connect the edges between them. Every edge pair will form a quad, or two triangles if you want.
    You don't need OpenGL to do this either.
  2. Replies
    4
    Views
    1,713

    Yes, a manifold mesh is what I meant. The forum...

    Yes, a manifold mesh is what I meant. The forum won't let me edit my previous post to make the typo correction.
  3. Replies
    3
    Views
    1,181

    I'm not sure what you specifically want, but the...

    I'm not sure what you specifically want, but the repeat factor would probably be the line length divided by the stipple length.

    If you want to emulate OpenGL's glLineStipple for thick lines, then...
  4. Replies
    9
    Views
    1,992

    I was thinking you could have used some kind of...

    I was thinking you could have used some kind of corner cutting technique and discard the old point,
    but you can just keep it and average the old point instead:
    ...
  5. Replies
    9
    Views
    1,992

    You don't have to "push out" the edges. The...

    You don't have to "push out" the edges. The process of subdivision makes them smoother. You're adding more points to the shape to make it smoother. Just keep on subdividing the edges by their...
  6. Replies
    9
    Views
    1,992

    Sounds like a Google question to me. Just divide...

    Sounds like a Google question to me. Just divide the edges at their midpoints and connect them.
  7. Replies
    4
    Views
    1,713

    Fixing flipped faces only works consistently with...

    Fixing flipped faces only works consistently with closed meshes. So, all faces of a closed mesh will either point inside or out. You could simply pick a random face, and flip all surrounding faces...
  8. Replies
    3
    Views
    1,004

    Thanks, I need to support at least OpenGL 2.0, so...

    Thanks, I need to support at least OpenGL 2.0, so I wouldn't be able to use it.

    I did come up with a solution, but it's not very efficient.

    I would have to render the scene in multiple passes. ...
  9. Replies
    3
    Views
    1,004

    Color picking with hidden faces?

    I searched and couldn't find anything on this topic.

    I would like to use color picking to select mesh faces, however I would also like to select all faces, including faces that might be hidden...
  10. I have the same problem with 3dsmax. As soon as...

    I have the same problem with 3dsmax. As soon as it starts up, my OpenGL program literally freezes and
    becomes incredibly slow. It's like watching paint dry. Even after I quit 3dsmax, my program...
  11. Replies
    1
    Views
    818

    Movement is always projected along a straight...

    Movement is always projected along a straight line, flat or curved.
    I would calculate the tangent at the current position and move along that.
    If you're jumping on a sphere, use a gravity vector...
  12. Replies
    22
    Views
    5,080

    If you're working with edges, you should probably...

    If you're working with edges, you should probably use a half-edge data structure to find them quickly and easily.
    Then you can start building your own tools upon it.
  13. Use space-partitioning. Insert your model into a...

    Use space-partitioning. Insert your model into a BSP tree, and only process the nodes that intersect
    with the plane.
  14. Replies
    6
    Views
    3,114

    I think it depends on the graphics hardware. If...

    I think it depends on the graphics hardware. If you pass OpenGL a double, it will just cast it to a float again,
    if the underlining hardware doesn't support double precision.
  15. Replies
    3
    Views
    1,875

    You create a multi-sampling OpenGL device in the...

    You create a multi-sampling OpenGL device in the same place where a normal OpenGL device is created,
    in the CView::OnCreate function.

    And you must enable it before you draw something:...
  16. Replies
    10
    Views
    2,985

    This is very easy game to design in OpenGL. ...

    This is very easy game to design in OpenGL. Everything will be 3D, including the floor blocks.
    It's not very hard to create a box in 3D and texture it.

    Then, just use camera projection that...
  17. Yes, I've encountered this problem too, using...

    Yes, I've encountered this problem too, using GLUtesselator to create 3D text, and it almost always
    creates degenerate triangles. And if you try to remove these degenerate triangles, T-junctions ...
Results 1 to 17 of 18