Results 1 to 4 of 4

Thread: A Way to fill a Line loop

  1. #1

    A Way to fill a Line loop

    Hi to everyone,

    I have a question: there is a way to fill a polygon drawn with a line loop?

    Thanks!


    Giuseppe

  2. #2
    Senior Member
    Join Date
    May 2006
    Posts
    353
    You have to divide the polygon into triangles (or triangle strips/fans) and render those.
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum
    DevTech@imgtec.com | http://www.powervrinsider.com

  3. #3
    Yes, i know this way, but when I try to draw a figure like a river or a lake, the point are placed in a way that I nedd to draw with a GL_TRIANGLE_FAN, but this method draw in a wrong way the 2 last point...

    Excuse my English!

    Byez

    Gius

  4. #4
    Senior Member
    Join Date
    May 2006
    Posts
    353
    I can't help you without a better explanation of what is going wrong.
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum
    DevTech@imgtec.com | http://www.powervrinsider.com

Similar Threads

  1. Fill Effect
    By klm_ in forum OpenGL ES general technical discussions
    Replies: 3
    Last Post: 03-07-2012, 01:49 AM
  2. Fill array
    By shiftreduce in forum OpenCL
    Replies: 1
    Last Post: 11-19-2009, 01:24 AM

Posting Permissions

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