Le dimanche 29 novembre 2009 à 12:07 +0100, IOhannes m zmölnig a écrit :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matteo Sisti Sette wrote:
Ohhh, ok!!!
[env ( is the way the texture blends with the color of the survace (i.e.
the one set by [color])!!!
ah right. that
i forgot the patch.
++
Jack
Le dimanche 29 novembre 2009 à 15:41 +0100, Jack a écrit :
Le dimanche 29 novembre 2009 à 12:07 +0100, IOhannes m zmölnig a écrit :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matteo Sisti Sette wrote:
Ohhh, ok!!!
[env ( is the way the
Jack escribió:
i forgot the patch.
Excellent (as Miller would say... or Mr Burns)
That's exactly what I was trying to do.
I thought I could simply send [symbol GL_BLEND( (and other constant
names) to the GL objects.
Also, I was missing the necessary [alpha] object.
By the way, in your
By the way, it seems to me that with this approach I can achieve:
- additive blending (by setting both sfactor and dfactor to GL_ONE)
- multiplicative blending (by setting for example sfactor=GL_ONE and
dfactor=GL_SRC_COLOR)
but NOT for example subtraction or difference... or am I missing
Errata corrige:
Matteo Sisti Sette escribió:
- multiplicative blending by setting for example sfactor=GL_ONE and
dfactor=GL_SRC_COLOR
I meant sfactor=GL_ZERO
However the question remains:
but NOT for example subtraction or difference... or am I missing something?
--
Matteo Sisti Sette
make the rectangle transparent with the alpha channel
[alpha]
[colorRGB] - use last inlet to control the alpha 0...1
Am 28.11.2009 um 17:53 schrieb Matteo Sisti Sette:
Hi,
Now, I don't know if this is possible at all.
Suppose I have a [rectangle] (or whatever primitive indeed) with a
Max escribió:
make the rectangle transparent with the alpha channel
[alpha]
[colorRGB] - use last inlet to control the alpha 0...1
Well that only gives me alpha blending, I cannot do additive nor
multiplicative nor difference blending etc with that, can I
--
Matteo Sisti Sette
Btw I am specially interested in add and multiply, and maybe difference
and subtraction
Max escribió:
make the rectangle transparent with the alpha channel
[alpha]
[colorRGB] - use last inlet to control the alpha 0...1
Am 28.11.2009 um 17:53 schrieb Matteo Sisti Sette:
Hi,
Now, I
well, you've asked for the simple way
other than that the solution is pretty much outlined in your question already.
Am 28.11.2009 um 18:07 schrieb Matteo Sisti Sette:
Max escribió:
make the rectangle transparent with the alpha channel
[alpha]
[colorRGB] - use last inlet to control
Max escribió:
well, you've asked for the simple way
Ok I just hoped there was a simple way to achieve add and multiply as well.
So can I assume ther isn't?
other than that the solution is pretty much outlined in your question already.
Do I have to learn glsl programming?
Would that
Is it what you are looking for ?
++
Jack
Le samedi 28 novembre 2009 à 17:53 +0100, Matteo Sisti Sette a écrit :
Hi,
Now, I don't know if this is possible at all.
Suppose I have a [rectangle] (or whatever primitive indeed) with a
texture, and something behind the rectangle.
Is it
Jack escribió:
Is it what you are looking for ?
Well, since I use Windows pix_share_write and read don't work, but I
guess I could do the same without those objects.
Yes, this is one approach. I was looking for another approach that
wouldn't involve taking snapshots of the scene and adding
Matteo Sisti Sette escribió:
A) Use several [rectangle]s on a plane, get a snapshot of the
framebuffer and put it into a texture
B) manipulate the camera input as pix, or as texture, and compose a
bigger pix, so only at the very end, for displaying, you would use a
rectangle
?
H I
Send us the patch ! ;)
++
Jack
Le dimanche 29 novembre 2009 à 02:01 +0100, Matteo Sisti Sette a écrit :
Ohhh, ok!!!
[env ( is the way the texture blends with the color of the survace (i.e.
the one set by [color])!!!
That's useless to my purpose: by blending mode I meant the way the
14 matches
Mail list logo