#49 v1.4.1: concave GeneralPolygon does not work

closed
nobody
None
7
2005-11-15
2005-06-26
No

Example rib:

Format 400 300 1
Projection "perspective"
Display "err.tif" "file" "rgb"
WorldBegin
GeneralPolygon [5] "P" [-1 -1 3 1 -1 3 1 1 3 0 0.5
3 -1 1 3]
WorldEnd

The concave polygon is rendered as its convex hull.

Discussion

  • George Harker

    George Harker - 2005-06-30
    • priority: 5 --> 7
     
  • George Harker

    George Harker - 2005-06-30

    Logged In: YES
    user_id=995400

    thanks for the bug report. I'm looking at this, and believe I have at least
    one possible fix.

    Cheers

    George

     
  • Heinrich Nirschl

    Logged In: YES
    user_id=1303028

    The behaviour is now (v1.4.3) different, but still not
    correct. I have attached an example RIB showing the problem.
    Look at the polygon in the front, it is rendered in two pieces.

    Cheers

    Heinrich

     
  • Heinrich Nirschl

    shows bug in v1.4.3

     
  • Okan Arikan

    Okan Arikan - 2005-07-19

    Logged In: YES
    user_id=555300

    Thanks Heinrich,

    I get the correct image with 1.4.4. Are you still having this
    problem ?

    Okan

     
  • Heinrich Nirschl

    Logged In: YES
    user_id=1303028

    Hello Okan,

    the original example works fine in 1.4.3. and 1.4.4 but the
    new one in the attached file bug.rib still shows a problem
    in 1.4.4. The polygon in the front has a small part chopped
    off at its upper rim.

    Heinrich

     
  • Heinrich Nirschl

    Logged In: YES
    user_id=1303028

    Hi,

    I tried the attached example in bug.rib with 1.4.5. Again a
    different behaviour but still not correct. This time the
    concave region on the left side of the front polygon is filled.

    Heinrich

     
  • George Harker

    George Harker - 2005-07-25

    Logged In: YES
    user_id=995400

    Thanks,

    The fix is not yet applied - 1.4.4 and 1.4.5 are windows
    maintainance releases. I will post here and include in the
    bug list when I believe it is fixed.

    Sorry for any confusion

    George

     
  • George Harker

    George Harker - 2005-09-06

    Logged In: YES
    user_id=995400

    Fixed in 1.4.6 (I hope ;)

    George

     
  • George Harker

    George Harker - 2005-11-15
    • status: open --> closed
     

Log in to post a comment.