I'm writing a game that requires input within the RB3D space. For
example a chat input or a name input. Does anyone think this is
possible?
Of course, but not using a standard EditField. RB3D doesn't support
"normal" controls overlapping the RB3DSpace control. (You might have
success trying this on one machine, only to find that it fails
miserably on other machines/platforms.)
So if you must have this interaction take place in the RB3DSpace
control, your only reliable option is to create a 3D object that the
user can interact with in the same way as an EditField (or whatever
subset of that interaction is important to you).
One approach is to create 3D letters and have them floating in space,
along with a 3D flashing cursor, maybe even a 3D frame for them to sit
in. Another approach is to render the control as an image, and then
place that image as a texture onto a 3D object that basically consists
of a flat square floating in space.
In either case, you'd have to consider whether you wanted to support
non-English languages, other character sets, right-to-left scripts,
copy/paste, etc.
It would be some work, but on the other hand you could do some cool
effects with it that are impossible to do with a regular editField.
Some possibilities that come to mind: exploding characters as you
delete, or when you hit OK, the edit field tumbles out of view,
perhaps flying like a missile to the 3D character who is about to be
renamed.
lj
_______________________________________________
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>
|