Results 1 to 2 of 2

Thread: concave polygon shading.

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Bangalore, Karnataka,India
    Posts
    17

    concave polygon shading.

    Hi All,
    I knew that GL_POLYGON, is undefined for concave polygones. Is there anyway to shade a concave polygon or any type of polygon?

    Regards
    Deek**** M

  2. #2
    Super Moderator OpenGL Guru imported_dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    3,966

    Re: concave polygon shading.

    To shade concave polygons you must either split the polygon yourself into convex parts or use something like the somewhat impractical stencil buffer approaches described online to draw the concave polygon by a more brute force means.

Similar Threads

  1. drawing concave polygon using OpenGL ES
    By hulingfei in forum OpenGL: General
    Replies: 1
    Last Post: 11-10-2011, 03:44 AM
  2. Concave Polygon via Stencil Buffer
    By pseudosig in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 03-10-2011, 01:32 PM
  3. How to display a concave polygon without use of tessllation
    By Xiaofeng in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-07-2002, 01:36 AM
  4. Concave polygon tesselator
    By RandyU in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-07-2000, 11:20 PM
  5. Concave polygon
    By pigpig in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-08-2000, 09:11 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
  •  
Proudly hosted by Digital Ocean