realbasic-games
[Top] [All Lists]

Re: Draw algorithm slow

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Draw algorithm slow
From: "Joseph J. Strout" <joe at realsoftware dot com>
Date: Tue, 29 Jun 2004 08:48:19 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
List-help: <mailto:realbasic-games-request@lists.realsoftware.com?subject=help>
List-id: REALbasic Games <realbasic-games.lists.realsoftware.com>
List-post: <mailto:realbasic-games@lists.realsoftware.com>
References: <0DC34C9C-C9BF-11D8-8CF9-000393907B46 at pyramiddesign dot us>
At 7:25 AM -0400 6/29/04, Joseph Nastasi wrote:

I don't know. For example, both X-Plane and MS Flight Simulator only require that you create one needle graphic (and corresponding mask) for a gauge. Is it possible that they pre-rotate copies on startup?

Yes, that's certainly a good approach if you want to draw your controls with a 2D renderer.

The alternative (which the apps you cite are probably using) is to render the controls as 3D objects as well. (I know I don't need to explain to you how to do that!)

Best,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout           REAL Software, Inc.                |
|    joe at realsoftware dot com       http://www.realsoftware.com        |
`------------------------------------------------------------------'
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>