FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Software Bugs
(Moderator: fry)
   !!HELP!! -- rect and image() layering
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: !!HELP!! -- rect and image() layering  (Read 434 times)
sspboyd


!!HELP!! -- rect and image() layering
« on: May 29th, 2004, 4:58am »

I really need some help with this program I am working on.
I am layering a noStroke rect over an image and then one loop later putting another image on top of it. BUT, the damn rect keeps showing through.
 
here's the code Im testing with.
Code:

void setup(){
  background(0);
  size(800,600);
  noStroke();
  fill(255);
  BImage testImg = loadImage("test.jpg");
  image(testImg, 200, 200);
  BImage goo = new BImage(testImg.width, testImg.height);
  goo.replicate(200,200,200+testImg.width,200+testImg.height,0,0,testImg. width,testImg.height);
  rect(202, 202, testImg.width-4, testImg.height-4);
  image(goo, 200, 200);
}

 
Any help is much appreciated.
thanks
steve
« Last Edit: May 29th, 2004, 5:22am by sspboyd »  

gmail.com w/ sspboyd username
fry


WWW
Re: !!HELP!! -- rect and image() layering
« Reply #1 on: Jun 11th, 2004, 6:54pm »

yeah, that's a bug.. it shows up in various ways but it needs to be fixed.
 
thanks for the note..
 
Pages: 1 

« Previous topic | Next topic »