Hello Charlie, my suggestion is to move the "Image with String"-Patch outside the "Render in Image" and set the "Image Width" and "Image Height" parameters of it to zero (then the resulting string image is exactly the right size). Then you can use the "Image Dimension" patch to get the image pixel size and add a padding to it. The new width and height is then used for the "Render in Image" patch as "Pixels Wide" and "Pixels Heigh" parameter. You may also apply a "max" to the width, so the image is at least e.g. 200 pixels. Then you feed in the string image inside the "Render in Image" patch and render it there just like you did.
A second idea is to use pixel units only in your calculations. I see sometimes a gab between "Monday" and "10:00pm". I think thats because your "Monday"-scaled image pixel dimensions is odd and divided by "2" get a 0.5 friction. And because you are using "Pixel Aligned" drawing in the Billboard the images gets apart by a pixel. best, Achim Breidenbach Boinx Software On 05.05.2011, at 18:25, Charlie Francis wrote: > Right, this next one might be a bit far removed from the first question, but > it kind of follows on with what I'm trying to do. > > > A little oversight: > This will be placed over a video and be sent to the web and TV, so needs to > be able to squash to the 720x576 DV PAL Widescreen Aspect Ratio and also stay > at the 1024x576 Square Pixel Aspect Ratio. So I built a simple mathematic > patch that applies a scale to the billboards if the render area is changed. > It also allows me to position the billboards from the top left corner in > pixels. > I could use the anchor position for this, but thought I might as well combine > it into one patch. On top of that I could have maybe encompassed everything > in a Render In Image patch and scaled that? But don't know how that would > affect performance or the rendering of elements larger than the render area. > > > So, what I want to do is have the Date and Time as fluid width, and the > Promotion as a fixed width. I also want them to be independently positioned > if I want, or to connect to each other. I'll do this through a multiplexer > and a "state" index. The images should also be able to be scaled by width or > height, but still keep their "locked" positions. > > My question is... is there an easier way to get the height and width of the > images inside of a render in image patch, without doing some kind of loop > back from within the patch, and make sure that the output is representative > of the fluid width of the image. The text rendering also goes a bit weird > when scaling down. > > <scaling.png> > > > The attached comp is the best I've come up with! > > Thanks a lot in advance! > Charlie > > On 5 May 2011 15:27, Charlie Francis <[email protected]> wrote: > Thanks Achim, > > Maybe it'd be a good idea to use the billboard patch with Pixel Aligned > enabled when the animation has finished to make sure that there is no > blurring on the edges. I always feel like I get more control with the > Billboard rather than the Sprite. > > Regards, > Charlie > > On Thu, May 5, 2011 at 2:45 PM, Achim Breidenbach <[email protected]> wrote: > Hello Charlie, > > don't use the Image Transform patch, if you only want to scale the image. The > patch does resample the original texture to new fixed pixel dimensions. thats > way it stutters. > > I added a Sprite patch (with antialiased edges setting), using scaled width > and height values. the Sprite renderer takes care of how to scale the > original texture to the screen. > > best, > > Achim Breidenbach > Boinx Software > > > > > On 05.05.2011, at 15:24, Charlie Francis wrote: > >> Forgot to attach -_- >> >> On 5 May 2011 14:08, Charlie Francis <[email protected]> wrote: >> Hi, >> >> I was wondering what the best way of scaling text and / or Render In Image >> patches is. For example in my example composition I have made a Render in >> Image patch with some text and a background image and then resize it using >> Image Transform and a Maths Patch. This always seems to leave me with a >> jerky animation, but still have good control over the width and height of >> the image. >> >> Pretty pointless post, but wondered if anyone had another way of animating >> multiple billboards together >> >> Regards, >> Charlie >> >> <scaling.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/achim%40boinx.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/charliefrancis%40gmail.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/charlief%40cellcastonline.com > > This email sent to [email protected] > > > <scaling.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/archive%40mail-archive.com This email sent to [email protected]

