All Apple sample code is licensed for you to use and redistribute.

Here's the license:

/* IMPORTANT: This Apple software is supplied to you by Apple Computer,
Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this Apple software constitutes acceptance of these terms. If you do not agree with these terms, please do not use, install, modify or redistribute this Apple
 software.

In consideration of your agreement to abide by the following terms, and
 subject to these terms, Apple grants you a personal, non-exclusive
 license, under Apple's copyrights in this original Apple software (the
"Apple Software"), to use, reproduce, modify and redistribute the Apple Software, with or without modifications, in source and/or binary forms; provided that if you redistribute the Apple Software in its entirety and without modifications, you must retain this notice and the following text
 and disclaimers in all such redistributions of the Apple Software.
Neither the name, trademarks, service marks or logos of Apple Computer,
 Inc. may be used to endorse or promote products derived from the Apple
Software without specific prior written permission from Apple. Except as expressly stated in this notice, no other rights or licenses, express or
 implied, are granted by Apple herein, including but not limited to any
patent rights that may be infringed by your derivative works or by other
 works in which the Apple Software may be incorporated.

The Apple Software is provided by Apple on an "AS IS" basis. APPLE MAKES
 NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE
IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION
 ALONE OR IN COMBINATION WITH YOUR PRODUCTS.

IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED AND
 WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT
LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY
 OF SUCH DAMAGE. */


On Sep 3, 2009, at 2:02 AM, Steven Watkins wrote:

Hello,

Thanks very much to you and Troy for enabling me to find this stuff - Snow was the example I was after.

Im very impressed with the performance of the sample CL particle system. This stuff is perfect for me as I am not good enough to code such things from scratch, but when I look at the code I can understand it & butcher it for my own purposes!

Ive already had fun splicing the Snow sample with the default music visualisation template.

This leads me to ask a silly question - Will I be shot if I distribute compositions that contain the particle openCL code from the snow sample? If so then I need someone to recreate similar functionality but in a way that can be freely distributed by myself and others. Any takers? I have some money I could throw someones way for doing this, but its not a huge amount (equivalent of about £100) so Im not sure if there will be any takers or whether this offer may appear insulting.

Cheers

SteveW

On 31 Aug 2009, at 23:04, Steve Mokris wrote:

Currently, the only WWDC 09 sample posted is called "Snow". I did not see it earlier either because searching for [snow] shows you all samples updated for Snow Leopard, and searching [Quartz Composer] does not show it either. You need to do a query for [quartz] and then scan that page for a sample called "Snow". This will be a good example of generating points using JavaScript and feeding them into OpenCL to power a particle system.

Here's a direct link:
        http://developer.apple.com/mac/library/samplecode/Snow/index.html

There's also a demo of the new Interaction functionality (first presented at WWDC 2008) :
        http://developer.apple.com/mac/library/samplecode/Interaction/index.html

Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/steve%40dvmachine.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%40apple.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to