realbasic-games
[Top] [All Lists]

Re: On screen console

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: On screen console
From: Joseph Nastasi <joe at pyramiddesign dot us>
Date: Sat, 14 Jan 2006 07:40:44 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <323e4b84d2d48fc5cc4e349a67c879fe at pyramiddesign dot us> <a0620073fbfedba4b0432 at [10 dot 0 dot 1 dot 13]> <02983bb1b03366d97fef90447de11466 at pyramiddesign dot us> <a06200742bfedd74bcff9 at [10 dot 0 dot 1 dot 13]>

On Jan 13, 2006, at 5:20 PM, Joseph J. Strout wrote:

At 4:13 PM -0500 1/13/06, Joseph Nastasi wrote:

I should have been clearer... It will probably be an overlay that has a set of properties listed in a label: value pair. The actual number of properties can change, but not in real time; they would be selected in a window at another time.

OK, then let's see... it seems to be mostly a numeric display, so one option would be to create a TriMesh that has a separate little pair of triangles for each digit to be shown. Attach to this a texture that has all ten digits in a strip. Then, at runtime, you can show any digit in any position by just setting the UV coordinates of the appropriate triangles. This is a bit of work to code, but it would be blazing fast because you're not changing the texture (image) at all, and yet the whole display (or at least, the changing parts) is still one object.

Sometimes, I am so dense... What you are describing is something I did about 3 months ago for the A-OK! control panel API. I simulate both numeric LEDs and x character by x lines LCD screens!. All need to do is to change the textures for the alphanumerics, providing a translucent background mask.

Joe, Frank, thanks, as always, for the input.  I need more sleep...
:-)
--
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 http://www.aokwom.com
FTP Suite for REALbasic - http://ftpsuite.pyramiddesign.us
Columnist for REALbasic Developer Magazine
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>


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