Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenGLView doesn't show all frames rendered by QCRenderer



I discovered another reason:
I used the QCRenderer within a screensaver application. The Composition is then rendered within the preview window of System Preferences. When you press the "preview" button it is rendered fullscreen, but at the same time it still renderes to the preview window in the background (and additionally to a second monitor if attached). It lookes like the FPS display displays an accumulated FPS of all these instances, but each instance animates with much less fps.


Cheers,
  Gereon

Am 17.09.2005 um 00:59 schrieb Christopher Hunt:

On 17/09/2005, at 5:08 AM, quartzcomposer-dev- email@hidden wrote:


Hi,
I render a composition with QCRenderer at about 70fps (according to
FPS display), but it doesn't look smooth. In the QC App and as a
standalone screensaver the composition is smooth even with 60 fps.
I checked, the times passed to renderAtTime: are smooth values with
distance about 1/70. It looks like QCRenderer renderes 70fps, but not
all frames are displayed within the view.
I call [openGLContext flushBuffer] immediately after renderAtTime:

What can be the reason for this problem?

Have you set up double-buffering?

I'm using 25fps and get smooth animations most of the time. I'd imagine that 25fps will get you there for the majority of effects.

Cheers,
-C



---------------------------------------------- Gereon Frahling Hohoffstraße 9a 33102 Paderborn Tel.: 05251 6885362 Handy: 0179 1028341

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: NSOpenGLView doesn't show all frames rendered by QCRenderer (From: Christopher Hunt <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.