[PD] RE : problem with pdgst
hi, gnomevfssrc works fine for me with photojpeg stream i just need to do : [location=location= http://discontrol:discontrol@192.168.1.21/cgi-bin/cmd/system?GET_STREAM( | [gnomevfssrc] | [jpegdec] | [ffmpegcolorspace] | [pix_gst2gem] do you have the same error on all locations ? i'm using gnomevfssrc v.10.0.34 cheers a. -- Message: 1 Date: Wed, 15 Jun 2011 17:17:16 +0200 From: Jack j...@rybn.org Subject: [PD] problem with pdgst To: pd-list@iem.at Message-ID: 1308151036.2055.14.camel@jack-laptop Content-Type: text/plain; charset=utf-8 I can play a stream without problem with gstreamer and the command line : $ gst-launch-0.10 gnomevfssrc location=http://... ! qtdemux ! ffdec_h264 ! ffmpegcolorspace ! xvimagesink But using pdgst with : [location http://...( | [gnomevfssrc] | [qtdemux] | [ffdec_h264] | [ffmpegcolorspace] | [pix_gst2pix rgba] It doesn't work. I get in the pd console : verbose( 0):setting property 'location' GEM: Direct Rendering enabled! GEM: GLEW version 1.5.4 GEM: Start rendering info:gst2pix: stream_status 0 gnomevfssrc1 info:gst2pix: stream_status 0 gnomevfssrc1 info:gst2pix: stream_status 1 gnomevfssrc1 info:gst2pix: stream_status 1 gnomevfssrc1 error: [gnomevfssrc]: Impossible d'ouvrir la ressource en lecture. error: [gnomevfssrc]: gstgnomevfssrc.c(868): gst_gnome_vfs_src_start (): /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc2: No filename given error: [gnomevfssrc]: Impossible d'ouvrir la ressource en lecture. error: [gnomevfssrc]: gstgnomevfssrc.c(868): gst_gnome_vfs_src_start (): /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc2: No filename given I am sure the filename is given with the [location( message. Here my configuration : Pd 0.42.5 GEM: ver: 0.93.SVN rev3952M GEM: compiled: May 1 2011 pdgst $Revision: 0.0 $ (copyleft) IOhannes m zmoelnig @ IEM / KUG compiled on Jun 15 2011 at 16:58:09 compiled against Pd version 0.42.5. I miss something ? Any help would be appreciated. Thanx. ++ Jack -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: http://lists.puredata.info/pipermail/pd-list/attachments/20110615/fdedb4d6/attachment-0001.pgp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] file/print function?
Hi, I was using the file/print function [not the print class] last week, and ran into some issues. Does anyone use this function regularly? My system is XP with pd-ext 0.42, or pd-van 0.43 (I think there's no change between versions). All versions save the file with no problems. But, on windows, the file can't be opened by any program: Gimp, Inkscape, Acrobat, ... But in Ubuntu (same Pd versions) the file created has no problems. I also have the following suggestions: - printed surface: print only prints the visible canvas area. Which is not good, if you have a big patch (or in my case, a data structure score of around 22 A4 pages, canvas size of ~1 points). I tried editing the patch with a text editor to make the canvas size bigger, but it didn't help. I would suggest to either to make the whole canvas exportable by default (independently of what's visible in the window), or an option to either keep it as it is, or export the whole canvas. - a couple more print formats would also be nice, if that's not complicated. For example: - direct to the installed printer (might assume an new print settings window, etc, a bit complicated) - tiff or png Best, João Pais ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] file/print function?
A small update: apparently I can't import the .ps files to gimp in windows due to a ghostscript error. These files do open in ubuntu (also in gimp). They also open on Inkscape in ubuntu, so the problem might be in the windows installation of these 2 programs. Nevertheless, I leave the other suggestions for the print function. João Hi, I was using the file/print function [not the print class] last week, and ran into some issues. Does anyone use this function regularly? My system is XP with pd-ext 0.42, or pd-van 0.43 (I think there's no change between versions). All versions save the file with no problems. But, on windows, the file can't be opened by any program: Gimp, Inkscape, Acrobat, ... But in Ubuntu (same Pd versions) the file created has no problems. I also have the following suggestions: - printed surface: print only prints the visible canvas area. Which is not good, if you have a big patch (or in my case, a data structure score of around 22 A4 pages, canvas size of ~1 points). I tried editing the patch with a text editor to make the canvas size bigger, but it didn't help. I would suggest to either to make the whole canvas exportable by default (independently of what's visible in the window), or an option to either keep it as it is, or export the whole canvas. - a couple more print formats would also be nice, if that's not complicated. For example: - direct to the installed printer (might assume an new print settings window, etc, a bit complicated) - tiff or png Best, João Pais ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] export from gem
hello, pix_write works, i juste test it. the gemhead connected to pix write should be rendering after rendering the primitive... if you wish higher resolution, you can render in a big frambuffer, and snapshot this frambuffer. c Le 16/06/2011 12:13, Max a écrit : any ideas how to export this other than a screenshot, possibly with a higher resolution? pix_write doesn't see the object at all(!?). m. Am 05.06.2011 um 18:54 schrieb Max: now with 2 axis control sineXY-glsl.zip Am 05.06.2011 um 18:41 schrieb Pedro Lopes: Just tested it, and it looks pretty cool in GEM. On Sun, Jun 5, 2011 at 5:13 PM, Maxabonneme...@revolwear.com wrote: hi jack, that's great fun, i've modified it a bit: Am 03.06.2011 um 18:06 schrieb Jack: Hello Max, Have a look at this patch and shaders. ++ Jack Le vendredi 03 juin 2011 à 17:21 +0200, Max a écrit : dear list, i've been trying to make a 3d sine wave like on this image: http://lh4.ggpht.com/mihir3445/SBHWmG4KGxI/AxY/I0XfllImW98/%5BUNSET%5D.png in gem, ideally interactive that might become the CI for the PdCon, any help is appreciated. max ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list maxWaves.zip ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes (HCI Researcher / MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] (GEM) Getting the z-buffer value of a pixel in a rendered image
Le jeudi 16 juin 2011 à 14:21 +0200, Jack a écrit : It is possible to use shader to define the z-buffer. What i mean is not z-buffer but depth of a vertex. ++ Jack gl_ModelViewMatrix * gl_Vertex gives the eye coordinate position of each vertex (it is what we need here to define the depth of each vertex). See example attached. You can change this example to apply the depth to alpha channel. ++ Jack Le mercredi 15 juin 2011 à 17:09 -0400, Mathieu Bouchard a écrit : On Fri, 10 Jun 2011, Matteo Sisti Sette wrote: Is there a way in GEM to take a snapshot of a rendered scene (such as with pix_snap) and save the z-buffer information, for example saving it as an extra channel? (e.g. have the z value saved as the alpha channel)? I'm interested in getting an image of the scene as it would appear if it was captured by a depth sensor like a Kinect... How many bits do you expect the z-buffer to be, and how can that possibly fit in any GEM pix structure ? AFAIK, only GridFlow, PDP and iemmatrix are equipped to handle that data. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ 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 signature.asc Description: This is a digitally signed message part ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] export from gem
Hello Max, I have make an abstraction recently (absCaptureHD) to save a scene in high resolution (using pix_writer). Have a look in your recent e-mail. ++ Jack Le jeudi 16 juin 2011 à 15:00 +0200, cyrille henry a écrit : hello, pix_write works, i juste test it. the gemhead connected to pix write should be rendering after rendering the primitive... if you wish higher resolution, you can render in a big frambuffer, and snapshot this frambuffer. c Le 16/06/2011 12:13, Max a écrit : any ideas how to export this other than a screenshot, possibly with a higher resolution? pix_write doesn't see the object at all(!?). m. Am 05.06.2011 um 18:54 schrieb Max: now with 2 axis control sineXY-glsl.zip Am 05.06.2011 um 18:41 schrieb Pedro Lopes: Just tested it, and it looks pretty cool in GEM. On Sun, Jun 5, 2011 at 5:13 PM, Maxabonneme...@revolwear.com wrote: hi jack, that's great fun, i've modified it a bit: Am 03.06.2011 um 18:06 schrieb Jack: Hello Max, Have a look at this patch and shaders. ++ Jack Le vendredi 03 juin 2011 à 17:21 +0200, Max a écrit : dear list, i've been trying to make a 3d sine wave like on this image: http://lh4.ggpht.com/mihir3445/SBHWmG4KGxI/AxY/I0XfllImW98/%5BUNSET%5D.png in gem, ideally interactive that might become the CI for the PdCon, any help is appreciated. max ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list maxWaves.zip ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes (HCI Researcher / MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list signature.asc Description: This is a digitally signed message part ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] converting accelerometer gyro to positive values
Hi I am still fooling around with rjdj and I was wondering what way people are using to turn r #acceleromter r #gyro to positive values. I usually use a mccallum abstraction d-scale for stuff like this but I am not sure it will work with vanilla/rjlib, so I am wondering what others may suggest. cheers~ PT ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] RE : problem with pdgst
Le jeudi 16 juin 2011 à 12:34 +0200, Antoine Villeret a écrit : hi, gnomevfssrc works fine for me with photojpeg stream i just need to do : [location=location=http://discontrol:discontrol@192.168.1.21/cgi-bin/cmd/system?GET_STREAM( [location http://discontrol:discontrol@192.168.1.21/cgi-bin/cmd/system?GET_STREAM( is the good format for this message. Thanx anyway, I don't know why but it is working today ! ++ Jack | [gnomevfssrc] | [jpegdec] | [ffmpegcolorspace] | [pix_gst2gem] do you have the same error on all locations ? i'm using gnomevfssrc v.10.0.34 cheers a. -- Message: 1 Date: Wed, 15 Jun 2011 17:17:16 +0200 From: Jack j...@rybn.org Subject: [PD] problem with pdgst To: pd-list@iem.at Message-ID: 1308151036.2055.14.camel@jack-laptop Content-Type: text/plain; charset=utf-8 I can play a stream without problem with gstreamer and the command line : $ gst-launch-0.10 gnomevfssrc location=http://... ! qtdemux ! ffdec_h264 ! ffmpegcolorspace ! xvimagesink But using pdgst with : [location http://...( | [gnomevfssrc] | [qtdemux] | [ffdec_h264] | [ffmpegcolorspace] | [pix_gst2pix rgba] It doesn't work. I get in the pd console : verbose( 0):setting property 'location' GEM: Direct Rendering enabled! GEM: GLEW version 1.5.4 GEM: Start rendering info:gst2pix: stream_status 0 gnomevfssrc1 info:gst2pix: stream_status 0 gnomevfssrc1 info:gst2pix: stream_status 1 gnomevfssrc1 info:gst2pix: stream_status 1 gnomevfssrc1 error: [gnomevfssrc]: Impossible d'ouvrir la ressource en lecture. error: [gnomevfssrc]: gstgnomevfssrc.c(868): gst_gnome_vfs_src_start (): /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc2: No filename given error: [gnomevfssrc]: Impossible d'ouvrir la ressource en lecture. error: [gnomevfssrc]: gstgnomevfssrc.c(868): gst_gnome_vfs_src_start (): /GstPipeline:pipeline0/GstGnomeVFSSrc:gnomevfssrc2: No filename given I am sure the filename is given with the [location( message. Here my configuration : Pd 0.42.5 GEM: ver: 0.93.SVN rev3952M GEM: compiled: May 1 2011 pdgst $Revision: 0.0 $ (copyleft) IOhannes m zmoelnig @ IEM / KUG compiled on Jun 15 2011 at 16:58:09 compiled against Pd version 0.42.5. I miss something ? Any help would be appreciated. Thanx. ++ Jack -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part URL: http://lists.puredata.info/pipermail/pd-list/attachments/20110615/fdedb4d6/attachment-0001.pgp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list signature.asc Description: This is a digitally signed message part ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sceneplayer rjdj examples: OT
Oh just the overclocking stuff is reminiscent of those days for me. I remember it took a week to get a modem to work back then on redhat5 The xda-developers forum is bursting with talented folks, we should recruit a few for pd-android! pp On 6/15/11 3:28 PM, Mathieu Bouchard ma...@artengine.ca wrote: On Sat, 11 Jun 2011, Pagano, Patrick wrote: Are there any other Xoom pd-ers out there in Pure Data land? I just rooted my Motorola Xoom and overclocked it from 1GHZ to 1.7, I installed a special kernel and got the blessed sdcard to work as well as usb support I feel like it's 1995 all over again, heh. In 1995, the highest clock there was for PCs, was about 100 MHz, perhaps 150. There was also the DEC Alpha running at 233, which was pretty much the max. So, what's the link between 1700 MHz and 1995 ? (not to mention USB support...) ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [GEM-dev] videoIO compilation error
Thanx Antoine, your method works fine ;) ++ Jack Le mardi 14 juin 2011 à 18:37 +0200, Antoine Villeret a écrit : Hi jack, for me, I can change the location property of gnomevfssrc but I have to stop AND bang pdgst before changing the location the bang is necessary to kill the window after stoping the pipeline best antoine -- do it yourself http://antoine.villeret.free.fr http://drii.ensad.fr -- Google lit ce mail... si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr pour me contacter 2011/5/30 Jack j...@rybn.org Le lundi 30 mai 2011 à 16:10 +0200, Antoine Villeret a écrit : thanks IOhannes ! concerning pdgst, could it work ? and should i send you some bug report or is it also almost dead ? No, i think it is not dead. It is not perfect but it works fine in most cases. For example, one of the problem i have, i can't load an other video from a stream with the message [location(. ++ Jack regarding filmGMERLIN plugin, i'll try it and thanks for all, you're the man ! cheers antoine -- do it yourself http://antoine.villeret.free.fr http://drii.ensad.fr -- Google lit ce mail... si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr pour me contacter 2011/5/30 IOhannes m zmoelnig zmoel...@iem.at -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ]On 2011-05-30 11:37, Antoine Villeret wrote: hi, humhum ok... I need to read and write video stream from Gem, videoIO appeared to be a good solution when it was alive... well, yes and no. i don't think videoIO was ever in a state that could accomplish this. is there a Gem plugins with which I can read/write HTTP and RTSP streams ? afaic, you should be able to _read_ rtsp/http streams using the gmerlin-avdec backend of [pix_film] (yes, that's [pix_film] rather than [pix_video]; gmerlin-avdec is a generic video decoding framework targeted mostly at video-file playback but which can also do some networking) however, there is currently no direct way to _write_ these streams. i also saw your pdgst which seems to be buggy... buggy is a bit generic. so is there a solution (on Ubuntu 10.4) ? dunno about the inclusion state of gmerlin-avdecoder in ubuntu-10.4; it's definitely in current debian/wheezy, so it should hit ubuntu at some point. anyhow, this is what i would do: - - read the streams using [pix_film] - - write the streams to a pipe using [pix_record] and a v4l2loopback device; you will need the v4l2loopback kernel modules, which are available in ubuntu starting with natty, or directly get them from http://github.com/umlaeute/v4l2loopback/) you will also need a recent enough version of Gem (that is: current SVN) that has support for writing to v4l2-loopbacks in [pix_record] - - send the stream using GStreamer (grabbing the v4l2 loopback source and using whatever technology gstreamer offers to broadcast the stream) (you could also do v4l1 loopback using the vloopback driver and [pix_record]'s v4l1 writing capabilities; however v4l1 is considered dead, so i'd use v4l2) fgamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG
Re: [PD] (GEM) Getting the z-buffer value of a pixel in a rendered image
2011/6/16 Jack j...@rybn.org: Le jeudi 16 juin 2011 à 14:21 +0200, Jack a écrit : It is possible to use shader to define the z-buffer. What i mean is not z-buffer but depth of a vertex. Yeah that's exactly what I was looking for. I thought that depth was what is saved in the z-buffer. My understanding of OpenGL is quite poor... Thank you very much m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pduino test patch: old analog/digital controls
eo as i mentioned in my previous post the enabling of the analogIns was also somehow confusing for me, though now i found out it's all in the arduino-help.pd by Gerda Strobl and Georg Holzmann! in the last subpatch [pd SWITCHING-INPUTS] you'll find the apropriate messages. i don't know why this is commented with (optional) but maybe this - also due to this thread - should be placed more prominent within the help-patch. as mentioned by roman we're currently doing some improvements on the whole pduino dingdongs i'll try to find a solution - suggestions are welcome. i guess it's a firmata peculiarity that you've explicit have to enable the analog pins as in arduino they are enabled by default - but correct me if i'm wrong. hth ø ej hans all the best for your genealogical tree extension!! On 06/14/2011 04:51 PM, Ingo wrote: The exact same thing that Matteo mentioned about the old analogue method is happening here, too. Tested with Diecimila and Duemilanove. I was also using the test patch as a starting patch. My workaraound was simply to use the old method (after for searching for quite some time). I need to find the other problem with the digital Ins 1+2 giving wrong values will first. I will post a patch to reproduce it asap but it might take a couple of days to look for it. I had a workaround for it already but I do not know if this workaround could still be applied with other boards like the mega. As far as I remember it was a problem of the firmata sending wrong data rather than the pd patch doing something wrong. Ingo -Ursprüngliche Nachricht- Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von Matteo Sisti Sette Gesendet: Dienstag, 14. Juni 2011 16:26 An: Roman Haefeli Cc: 'PD List' Betreff: Re: [PD] pduino test patch: old analog/digital controls On 06/13/2011 09:09 PM, Roman Haefeli wrote: @Ingo and Matteo I'm also quite interested in having the [arduino] working properly. I didn't find any bugs recently, though. However, if you provide a step-by-step guide about how to reproduce a problem, I (and probably Olsen also) might be able to help, Ok, the problem is that in my case I'm not sure whether I'm experiencing an issue, an incorrectness in the test patch, or just my lack of knowledge of how it is _expected_ to behave. With both old and new versions of the StandardFirmata firmware the following message enables analog input from pin A0 (i.e. pin 14): analogIns 0 1 (0 means A0 and 1 means on) But in the test patch this is enclosed in a subpatch calles old analog/digital controls so is it supposed to be obsolete? The only other way I've seemed to find to enable input from analog pin A0 is: pinMode 14 analog which seems to be the suggested way in the test patch (offered with the pink grid on the upper-right part of the patch), but this only works with OLD versions of StandardFirmata. So it looks like either: a. there is a third, current, non-obsolete, recommended way of doing that which I don't know b. the suggested way is the old one and the one documented as old is actually the new one (but I don't think so, that's not what Chris said) c. something isn't working right The same happens with both Arduino 2009 (with the StandardFirmata sketch) and with an Arduino UNO (with the StandardFirmata_2_2_for_UNO_0_3). Both sketches are those that ship with the latest package of the Arduino IDE for Debian sid. The older StandardFirmata sketch where the pinMode N analog message worked were taken from an older version of the arduino package for Ubuntu from the official repository, but I don't remember the version number. ___ 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 -- ETs DNA will not be televised http://hasa-labs.org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] zip archives
can PD access files that are found in a ZIP archive? if so.. HOW? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] zip archives
ialwaysResolveStuffTheEasyWay Are you on UNIX? You can do it all via shell commands. /ialwaysResolveStuffTheEasyWay Probably there is a fancier way, but I don't know. On Thu, Jun 16, 2011 at 7:59 PM, Cody Loyd codyl...@gmail.com wrote: can PD access files that are found in a ZIP archive? if so.. HOW? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes (HCI Researcher / MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] zip archives
On Thu, 16 Jun 2011, Cody Loyd wrote: can PD access files that are found in a ZIP archive? if so.. HOW? You can use a webpage such as http://en.wikipedia.org/wiki/ZIP_%28file_format%29 to figure out what you need to do to access the files that you want. This only tells you how to read directories and access the file data as-is. It's easy as long as the data is not compressed. JAR files, for examples, are ZIP files in which compression is disabled. This makes them easier to read. If you need to decode Deflated files (normal ZIP2 compression used in ZIP files since 1993), that's much harder, but I think that it is something supported by zlib (or else it's very close to be supported by zlib). For non-compressed zip archives, you may be able to do it all in Pd using either GridFlow's [#in grid, headerless] or using Martin Peach's file-reading tools, together with the usual Pd toolset ([sel], [moses], etc). For compressed data, the easiest might be to use Shell-commands with either a shell-oriented PKUNZIP.EXE (Windows), or else using InfoZip's /usr/bin/unzip command (Linux or OSX). I don't know of a direct Pd interface to zlib (alias libz). ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] gem window state
Hi list, is there a way to get the gem window state (ie created or destroyed / open or closed) in a message? Sending a print message to gemwin only outputs to the console... James ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] export from gem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi jack, that's a useful abstraction, however in this specific scene it renders black only if i put it right after the gemhead. where's the catch? Am 16.06.2011 um 15:15 schrieb Jack: Hello Max, I have make an abstraction recently (absCaptureHD) to save a scene in high resolution (using pix_writer). Have a look in your recent e-mail. ++ Jack Le jeudi 16 juin 2011 à 15:00 +0200, cyrille henry a écrit : hello, pix_write works, i juste test it. the gemhead connected to pix write should be rendering after rendering the primitive... if you wish higher resolution, you can render in a big frambuffer, and snapshot this frambuffer. c Le 16/06/2011 12:13, Max a écrit : any ideas how to export this other than a screenshot, possibly with a higher resolution? pix_write doesn't see the object at all(!?). m. Am 05.06.2011 um 18:54 schrieb Max: now with 2 axis control sineXY-glsl.zip Am 05.06.2011 um 18:41 schrieb Pedro Lopes: Just tested it, and it looks pretty cool in GEM. On Sun, Jun 5, 2011 at 5:13 PM, Maxabonneme...@revolwear.com wrote: hi jack, that's great fun, i've modified it a bit: Am 03.06.2011 um 18:06 schrieb Jack: Hello Max, Have a look at this patch and shaders. ++ Jack Le vendredi 03 juin 2011 à 17:21 +0200, Max a écrit : dear list, i've been trying to make a 3d sine wave like on this image: http://lh4.ggpht.com/mihir3445/SBHWmG4KGxI/AxY/I0XfllImW98/%5BUNSET%5D.png in gem, ideally interactive that might become the CI for the PdCon, any help is appreciated. max ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list maxWaves.zip ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes (HCI Researcher / MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEUEARECAAYFAk36aAwACgkQ3EB7kzgMM6Kk2wCXXFKMMV/E9x4IaP3c9q5t8nqR 6gCfUINqVxyBZnn2HpkVyoNTLdaZAvE= =k6YW -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gem window state
gemhead route gem_state route float c Le 16/06/2011 22:21, James Dunn a écrit : Hi list, is there a way to get the gem window state (ie created or destroyed / open or closed) in a message? Sending a print message to gemwin only outputs to the console... James ___ 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] export from gem
On Thu, 16 Jun 2011, Max wrote: that's a useful abstraction, however in this specific scene it renders black only if i put it right after the gemhead. where's the catch? BTW, you need to have proper priority for this operation, using either [t a a] or a numbered [gemhead] so that [pix_snap] snaps *after* the rendering is done. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] export from gem (was: 3d sinewave)
On Thu, 16 Jun 2011, Max wrote: any ideas how to export this other than a screenshot, possibly with a higher resolution? pix_write doesn't see the object at all(!?). Use automated screenshots using [pix_snap]. Otherwise, the pix-buffer will not contain anything done with OpenGL. GEM has quite separate sections for pix and OpenGL. [pix_texture] is the connection between the two in one direction, and [pix_snap] is the connection between the two in the other direction. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pduino test patch: old analog/digital controls
On 06/16/2011 05:44 PM, olsen wrote: it's all in the arduino-help.pd by Gerda Strobl and Georg Holzmann! Which one??? Not the one that is distributed together with [arduino] and [arduino-test] at http://at.or.at/hans/pd/objects.html, right? in the last subpatch [pd SWITCHING-INPUTS] you'll find the apropriate messages. There I find the same analogIns messages that are supposed to be the old ones (but are the only ones I've found that work for analog pins with the latest version of Firmata) i don't know why this is commented with (optional) I must have another version of the help patch, as I don't see such a comment How are the messages you're talking about? i guess it's a firmata peculiarity that you've explicit have to enable the analog pins as in arduino they are enabled by default - but correct me if i'm wrong. Yes, I guess what you have to explicitly enable is to have the firmware _send_ the values to the computer. It would be undesirable to have a constant flood of values of all pins whether you use them or not. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] export from gem
On Thu, 16 Jun 2011, Mathieu Bouchard wrote: On Thu, 16 Jun 2011, Max wrote: that's a useful abstraction, however in this specific scene it renders black only if i put it right after the gemhead. where's the catch? BTW, you need to have proper priority for this operation, using either [t a a] or a numbered [gemhead] so that [pix_snap] snaps *after* the rendering is done. http://gridflow.ca/gallery/lena_relief_1.avi is an example of screenshotting a GEM window and displaying it in the patch window. You can see the [gemhead] [pix_snap] stuff in it. The big difference with what you will do, is that I used GF for most of the rest (video writing, etc). ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] export from gem
Yes, put a [t a a] or [t a a a a a a ...] after [absCaptureHD] to 'set in order' your scene you want to capture. As Mathieu says, you have to render the scene before you capture it. Tell me if you still have a problem. Send your patch to have a look. ++ Jack Le jeudi 16 juin 2011 à 18:20 -0400, Mathieu Bouchard a écrit : On Thu, 16 Jun 2011, Max wrote: that's a useful abstraction, however in this specific scene it renders black only if i put it right after the gemhead. where's the catch? BTW, you need to have proper priority for this operation, using either [t a a] or a numbered [gemhead] so that [pix_snap] snaps *after* the rendering is done. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC signature.asc Description: This is a digitally signed message part ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list