I'm not entirely clear what you are asking, but it sounds like you're
trying to mix QC units with pixels. It's almost always best just to
stick with one or the other but since the QC patches all require QC
units as inputs, you'll have to convert. Please stop me if I am on the
wrong track.
Converting is pretty easy, just find the fraction of QC units for one
pixel and multiply that by the number of pixels you want. The
Rendering Destination Dimensions patch outputs the Resolution of your
current viewer. For example, your Render In Image is 50 pixels wide so
the Resolution is 25px/unit. 1/25 = .04 so every pixel inside that
render in image is .04 units a part.
This is different for every viewer size, so you probably want to do
the calculation live involving the Rendering Destination Dimensions
patch and a Math patch. Then you can use pixel values to setup
everything, and the output will be the same at any size.
On Jun 16, 2009, at 1:07 PM, Alex Beim wrote:
Hi
I made this 5 by 7 boxes that will hopefully allow me to write text
for a personal art project I am working on.
http://vimeo.com/5118709
I can light up each single cell by turning on and off pixels.
Because I am using a string of leds I had to wire them from top to
bottom left to right in a z manner, meaning that I have 5 lights
then i go back to the first pixel on the second row
I would have thought this would be a laugh to program in QC but due
to my lack of experience I am banging my head against the wall.
I am getting completely mixed up with the pixels and the QC units
and end up eyeballing it and things don't work properly
I have attached my QC patch which is pretty bad and a photo can be
seen here: http://twitpic.com/781p3
I need to feed the patch an image, the image needs to be split into
5 pixels segments and rearranged as a line then that line is sent to
a special plugin that controls the lights.
Later on I want to be able to feed it a string of text using a pixel
font and start playing with scrolling text and stuff like that
Any advice or hands on help would be greatly appreciated, and of
course credit will be given.
Cheers
<Alex_Beim.gif>
<CK test.qtz>
_______________________________________________
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]