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
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   color alpha
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: color alpha  (Read 583 times)
mr.prufrock

WWW Email
color alpha
« on: Jul 21st, 2003, 9:47pm »

Hi,
 
I try the new alpha channel capability in processing:
 
stroke( 0,0,0,50 );
stroke( color(0,0,0,50) );
line(0,0,100,100);
 
but the line is still 100% opacity... don't know if it's a bug or maybe I did something inappropriate.
 

I grow old...I grow old
I shall wear the bottoms of my trousers rolled.
toxi

WWW
Re: color alpha
« Reply #1 on: Jul 21st, 2003, 11:16pm »

it's a bug, i'm afraid.... will be fixed in the next release! thanks for letting us know!
 

http://toxi.co.uk/
arielm

WWW
Re: color alpha
« Reply #2 on: Jul 21st, 2003, 11:33pm »

2 questions from the bagel papa poule (bglpppl), one step before making a test-case for the bug-db:
 
toxi, fry: from which version of processing alpha is working on 2d lines?
 
mr.prufrock: which background color are you using?
 
10-x
 

Ariel Malka | www.chronotext.org
benelek

35160983516098 WWW Email
Re: color alpha
« Reply #3 on: Jul 22nd, 2003, 6:19am »

i'm also getting problems with the alpha coloring using fill on rectangles.
 
toxi

WWW
Re: color alpha
« Reply #4 on: Jul 22nd, 2003, 3:40pm »

sorry arielm, don't know when alpha lines got introduced properly (maybe only the upcoming one?
 
proof that this all will work is here though:
http://www.toxi.co.uk/p5/alphalines/
 
this applet also makes use of the new blendModes (substractive blending in this case).
leave your mouse in a spot for long and you'll get black eventually...
 

http://toxi.co.uk/
arielm

WWW
Re: color alpha
« Reply #5 on: Jul 22nd, 2003, 5:15pm »

benelek: after trying in 056: i can fill a rectangle with alpha... do you have a test-case for your problem?
 
i also tested stroke() with alpha but it doesn't work, as mentioned by mr.prufrock...
 
but toxi, i can't understand yet what you mean by "i'm afraid it's a bug"?
 
i want to correctly categorize mr.prufrock's report but are we talking about a feature request / planned stuff or a real bug (i.e. is alpha already supposed to work on thin 2d lines)?
 

Ariel Malka | www.chronotext.org
toxi

WWW
Re: color alpha
« Reply #6 on: Jul 22nd, 2003, 5:26pm »

sorry, i wrote "it's a bug" as i assumed from mr.prufrock's post that this actually worked before. however for 0056 i replaced the old 2d line code with a faster implementation and so felt guilty and thought i might have broken it. maybe this was not even case now...
 
but in anyway, the next build will have 2d alpha lines for sure!
« Last Edit: Jul 22nd, 2003, 5:28pm by toxi »  

http://toxi.co.uk/
arielm

WWW
Re: color alpha
« Reply #7 on: Jul 22nd, 2003, 6:44pm »

thanks!
 
so i guess the "incident" is closed, and there's no need to "categorize" anything as alpha-on-stroke is on your todo list...
 

Ariel Malka | www.chronotext.org
mr.prufrock

WWW Email
Re: color alpha
« Reply #8 on: Jul 22nd, 2003, 7:45pm »

hi toxi, just wondering if the blendMode() is implemented in version 56?
 
Cheers!
 

I grow old...I grow old
I shall wear the bottoms of my trousers rolled.
toxi

WWW
Re: color alpha
« Reply #9 on: Jul 22nd, 2003, 9:05pm »

nope, that'll be some new feature for the next revision. sorry!
 

http://toxi.co.uk/
fry


WWW
Re: color alpha
« Reply #10 on: Sep 21st, 2003, 8:06pm »

fixed up these alpha issues for rev 60.
 
the blend modes are also implemented in 60, but only for image compositing. no code yet for implementing them in the rest of the graphics engine.
 
Pages: 1 

« Previous topic | Next topic »