Results 1 to 2 of 2

Thread: Stipple help

  1. #1
    Junior Member
    Join Date
    Sep 2007
    Posts
    2

    Stipple help

    Hi,

    I'm still new to OpenGL so kindly bear with me. How do you do dotted or dashed lines? The desktop has the ability to do line stipples, but it seems this is not supported here. Is there another way to get the desired effect?

    Any help or insight is greatly appreciated.

    Nick

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: Stipple help

    Quote Originally Posted by njackowski
    Hi,

    I'm still new to OpenGL so kindly bear with me. How do you do dotted or dashed lines? The desktop has the ability to do line stipples, but it seems this is not supported here. Is there another way to get the desired effect?

    Any help or insight is greatly appreciated.

    Nick
    I assume the question is regarding OpenGL ES.

    Textured triangles. Many implementations reduce lines to triangles anyway.

    If you are using this to render maps: Draw the map using OpenVG to a texture, then apply the texture to your terrain model. Gives you high quality fonts, lines, area fills and everything else you need to make it look pretty.

    - HM

Posting Permissions

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