Computer Vision News - December 2016
When you open the HTML file in a browser, you will see this nice mesh visualization. In addition, this visualization can be dragged, rotated and zoomed-in. Computer Vision News Trick 15 Trick A few words on the X3D-html technology that generates this visualization: X3D is an open standard file format and run-time architecture to represent and communicate 3D objects using XML. It provides a system for the storage and playback of real time graphics, all within an open architecture to support a wide array of domains and scenarios. X3D has a rich set of componentized features that can be tailored for use in engineering and scientific visualization, CAD and architecture, medical visualization, training and simulation. The following snippet gives you the basic outline of the X3D components used to generate the visualization above: The shape tags tell the browser that we want to put a 3d shape in the scene. The appearance tags delineate any alterations that we want to make to the appearance of the mesh. The indexedFaceSet tags define the faces to be used in displaying the mesh – listed as a string <YOUR FaceSet>. The coordinate tags define the edges to be used in displaying the mesh – listed as a string <YOUR VerticesSet>.
Made with FlippingBook
RkJQdWJsaXNoZXIy NTc3NzU=