Hi there,
welcome back Garry. Interesting read so far.
I'd like to thrown in my approach we chose for the crawler in our
signage app Happjo.
As we have text only in our crawler I basically construct a single,
large text string from the RSS feed or manual entries including the
separator characters, spaces etc. via JavaScript.
This is then rendered into a Billboard which is moved along the x-axis
by an Interpolation patch.
As the image size can easily exceed the graphic cards texture size
limits (20000+ pixels) the 'Crop Images to Visible Area" function of
the Billboard patch comes in very handy :) Then there is some simple
logic that displays another instance of this billboard while the
'first' one is going offscreen.
If you choose a well-developed (OpenType) font it should contain all
the required symbols needed for a stock ticker (like triangle or arrow
characters as trend indicators).
The biggest downsize of this approach is that you are limited to a
single set of font attributes (e.g. one color, font style etc.) for
the entire text string, though.
I think this (having formatting options) is the reason why Boinx did a
custom renderer patch (Achim, correct me if I'm wrong).
@alx Great idea, I have to try that already :)
Greetings from Leipzig
Best, Oli
On 10.05.2010, at 18:15, grimmwerks wrote:
Argh -- thanks fellas.
It seems in some ways QC is sort of in the same issue it had been
before; definitely something I could do easily within Flex/Flash,
but don't think that would display well across the screen.
On May 10, 2010, at 11:54 AM, Alex Drinkwater wrote:
You could probably do something similar with a Queue patch. Might
be simpler this way, in fact. Push the first image across the frame
until it goes across the full width, then add a new image to the
Queue and continue moving both across, with an offset to the
position of the second image, and repeat.
Just a thought.
a|x
On 10 May 2010, at 16:45, Achim Breidenbach wrote:
Hello Garry,
welcome back! ;-)
Since we didn't find a good solution for this ticker-problem
either, we developed a custom render patch to do a crawler to be
used in BoinxTV. But in the case of stock data you might be able
to do it in pure QC, like I did with the Twitter layer in BoinxTV:
I generated an image with all data from one tweet (in your case
from one stock) and pushed this over the screen from right to
left, from out-of-screen to fully visible on screen. Right at the
point when the image is fully visible I added the image to an
accumulator buffer caching the image. Now I created a new one
with the next data. Again pushing it in from the right side, but
also moving the accumulator image accordingly so it looks like the
new image and accumulator image are one. Ever the new image is
fully visible I dropped a new image into the accumulator which
represented the current view on screen.
best,
Achim Breidenbach
Boinx Software
On 10.05.2010, at 17:00, grimmwerks wrote:
Hey all - originally joined this list sometime like 2005/2006
when QC first came out... played with it a bit, met issues, and
dropped it.
Now I'm trying to re-introduce myself to it and am wondering if
there's any great tuts out there? I'm not knew to programming but
am still having issues creating a lower third scrolling stock
ticker...
Garry Schafer
grimmwerks
[email protected]
portfolio: www.grimmwerks.com/
_______________________________________________
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]