[x3d-public] Labels in 3D
Leonard Daly
Leonard.Daly at realism.com
Tue Sep 5 11:51:11 PDT 2017
This is mostly for Nicholas and Vince who expressed an interest in
labeling things in 3D where the labels had the capability of HTML to
include various fonts, styles, text, graphics, links, etc.
I would like to know if these types of labels meet your needs or
something else is needed.
This is using my testbed (XSeen). The example is at
http://realism.com/XSEEN/test/labels.html.
All labels are done in HTML. The lines connecting the label to the 3D
object is done in 3D space. The labels retain their screen position as
the camera is moved. There are three types of labels illustrated in the
example -- fixed, relative, and draggable.
The fixed label is attached to the "monster" The label line tracks the
local origin of the monster model.
The relative label maintains the initial relative screen position to the
projection of the (local) origin of the object. The label moves as the
object moves. This is particularly obvious when looking from the side.
The last label (draggable) is attached to the torus. The user may move
the label to any position in the canvas (2D projection of the 3D space).
The leader line maintains the connection from the label to the object.
There is preliminary documentation on the tag at
http://tools.realism.com/specification/xseen/language-definition/user-interactions/label
Caveats:
1) The leader lines do not track well when the camera position is
changing nor when a draggable label is being moved.
2) Things don't work as you would expect (or hope) for the stereo camera.
--
*Leonard Daly*
3D Systems & Cloud Consultant
LA ACM SIGGRAPH Chair
President, Daly Realism - /Creating the Future/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20170905/01d20b36/attachment-0001.html>
More information about the x3d-public
mailing list