Developer Code Sample

QC Dev OpenCL examples in 10.6.2?

photonal's picture

I've been trying out the developer QC OpenCL examples and a few of them don't seem to work in 10.6.2. (For example, Pages Jiggle and Wind Tunnel)

Can anyone confirm this; Do they only work in 10.6.1 or earlier?

Wind Tunnel crashes (I sent the crash report to Apple):

Process: Quartz Composer [304] Path: /Developer/Applications/Quartz Composer.app/Contents/MacOS/Quartz Composer Identifier: com.apple.QuartzComposer.editor Version: 4.0 (103.1) Build Info: QuartzComposerEditor-1030100~1 Code Type: X86-64 (Native) Parent Process: launchd [103]

Date/Time: 2009-11-19 15:39:11.154 +0100 OS Version: Mac OS X 10.6.2 (10C540) Report Version: 6

Interval Since Last Report: 23062 sec Crashes Since Last Report: 2 Per-App Interval Since Last Report: 3021 sec Per-App Crashes Since Last Report: 1 Anonymous UUID: EDE29307-ACC8-4A6A-9A65-B48E000B793B

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: 0x000000000000000d, 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 com.apple.CoreFoundation 0x00007fff888d4730 CFRetain + 112 ............................................................................. 46 ...apple.QuartzComposer.editor 0x0000000100001258 0x100000000 + 4696

AuroraElectro

cybero's picture

Quartz Crystal output of OpenCL dependent compositions

Been finding OpenCL created Meshes a little on / off and Console buggy, so no surprise that they sometimes fail to render reliably offline within Quartz Crystal.

No complaint, just an observation.

I have, however, found that reliable results in Quartz Crystal can be achieved with SL's .dae support, accompanied by some CI patches and Kineme Audio Tools.

I have made a Quartz Builder application that hosts this composition, which works quite well, but is still being proofed.

The video below shows the working audio-visual composition.

Currently still having some problems getting anything other than a white or transparent background in the Quartz Builder application.

It would be nice to achieve the same as this using Kineme 3D, but sadly it doesn't seem to like my .dae files much at all :-(.

{I shall have to try using other formats]

Maybe Particle Tools would do it too. [Problem here is that I am getting some older compositions, including source examples just not working quite right ]

Whatever, at present, at least for me, this is one of those either its an SL based solution or its a Leo based solution, along with quite a few other patches I could mention.

Update

Have managed to overcome the problem with Quartz Builder , although obviously enough the application will only work on 10.6.x.

However, anyone wanting to see what I've managed to make of Aurora as a QB application should go here - AuroraElectro_QB

Now - what about that OpenCL output in Quartz Crystal - the Aurora example always seemed to be jittery OpenCL wise, stopping and starting, but other example kernels run rather more smoothly, so I shall be experimenting with those & other examples in the meantime.