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.
A somewhat poorer approach would be to make a separate Object3D for
each digit, which means you could simply add the ten digits with
AddShapePicture and switch what is shown by assigning to the Shape
property. But you're likely to have trouble getting them to all line
up seamlessly next to each other.
HTH,
- Joe
--
Joseph J. Strout
joe at strout dot net
_______________________________________________
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>
|