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>
|