Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 6 of 6

Thread: Accelerated Stippled Line Drawing

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    May 2001
    Posts
    566

    Accelerated Stippled Line Drawing

    Is stippled line drawing (patterns) supported by the 3D accelerator? How does it work? Any document out there describes the inner working of 3D hardware?

    Thanks.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Jun 2000
    Location
    Cambridge, England
    Posts
    190

    Re: Accelerated Stippled Line Drawing


  3. #3
    Advanced Member Frequent Contributor
    Join Date
    May 2001
    Posts
    566

    Re: Accelerated Stippled Line Drawing

    I meant to say if this patterned line drawing is supported by hardware naively or the API layer has to setup the geometry to mimic stipples????

  4. #4
    Member Regular Contributor Jackis's Avatar
    Join Date
    Sep 2005
    Location
    Saint-Petersburg, Russia
    Posts
    275

    Re: Accelerated Stippled Line Drawing

    glfreak
    If you want some advanced stippling (with images, or with rectangular patterns), so you have to create quadstrip for each line-contour with integrated width, stored at each vertex, and do some vertex-shader trivial math to make stipples be zoom-independent.
    [EDIT]
    AFAIK, stippling is not HW-accelerated, but I can be wrong. Anyway, this built-in stippling is very weak, so I recommend to make it your-own.

  5. #5
    Member Regular Contributor
    Join Date
    Apr 2006
    Location
    Irvine CA
    Posts
    299

    Re: Accelerated Stippled Line Drawing

    Some generations of GPU have stipple hardware. The ones that don't would need to implement that functionality through the pixel shader probably.

  6. #6
    Senior Member OpenGL Pro
    Join Date
    Sep 2004
    Location
    Prombaatu
    Posts
    1,386

    Re: Accelerated Stippled Line Drawing

    Incidentally there's a nice little Geforce/Quadro comparison over here. Hardware support for all sorts of stuff like AA points/lines, logic ops, clip regions, clip planes, 2 sided lighting, quad buffer stereo, etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •