[x3d-public] Labels in 3D

John Carlson yottzumm at gmail.com
Tue Sep 5 12:33:01 PDT 2017


Might be nice to integrate the D3.js annotations library. http://d3-annotation.susielu.com/

John
Sent from Mail for Windows 10

From: Leonard Daly
Sent: Tuesday, September 5, 2017 2:52 PM
To: X3D Public
Subject: [x3d-public] Labels in 3D

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/be57b66e/attachment.html>


More information about the x3d-public mailing list