[x3d-public] An annotations example and project
Joseph D Williams
joedwil at earthlink.net
Thu Oct 6 14:06:29 PDT 2022
If the data ils available (now most data in a binary) I would be very surprised if x3d could not do this in less than 2MB, and the idea of ‘external’ file for annotations is fine as long as you know coordinates of the geometry you are labelling.
For example I noticed that the 3D builder thing allows scale change and that would probably ruin positioning from a standard fixed file. The author of name script knew enough about the item to be able to position the callout at some location not because of some landmarks unique to some part of the item, but because all is already known about coords of the item.
OTH, the x3d scene could be examined by SAI to find name and appropriate location for each feature on any skeleton and skin in any pose that used ‘standard’ known names.
So, the item to be annotated should be able to report its position, for use with the external list in order that the item can be interrogated to find appropriate location on geometry parts that compose the item. In other words, the thing has to be alive and interactive.
So, that example, as minimum, should be able to respond to isOver with a name and location so that a name matching the external file contents give text and location for the annotation. Make data entry interactive. Click gives me the name of the part and its location instead of having to type something in, For that you need a live item.
Finally, if the parts of the thing are drawn reasonably, then it should not be a big problem to set it up with a skeleton and get it dancing and posing. Just make it 0 0 0 between the feet and some reasonable humanoid height.
Thanks,
Joe
From: Vincent Marchetti
Sent: Wednesday, October 5, 2022 9:47 AM
To: Joseph D Williams; X3D-Public
Subject: Re: [x3d-public] An annotations example and project
I am not seeing the error message in viewing the astronaut.glb file, with Microsoft 3D Viewer at version 7.2107.7012.0, but I do see the error with 3D Builder
I haven't examined the internal structure of the astronaut.glb data, but it doesn't surprise me that it is single mesh item.
The spirit of this annotation project would be to display the annotations from an externally loaded json structure without regard to the detailed structure of the 3D asset itself.
Vince
> On Oct 5, 2022, at 12:02 PM, Joseph D Williams <joedwil at earthlink.net> wrote:
>
> • the underlying asset is a glTF asset
>
> Astronaut.glb when downloaded, runs windows 3D Builder with a click and allows simple editing. Shows error ‘one or more items invalidly defined. Click to repair’ The entire thing is a single ‘item’
>
>
>
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20221006/e106ad44/attachment.html>
More information about the x3d-public
mailing list