Announcement

Collapse
No announcement yet.

Solid Triangles

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • doggy1
    replied


    Filled triangles are NOT working for me on a 320-240LCD and latest versions of 4DGL & PmmC 1.08.

    Changing the order of the vertices does nothing with the following. I always get a wireframe. Rectangles are okay.

    gfx_Set(PEN_SIZE,0);
    gfx_Triangle(100,150,120,150,110,100,RED);

    Regds,
    Dave

    Leave a comment:


  • tomisom
    replied


    Filled triangles seem to be working for me in PmmC 1.08, although it seems to be very picky about the order of the x,y pairs. If it doesn't work for you, try rearranging the coordinate pairs and try again

    Leave a comment:


  • 4dTechSupport
    replied


    The filled triange function is not available in the recent releases of PmmC (1.07). It has been traded of in place of some other useful functions. We are looking forward to include it in the coming releases.

    Leave a comment:


  • LVEng
    started a topic Solid Triangles

    Solid Triangles

    I am using the 32028-P1T

    I am trying to create a solid triangle, I am using Pen_Size, 0 and I am still recieving a outlined triangle.

    Here is my code
    #platform "uOLED-32028-P1T"
    #inherit "4DGL_16bitColours.fnc"

    func main()
    gfx_Cls();
    gfx_Set(0,0);
    gfx_Triangle(100,100,50,150,150,150,BLUE);
    endfunc
Working...
X