[GEM-dev] glsl and texture

cyrille henry cyrille.henry at la-kitchen.fr
Tue Aug 29 18:16:21 CEST 2006


hello,

james tittle a écrit :
> On Aug 26, 2006, at 1:40 PM, cyrille henry wrote:
> 
>> hello,
>> it's working!
> 
> ...cool...
> 
>> moreover, i'm happy to see you're felling well.
> 
> ...I wouldn't yet say "well", but I'm on the mend ;-)
i wish you the best in your recovery

> 
>> it was a pix_image / pix_texture position problem.
>>
>> i think i'll have some examples to share in a few day...
>>
>> just a question : is it possible to use 2 textures?
>> (using 2 pix_image / pix_texture in the same gemchain?)
> 
> ...yes, but you have to have loaded them previously with [pix_texture], 
> then use [pix_multitexture], and assign the texID's to the particular 
> multitexture (up to 8)...this works, but is not as straight forward 
> patching-wise as I'd like, so [pix_multitexture] should definitely be 
> viewed as a work in progress...

hum.
i can't make it work.
attachement is the patch i try.
it's certanly stupid, like last time, but can't find why.

> 
> ...you can also use [gemframebuffer] at the top of a chain to do 
> "offscreen" rendering, then use the results in a later gemchain with 
> [pix_multitexture]...
wow, that could be cool.
but can't make it work to.
example would be nice.

thanks
Cyrille

> 
> more l8r,
> jamie
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_multit.vert
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20060829/09bef3dc/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_multit.frag
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20060829/09bef3dc/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glsl_multitexture.pd
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20060829/09bef3dc/attachment-0001.asc>


More information about the GEM-dev mailing list