Re: [PD] A present
Nice Game :) I noticed (and appreciated) that you ended up using the code i suggested, but actually Jack´s sugestion looks more efficient and elegant ( with [max] ). One has to take every opportunity to learn ;) Happy hollidays to you and all the list Sílvio From: jbtur...@hotmail.com To: pd-list@iem.at Date: Fri, 25 Dec 2009 09:56:53 + Subject: [PD] A present Hey all you pd people I've decided to sent out an open invitation to try a patch I've been working on, a little game, in fact. Its a work in progress so I'd love some feedback, but if you enjoy trying it out that'd be great. Andrew Have more than one Hotmail account? Link them together to easily access both. _ Obtenha 30 Emoticons grátis para o seu Windows Live Messenger http://www.livemessenger-emoticons.com/funfamily/pt-pt/___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to installing externals??
and *.d_fat in osx10.6 On Thu, Dec 24, 2009 at 2:04 PM, Hans-Christoph Steiner h...@at.or.at wrote: With Pd-extended, you just need to drop the externals (*.dll on Windows, *.pd_linux on GNU/Linux, or *.pd_darwin on Mac OS X) into the right folder, then they'll be available. You don't need to set any path. Here's where: http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files-with-pd-extended .hc On Dec 24, 2009, at 8:44 AM, cyrille henry wrote: hello, no, pd does not look in subfolder. put your file somwhere, start pd then file/path/ add your path than save all settings... what do you mean by converted to pd externals? do you have source that you need to compile? Cyrille saut...@web.de a écrit : Hi Cyrille, I tried to install wilib. All files from wiilib are on my machine, but diŽnt work, because it has to be convertet to PD externals. Do PD also searching in Subfloders, like MAX? Thanks, willi -Ursprüngliche Nachricht- Von: cyrille henry c...@chnry.net Gesendet: 24.12.09 17:12:45 An: saut...@web.de CC: pd-list@iem.at Betreff: Re: [PD] How to installing externals?? hello, this page look outdated : cvs is not used anymore. if you use pd extended, then you'll already have lot's of externals... what do you need to install? Cyrille saut...@web.de a écrit : Hallo an alle, PD 41.1 extended on MacOS 1.4. CVS client --- not Terminal ...?? Where to get and exact name? All operation described in tutorial How to installing externals (http://puredata.info/Members/jb/ext-doc#CVS)need this specific CVS programm? Thankx for help on Xmas - with time to check it out. willi ___ Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.! http://produkte.web.de/go/02/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list __ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list All information should be free. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR joliv...@ucsd.edu www.realidadvisual.org/jaimeoliver www-crca.ucsd.edu/ www.realidadvisual.org 858 750 0924 (cel) 858 202 1522 (home) 9168 Regents Rd. Apt. G La Jolla, CA 92037 USA ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to installing externals??
Quoting Jaime Oliver jaime.oliv...@gmail.com: and *.d_fat in osx10.6 since when does Pd-extended load .d_fat externals? fmgasdr IOhannes This message was sent using IMP, the Internet Messaging Program. binXshkAb3tIb.bin Description: Öffentlicher PGP-Schlüssel ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to installing externals??
I apologize for my ignorance but putting externals into the default folder under OS X never worked for me, neither under OS X.4 nor OS X.6. I just tried it again - copying the additional libs from '/anywhere' on my disk into /Library/Pd and taking them off my Preferences/Path makes them unavailable. I assume there is something else that the user needs to do that I am not aware of. I personally find the fftease stuff very useful, also the pdmtl lib. There are also some very nice things by Thomas Grill which are not included in the Pd-extended material. Best Jurgen On Dec 26, 2009, at 1:21 AM, Jaime Oliver wrote: and *.d_fat in osx10.6 On Thu, Dec 24, 2009 at 2:04 PM, Hans-Christoph Steiner h...@at.or.at wrote: With Pd-extended, you just need to drop the externals (*.dll on Windows, *.pd_linux on GNU/Linux, or *.pd_darwin on Mac OS X) into the right folder, then they'll be available. You don't need to set any path. Here's where: http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files-with-pd-extended .hc On Dec 24, 2009, at 8:44 AM, cyrille henry wrote: hello, no, pd does not look in subfolder. put your file somwhere, start pd then file/path/ add your path than save all settings... what do you mean by converted to pd externals? do you have source that you need to compile? Cyrille saut...@web.de a écrit : Hi Cyrille, I tried to install wilib. All files from wiilib are on my machine, but diŽnt work, because it has to be convertet to PD externals. Do PD also searching in Subfloders, like MAX? Thanks, willi -Ursprüngliche Nachricht- Von: cyrille henry c...@chnry.net Gesendet: 24.12.09 17:12:45 An: saut...@web.de CC: pd-list@iem.at Betreff: Re: [PD] How to installing externals?? hello, this page look outdated : cvs is not used anymore. if you use pd extended, then you'll already have lot's of externals... what do you need to install? Cyrille saut...@web.de a écrit : Hallo an alle, PD 41.1 extended on MacOS 1.4. CVS client --- not Terminal ...?? Where to get and exact name? All operation described in tutorial How to installing externals (http://puredata.info/Members/jb/ext-doc#CVS)need this specific CVS programm? Thankx for help on Xmas - with time to check it out. willi ___ Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.! http://produkte.web.de/go/02/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list __ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list All information should be free. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR joliv...@ucsd.edu www.realidadvisual.org/jaimeoliver www-crca.ucsd.edu/ www.realidadvisual.org 858 750 0924 (cel) 858 202 1522 (home) 9168 Regents Rd. Apt. G La Jolla, CA 92037 USA ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] A present
Hi, I still don't understand the game, but I can only move the snake within a very small rectangle (or square) approximately at the center of the screen. It disappears on one side and appears on the other one, but of a small square, and it looks like it is supposed to do the same on the whole window, or is that the expected behaviour? It seems impossible to avoid the red circle while being constrained within a small rectangle, but maybe I'm missing something... Apart from that, I get the error click~: couldn't create: is that an object of PD Extended, or an abstraction that is missing? Thank you for sharing the patch. I love games :) m. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] GEM: writing an arbitrary blend function (glsl)?
Hi, Short version: I was wondering if there is a way to write an arbitrary blending function in glsl. I see I can write the function that computes the texture's source color, which is then blended (or not) with the destination color (i.e. the background) using the blend function. But can I override the blending function with an arbitrary one written in glsl in some way? Long version: I have some rectangles with textures (most of which come from [pix_video]) that are being rendered over a background (which is another rectangle with a texture). I'm trying to have the front rectangleS (which could be indeed any objects) blend with the background in some of the most classical blending modes such as: add, multiply, subtract, difference. Also, it would be fine to experiment with arbitrary or more complex blending modes relatively simple to describe in terms of component-wise math operations with the source and destination colors. The blending mode is the same for all objects, i.e., I don't need to have some objects blend in a given mode and others in another mode (though now that I think about it, it shouldn't add much to the difficulty, but I don't need it). By using [gemGLBlendFunc] I have already been able to reproduce the add and multiply blending modes, by using appropriate source and destination blend factors. Now I've discovered the glBlendEquation which should permit me to obtain the subtract blending mode. But not difference which actually means the absolute value of the difference. (also I'm not sure whether I can use glBlendEquation since it requires arb imaging which I don't know what it is) So, I was thinking to use glsl, with which I am not very skilled to use a generous euphemism, but this thing I'm trying to do sounds pretty simple. I've already played around with the examples (namely example 05.multitexture) and managed to mix two textures with any desired blending function. But what I want to do is not blend 2 textures, it is blend the single texture with whatever is behind. Basically, in the mentioned example you compute a resulting gl_FracColor which is what is called the source color. Then the source color is blended with the destination color (the background) with a blending function determined by glBlendFunction, while I would like to write an alternative blend function which combines source color and destination color the way I want to. Is it possible in glsl? Can anybody point me to some example code? By the way, I know I could use a gemframebuffer to obtain a texture from the scene, so that I can use the multitexture example to belnd the two textures, but I'd try to avoid this workaround if possible. Thanks in advance. Hope I have explained myself... -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM: writing an arbitrary blend function (glsl)?
Matteo Sisti Sette escribió: Basically, in the mentioned example you compute a resulting gl_FracColor which is what is called the source color. Well well, I am far from sure this is correct, this is just my understanding, and I don't even know whether for example lighting information is applied before or after this stage, but in the simplified case of a flat rectangle with no lighting, that becomes irrelevant... -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] A present
Andrew, the game is brilliant, and works flawlessly here. Your code is hella messy though. :P if the green circle is in the red circle, and you manage to keep your snake perfectly within the green circle, I think you should still accumulate points though, at the moment, you loose points You should post it in the forum when ready. Infact, the forum would love to have your GEM wisdom, if you don't already lurk around those areas. Thanks for the christmas present, and here is my (reply) xmas present for fellow students of the Sound Arts course at my university in Brighton: http://www.sendspace.com/file/6gizl5 Message: 7 Date: Fri, 25 Dec 2009 09:56:53 + From: Andrew Faraday jbtur...@hotmail.com Subject: [PD] A present To: pd-list@iem.at Message-ID: col120-w298580f4a2af64dc5a9e08de...@phx.gbl Content-Type: text/plain; charset=iso-8859-1 Hey all you pd people I've decided to sent out an open invitation to try a patch I've been working on, a little game, in fact. Its a work in progress so I'd love some feedback, but if you enjoy trying it out that'd be great. Andrew _ Add your Gmail and Yahoo! Mail email accounts into Hotmail - it's easy http://clk.atdmt.com/UKM/go/186394592/direct/01/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.puredata.info/pipermail/pd-list/attachments/20091225/22ffcae8/attachment.htm -- next part -- A non-text attachment was scrubbed... Name: snakey.pd Type: application/octet-stream Size: 72447 bytes Desc: not available URL: http://lists.puredata.info/pipermail/pd-list/attachments/20091225/22ffcae8/attachment.obj -- ___ Pd-list mailing list Pd-list@iem.at to manage your subscription (including un-subscription) see http://lists.puredata.info/listinfo/pd-list End of Pd-list Digest, Vol 57, Issue 98 *** ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] A present
Glad you like it, afrid. Yeah, I do treat my code like my bedroom, if I know where to find stuff then it doesn't bother me. Just like my room, I keep it tidy if it's on display, I didn't really think before sending this one off. I'll have to look into the arithmetic, but I think it is possible (with the smallest size at any rate) to keep the score level if you're dead centre of the green circle. I'm fairly sure both have a maximum score effect of three (ever 100 milliseconds). Anyway, that keeps you on your toes, if you can't always score. I don't use the forum, might check it out sometime. I'm not sure when this is going to be finished. Just for the record, what's your high score? Date: Fri, 25 Dec 2009 21:42:00 + From: arif...@gmail.com To: pd-list@iem.at Subject: Re: [PD] A present Andrew, the game is brilliant, and works flawlessly here. Your code is hella messy though. :P if the green circle is in the red circle, and you manage to keep your snake perfectly within the green circle, I think you should still accumulate points though, at the moment, you loose points You should post it in the forum when ready. Infact, the forum would love to have your GEM wisdom, if you don't already lurk around those areas. Thanks for the christmas present, and here is my (reply) xmas present for fellow students of the Sound Arts course at my university in Brighton: http://www.sendspace.com/file/6gizl5 Message: 7 Date: Fri, 25 Dec 2009 09:56:53 + From: Andrew Faraday jbtur...@hotmail.com Subject: [PD] A present To: pd-list@iem.at Message-ID: col120-w298580f4a2af64dc5a9e08de...@phx.gbl Content-Type: text/plain; charset=iso-8859-1 Hey all you pd people I've decided to sent out an open invitation to try a patch I've been working on, a little game, in fact. Its a work in progress so I'd love some feedback, but if you enjoy trying it out that'd be great. Andrew _ Add your Gmail and Yahoo! Mail email accounts into Hotmail - it's easy http://clk.atdmt.com/UKM/go/186394592/direct/01/ -- next part -- An HTML attachment was scrubbed... URL: http://lists.puredata.info/pipermail/pd-list/attachments/20091225/22ffcae8/attachment.htm -- next part -- A non-text attachment was scrubbed... Name: snakey.pd Type: application/octet-stream Size: 72447 bytes Desc: not available URL: http://lists.puredata.info/pipermail/pd-list/attachments/20091225/22ffcae8/attachment.obj -- ___ Pd-list mailing list Pd-list@iem.at to manage your subscription (including un-subscription) see http://lists.puredata.info/listinfo/pd-list End of Pd-list Digest, Vol 57, Issue 98 *** _ Use Hotmail to send and receive mail from your different email accounts http://clk.atdmt.com/UKM/go/186394592/direct/01/___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM: writing an arbitrary blend function (glsl)?
You can do arbitrary blend modes in PD with GLSL as you suspect. take a look at http://001.vade.info/?page_id=20 which has shaders for video mixers (a through a+b to b blending, not just a+b) with most photoshop blend modes. You can use them verbatim with PD (Marius Schebella has some patches I think). Feel free to use them as you wish, or hack them apart :) On Dec 25, 2009, at 3:07 PM, Matteo Sisti Sette wrote: Matteo Sisti Sette escribió: Basically, in the mentioned example you compute a resulting gl_FracColor which is what is called the source color. Well well, I am far from sure this is correct, this is just my understanding, and I don't even know whether for example lighting information is applied before or after this stage, but in the simplified case of a flat rectangle with no lighting, that becomes irrelevant... -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling pd vanilla problems on OS X 10.6 Snow Leopard
I hope someone can help me fix the last problem on this list, it is blocking me (libPdTcl.dylib wrong architecture). I can't see why it is detected as the wrong architecture, everything I check says it is i386 compatible. I did remove alot from the configure.in file trying to get it work, so maybe there is a problem there. It is attached. merry christmas, feliz navidad és boldog karácsonzyt (i think I may have barely missed it in my time)! - rich On Wed, Dec 23, 2009 at 4:44 AM, Rich E reakina...@gmail.com wrote: Hi, I am having problems compiling pd from Miller's website in OS X Snow Leopard. Basically, Pd fell behind Apple's updates. Here are my problems, fixes where I found them: - the configure script automatically adds -isysroot blah blah for the 10.4 sdk, which doesn't work. this line is removed. - the included portaudio (and more importantly, its coreaudio components) with pd does not match the coreaudio framework included with Snow Leopard. There are lots of deprecations and finally undeclared methods. I tried just updating the source code from that in portaudio's svn, but this led to further undefined calls that I don't remember. - using '-disable-portaudio' doesn't do any good because it is automatically added if you are on OS X (I wanted to just use jack since portaudio is outdated). - I had to remove all '-arch' flags except i386 to get everything linked. Okay, after that, it compiled. whew. Still, pd's gui will not run because libPdTcl.dylib either isn't found or is the wrong architecture, I still can't tell: $ pd -jack Error in startup script: dlopen(/usr/local/lib/pd/bin/../bin/libPdTcl.dylib, 10): no suitable image found. Did find: /usr/local/lib/pd/bin/../bin/libPdTcl.dylib: mach-o, but wrong architecture while executing load $pd_guidir/bin/libPdTcl.dylib invoked from within if {$pd_nt == 2} { # turn on James Tittle II's fast drawing set tk::mac::useCGDrawing 1 # anti-alias all lines that need it set tk::mac::CGAnt... (file /usr/local/lib/pd/bin/pd.tk line 67) ^CPd: signal 2 It is there, they are all i386 and tcl/tk are universal binaries, so I don't know. Anyone else? Running pd with no gui and jack works. regards, Rich configure.in Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to installing externals??
- Use Pd-extended 0.41.4 - .d_fat should be deprecated, use .pd_darwin for all arches on Mac OS X. .hc On Dec 25, 2009, at 10:53 AM, jurgen wrote: I apologize for my ignorance but putting externals into the default folder under OS X never worked for me, neither under OS X.4 nor OS X. 6. I just tried it again - copying the additional libs from '/ anywhere' on my disk into /Library/Pd and taking them off my Preferences/Path makes them unavailable. I assume there is something else that the user needs to do that I am not aware of. I personally find the fftease stuff very useful, also the pdmtl lib. There are also some very nice things by Thomas Grill which are not included in the Pd-extended material. Best Jurgen On Dec 26, 2009, at 1:21 AM, Jaime Oliver wrote: and *.d_fat in osx10.6 On Thu, Dec 24, 2009 at 2:04 PM, Hans-Christoph Steiner h...@at.or.at wrote: With Pd-extended, you just need to drop the externals (*.dll on Windows, *.pd_linux on GNU/Linux, or *.pd_darwin on Mac OS X) into the right folder, then they'll be available. You don't need to set any path. Here's where: http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files-with-pd-extended .hc On Dec 24, 2009, at 8:44 AM, cyrille henry wrote: hello, no, pd does not look in subfolder. put your file somwhere, start pd then file/path/ add your path than save all settings... what do you mean by converted to pd externals? do you have source that you need to compile? Cyrille saut...@web.de a écrit : Hi Cyrille, I tried to install wilib. All files from wiilib are on my machine, but diŽnt work, because it has to be convertet to PD externals. Do PD also searching in Subfloders, like MAX? Thanks, willi -Ursprüngliche Nachricht- Von: cyrille henry c...@chnry.net Gesendet: 24.12.09 17:12:45 An: saut...@web.de CC: pd-list@iem.at Betreff: Re: [PD] How to installing externals?? hello, this page look outdated : cvs is not used anymore. if you use pd extended, then you'll already have lot's of externals... what do you need to install? Cyrille saut...@web.de a écrit : Hallo an alle, PD 41.1 extended on MacOS 1.4. CVS client --- not Terminal ...?? Where to get and exact name? All operation described in tutorial How to installing externals (http://puredata.info/Members/jb/ext-doc#CVS)need this specific CVS programm? Thankx for help on Xmas - with time to check it out. willi ___ Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.! http://produkte.web.de/go/02/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list __ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list All information should be free. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR joliv...@ucsd.edu www.realidadvisual.org/jaimeoliver www-crca.ucsd.edu/ www.realidadvisual.org 858 750 0924 (cel) 858 202 1522 (home) 9168 Regents Rd. Apt. G La Jolla, CA 92037 USA ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list