[Twisted-Python] Re: Twisted and python-ogre
Steve Holden
steve at holdenweb.com
Fri Feb 15 19:45:03 MST 2008
That's consistent with a frame rendering time of roughly 23 ms. Waiting
10 ms after each rendering would indeed lower the rate by about 10 fps.
regards
Steve
Bernie Roehl wrote:
> On the (relatively low-end) machine I'm running on, I get 33 fps with
> with 0.01, and 43 fps with 0.0 or with the coiterator.
>
> I'm leaning towards the coiterator approach, since I don't have to worry
> about figuring out what value to pass.
>
>
> On Fri, Feb 15, 2008 at 1:45 PM, Tristan Seligmann
> <mithrandi at mithrandi.za.net <mailto:mithrandi at mithrandi.za.net>> wrote:
>
> * Bernie Roehl <broehl at gmail.com <mailto:broehl at gmail.com>>
> [2008-02-15 11:09:07 -0500]:
>
> > If I change the 0.01 to 0.0, I do indeed get a framerate
> comparable to using
> > the coiterator methord.
> >
> > I wouldn't have thought that waiting ten milliseconds between
> calls would
> > make such a substantial difference.
>
> It limits you to a maximum of 100 frames/sec or so (since there are 100
> ten millisecond intervals in a second); what sort of framerates are you
> seeing? Also, you should probably pick a number greater than 0, since
> there's not much point in rendering more than a certain number of frames
> every second -- the exact threshold at which it becomes pointless
> depends on a variety of application / environment specific factors,
> though.
> --
> mithrandi, i Ainil en-Balandor, a faer Ambar
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.8 (GNU/Linux)
>
> iEYEARECAAYFAke13cAACgkQpNuXDQIV94oMSgCghgH4cj3lwyDsxLHn4lrtygkq
> ic8An1XBicz3/lObeGZkv7OGxVd2Nyqb
> =HJIx
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> <mailto:Twisted-Python at twistedmatrix.com>
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
>
>
> --
> Bernie Roehl
> Mail: broehl at gmail.com <mailto:broehl at gmail.com>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Twisted-Python
mailing list