Here we show how visualiser tools and extensions can be developed with template snippets.
A template snippet is an HTML DOM node stored in the database that can be dynamically inserted into a scene.
The advantage of template snippets lies in the possibility of dynamically designing the VRplugin-autotooltip__default plugin-autotooltip_bigVirtual reality (VR)
Virtual reality (VR) is a computer-generated, interactive environment in which a person can fully immerse themselves. With the help of special devices such as VR glasses, the real world is completely replaced by a simulated one. The user experiences a three-dimensional, artificial environment that can appeal to all the senses./MRplugin-autotooltip__default plugin-autotooltip_bigMixed Reality (MR)
Mixed reality, often referred to as mixed reality, is a technology that combines the physical world with computer-generated elements in real time. In contrast to pure virtual reality, in which the user is completely immersed in a digital world, and augmented reality, in which digital elements are superimposed on the real world, mixed reality enables interaction between real and virtual objects. As a rule, the user sees the real world, recorded by cameras, as an image of their… scene and configuring different elements to match each other.
Examples:
This enables the composition of model elements. These snippets have the type TEMPLATESNIPPETS.
Tools are template snippets which, in addition to the composition of elements, change their behaviour via JavaScript code. These template snippets usually use the A-frame component neo-code. The neo-code component is an A-frame component that is configured by a template snippet.
Tools have a typical structure, as this example shows: https://vrdoro.com/editor/~/admin/template-snippets/edit/188.
These snippets have the type TOOL.