On Aug 12, 2005, at 10:28 AM, Asher Dunn wrote:
On Aug 12, 2005, at 9:00 AM, Joseph Nastasi wrote:
So, other than crying in my beer (which I am, at this point,
considering replacing with a vat of rum), I'm asking for ideas on why
opening windows with RB3Dspace controls would speed up program
execution?
How are you calculating your delta time? Are you using a
"lastFrameTime - microseconds; lastFrameTime = microseconds" approach?
If so, are you doing that once *for each Rb3DSpace* by accident? If
so, it would think your frames were much shorter than they really
were, which would cause it to run *slower*... Oh well, maybe it's
something like that anyway.
Yeah, I thought of that. But it was simply attempting to draw a canvas
way too fast. I think I kept on creating a new picture instance (for
double-buffering) and it just ate away at the stack. It was happening
right in fastest part of the loop so it would not take too long.
Glad that's over...
--
Joseph Nastasi
Pyramid Design - a software development firm
http://www.pyramiddesign.us
Voice 609 601-0814 Fax 609 601-0815
Products:
A-OK! Spacecraft Simulation System - http://aok.pyramiddesign.us
A-OK! The Wings of Mercury
FTP Suite for REALbasic - http://ftpsuite.pyramiddesign.us
Proud Sponsors of REALbasic Olympics 2005
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|