Can anyone give me some clue as to how the Domain of Definition stuff works and affects various patches? Assuming it's that and not a bug I've found... Unfortunately I've 'fixed' the composition and saved over the old version, but here's a simplified version of what happened:

1st, I used Movie Loader to play a video. The video res was 784x576.

I used a Resize Image patch to resize to 320x240 (using stretch). Outputting to a billboard, it was obviously working fine, and mouse- overing the output showed the image size as 320x240.

I then fed the image into a render-in-image, set to 320x240, into an iterator, and then into a CI Filter patch. There, I do some processing based on the x coordinate of the image (nothing complex, just time slicing by setting the alpha of all pixels outside the current column to 0).

I pass the output of the CI filter to a billboard, set to render at 320x240, and connect the output of the render-in-image to another billboard for display.

It all works as expected except for the coordinates in the CI Filter. If I draw a vertical line at x=160, I should see it in the middle of the image, but instead I see it 1/3 across. The centre is actually at x=196, and the far right is at 392. This is exactly half of the original video resolution, but the input image is definitely 320 pixels wide. Why?

I also noticed that if I moused over one port (think it was the input to the render in image) it said it was a rectangle, with coordinates matching the original video size, but the other end of the wire showed the expected 320x240. Is this somehow expected?

Anyway, to fix it, I passed the resized image to a billboard set to actual size inside another render in image. The problem went away immediately.

If this is DoD related, and somehow expected, I fear for my sanity when I come to something more complex!

Chris

_______________________________________________
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