Thanks for your enthusiasm Chuck
I was thinking about something like this. The tutorial made by johannes m zmölnig (http://iem.at/pd/externals-HOWTO/ ) seems explicit enough But I wanted to be sure that it does not exist first. I try to avoid reinventing the wheeel (although mine will be rounder than what already exists ;-)
I am just amazed that there is no (not yet?) such thing as Perlin noise in PD. It could be useful to add some correlated variations of user input and be the source of various effects. I used to link to libnoise for some DemoGL applications (a framework to develop OpenGL appications in C++ http://www.sd.nl/demogl/) If it sounds as good as it looks there must be interesting things to do.
I'll let you know
Renaud
-----Original Message----- From: Charles Henry [mailto:czhenry@gmail.com] Sent: 13 November 2006 18:05 To: renaud.herne@belgacom.be Subject: Re: [PD] Pure coherent noise (Perlin noise)
Hey, Renaud, If you've got libnoise, then you might as well build a pd external, which is a kind of "wrapper" where you can supply arguments to your functions, and include methods for changing the arguments in real time. It's not hard, although the first one (external) usually is hard to understand. See IOHannes' Howto build an external documentation first off. Then, simply "rip off" pan~ and supply your own code to the perform routine, change the name, include your library headers, change the makefile to include your library, and you're off and running. To understand more functionality of making a pd external, read through m_pd.h--all of the Pd-specific functions you can use in an external are there for you. There are also many "tiny" details you will need to learn to get just what you want. Good luck, and feel free to ask any questions. There was a previous post regarding Perlin noise, although I don't think it was resolved. Search the Pd-list archives to find out more.
Chuck
On 11/13/06, renaud.herne@belgacom.be renaud.herne@belgacom.be wrote:
Hello,
Do someone know if there is a class that generates coherent (Perlin) noise in Pure Data? OK, I could build it myself by interpolating random numbers or linking to libnoise but if it already exists... Thank you
Renaud
**** DISCLAIMER **** http://www.belgacom.be/maildisclaimer
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
**** DISCLAIMER **** http://www.belgacom.be/maildisclaimer
On Nov 14, 2006, at 10:11 AM, renaud.herne@belgacom.be wrote:
I am just amazed that there is no (not yet?) such thing as Perlin
noise in PD. It could be useful to add some correlated variations of user input
and be the source of various effects. I used to link to libnoise for some DemoGL applications (a
framework to develop OpenGL appications in C++ http://www.sd.nl/ demogl/) If it sounds as good as it looks there must be interesting things
to do.
...there is a pix_perlin in Gem, at least on my harddrive ;-) When
banged, it produces a noise texture of some requested
dimensions...I've always wanted to go ahead and make a [perlin~] or
just a control [perlin], but haven't gotten around to it...
...btw, didn't use libnoise, just adapted some of the many variations
of perlin.c out in the wild...
jamie