Results 1 to 4 of 4

Thread: Dirty closed loop fill-in?

  1. #1
    Member Newbie
    Join Date
    Mar 2005
    Posts
    47

    Dirty closed loop fill-in?

    Hi Guys

    I have a series of vertex points that basically form a closed loop. The closed loop is not planar.

    I need to 'fill in' the area inside the closed loop.

    Any ideas on a quick and dirty way to do this?

    In reality the area would best be closed by a nurbs surface but I don't need that level of accuracy.

    I basically have a box and just need to 'close off' the non planar end so I have a closed volume

    Thanks for any input

    Regards

    Julian

  2. #2
    Senior Member Regular Contributor
    Join Date
    Mar 2002
    Posts
    103

    Re: Dirty closed loop fill-in?

    Quick and dirty? Create a fan from one vertex to every other vertex in the loop.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Sep 2003
    Location
    Ireland
    Posts
    135

    Re: Dirty closed loop fill-in?

    The red book has an example on using the stencil buffer to fill a concave polygon...

  4. #4
    Member Newbie
    Join Date
    Mar 2005
    Posts
    47

    Re: Dirty closed loop fill-in?

    Hey thanks guys....

    I'm on it

    Top tips

Similar Threads

  1. Closed-loop FBO operation, practical application
    By CaptainSnugglebottom in forum OpenGL: Advanced Coding
    Replies: 12
    Last Post: 10-21-2017, 10:15 PM
  2. Image loaded from texture is dirty
    By ramy1989 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 12-12-2012, 09:32 PM
  3. A Way to fill a Line loop
    By Eymerich in forum OpenGL ES
    Replies: 3
    Last Post: 12-18-2007, 03:43 AM
  4. Finding stencil buffer dirty rectangles?
    By GameMaker in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 09-02-2003, 11:20 AM
  5. Fast and Dirty picking
    By Roadmaster in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 06-03-2002, 05:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean