Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Codea 3.3.3 (278)

dave1707dave1707 Mod
edited May 18 in Bugs Posts: 9,243

@Simeon Theres a problem with this version. This should print “qwertyuiop” over the blue background of the square. It doesn’t. Would this have something to do with the model view matrix. I noticed display problems on other code and got it down to this. If you reverse the display order, it almost works.

PS. A lot of things are screwed up, loaded the previous version.

viewer.mode=STANDARD

function setup()
    rectMode(CENTER)  
    textMode(CENTER)
end

function draw()
    background(0)
    fill(100, 178, 229)
    rect(WIDTH/2,HEIGHT/2,200,200)
    fill(255)
    text("qwertyuiop",WIDTH/2,HEIGHT/2)
end

Comments

  • edited May 18 Posts: 2,219

    @Simeon @dave1707 - with the test above offset the HEIGHT by -200 on the text. It shows up. Now with no offset add noFill() before the rect - it doesn't show up. Something to do with layers?

  • Posts: 139

    yeah, as i wrote in the other thread, this version broke my lights shader demo, making the object drawn AFTER appear behind and breaking alpha transparency when swapping draw order

Sign In or Register to comment.