Questions tagged [quartz-composer]

Quartz Composer is a node-based visual programming language freely available to registered Apple developers for realtime processing and rendering animated 2D and 3D graphics with JavaScript scripting.

Quartz Composer is a node-based visual programming language freely available to registered Apple developers for processing and rendering animated 2D and 3D data.

Quartz Composer uses OpenGL, OpenCL (only in Mac OS X 10.6 and later), Core Image, Core Video, Core Audio, JavaScript, and other technologies to build an API and a developer tool around a simple visual programming paradigm. It used to be part of the Xcode development environment in macOS but is now a separate download named Additional Tools for Xcode.

136 questions
1
vote
1 answer

Origami (Quartz composer) Set variable

how to set a dynamic variable that can keep changing? like javascript "var x=1" Thanks!
Honeycrisp
  • 53
  • 2
  • 12
1
vote
1 answer

Quartz composer/Origami: how to add a conditional logic

I would like to make an different animation depending if the switch is off or on. Let say if my switch is ON my sprite move x +10 if my switch is OFF my sprite move y +10 I don't find a correct way to apply it. Thanks
1
vote
1 answer

QCView inputKey responds to NO but crashes on YES

I have a QCView with a boolean input splitter in it. When I try and do [qcview setValue:NO forInputKey:@"showCube"]; it works as expected and the input gets set to NO. However, When I try and do [qcview setValue:YES forInputKey:@"showCube"]; I get…
nosedive25
  • 2,477
  • 5
  • 30
  • 45
1
vote
1 answer

How to adjust button width based on screen width in Quartz Designer for iPhone

Is there any possibility to adjust button width based on screen width in origami for iPhone, with some expression; For Example: button.width = screen.width - 50 I can't add my current design image to this question due to my low reputation
Kiran
  • 343
  • 3
  • 13
1
vote
1 answer

Convert a range of numbers in Quartz Composer

In Quartz Composzer I have a range of incoming numbers in the range 0 to 1, and I need to convert the range to -1 to 1. There are basic math operators or mathematical expressions I can use in patches which can be linked in any combination to…
RexTheRunt
  • 141
  • 1
  • 3
  • 12
1
vote
1 answer

Code Interaction with Quartz Composition

I have a Quartz Composition with a Cube, and X/Y/Z rotation inputs are published. On Interface Builder I made a QCView and a QCPatchController with the previous Quartz Composition loaded. In QCView the Patch Controller is binded, and the rotation…
1
vote
1 answer

Quartz compositions created in Snow Leopard (10.6) doesn't work in Leopard (10.5) despite testing in runtime

I have a reasonably advanced (many patches and subpatches) quartz composition that was created in Snow Leopard but doesn't run well (many elements are not rendered) in Leopard. The composition tested OK via Quartz Composer's Test in Runtime option…
adib
  • 8,285
  • 6
  • 52
  • 91
1
vote
1 answer

glsl shader in Quartz Composer

I was trying to make this shader working in Quartz Composer When I copy this shader's code to Fragment Shader in the GLSL Shader patch, error: input of fragment shader 'surfacePosition' not written by vertex shader So what do I need to fill in the…
Li Song
  • 659
  • 1
  • 6
  • 12
1
vote
1 answer

JSON and XML importer in Quartz Composer only working intermittently

I've recently started having a look into Quartz Composer and I'm trying to get it to download some JSON from the web and turn it into a structure. From what I can tell, the "Climb JSON Importer" plugin does exactly what I need. The problem I have is…
1
vote
2 answers

Can't load Quartz animation in screen saver: "You cannot use the XXX screensaver on this computer"

I've written a simple screensaver that loads a Quartz animation using a QCView. But when I install it on Snow Leopard it appears in the Screen Saver preview with a message saying "You cannot use XXX screensaver on this computer...". If I comment…
1
vote
1 answer

Quartz Composer - Structure Key Member bug?

I'm trying to use Quartz Composer to create a continuous integration build radiator. I put together a simple XML file to describe the projects and the latest success of each of their workflows: Project A
Brian Kelly
  • 5,564
  • 4
  • 27
  • 31
1
vote
3 answers

Do I need Xcode to use Quartz Composer?

Or can I delete Xcode after I've got Quartz Composer? I don't want to keep the app if I don't have to.
1
vote
1 answer

isMemberOfClass with static library linked twice

I'm working on few plugins for Quartz Composer, that all link to the same custom static library copied for each of them in the bundles frameworks folder. The plugins could be used separately, so I have to distribute the library in each plugin.…
Benoît Lahoz
  • 1,270
  • 1
  • 18
  • 43
1
vote
1 answer

Use of GL_STENCIL_TEST to render concave polygons

I'm working on a custom geometry library adapted to Quartz Composer and trying to draw some concave polygons in a Plug In. I implemented the poly2tri library, so the user can choose to triangulate or not, but it's not suitable for a per-frame…
Benoît Lahoz
  • 1,270
  • 1
  • 18
  • 43
1
vote
2 answers

Quartz Composer Viewer Zoom

I'm not sure how I did it, but for some reason, the coordinate system is completely out of wack. Everything appears completely zoomed in, and it's the same outside of Quartz Composer too, so something strange is up. Is there any normal way that this…