Menu

#25 Processing 125 : LINE_LOOP

open
nobody
None
5
2007-10-10
2007-10-10
Anonymous
No

in VectorOutiline Example it gaves me this error:

C:/DOCUME~1/Menekis/LOCALS~1/Temp/build10383.tmp/Temporary_6531_2256.java:44:16:44:24: Semantic Error: No accessible field named "LINE_LOOP" was found in type "Temporary_6531_2256".

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I have this issue as well. Along with 3 friends of mine.

     
  • Robsteranium

    Robsteranium - 2008-03-06

    Logged In: YES
    user_id=1026345
    Originator: NO

    Try changing this:
    //draw edge points (same as last, but vector based)
    list = m.globEdgePoints(20);
    stroke(0,128,0);
    for(int i=0;i<list.length;i++){
    int[][] contour = list[i];
    if(contour!=null){
    beginShape(LINE_LOOP);
    for(int j=0;j<contour.length;j++){
    vertex( contour[j][0] , contour[j][1] );
    }
    endShape();
    }
    }

    to this:
    //draw edge points (same as last, but vector based)
    list = m.globEdgePoints(20);
    stroke(0,128,0);
    for(int i=0;i<list.length;i++){
    int[][] contour = list[i];
    if(contour!=null){
    noFill();
    beginShape();
    for(int j=0;j<contour.length;j++){
    vertex( contour[j][0] , contour[j][1] );
    }
    endShape(CLOSE);
    }
    }

    I have a fixed version if anyone wants to see this change in context!

     
  • Nobody/Anonymous

    Logged In: NO

    I have also received this error.

     

Log in to post a comment.