Hi all.
We are starting to test a plugin to create hotspots between scenes with 3dtransition, similar to krpanotools editor.
Archive to plugin: uhta3d_editor.zip (19.05.2024 rev.1120)
Link to video tutorial: https://youtu.be/yvcT7J5ahXA
Preparing the editor for work
- Unzip the archive and move uhta3d_editor to the plugins folder;
Let's plug in the editor:
Next, you need to put all the <scene> tags into a separate file named scenes.xml;
This is required to save our changes to the tour during the editing process. Putting anything else in this file is not recommended, as the file will be completely overwritten.
- Add all necessary styles to the main tour file.
That's the end of the preparations.
Launch our tour in a browser and open the developer's console (at the moment the output of technical information about the progress of editing is made there, in the Console section).
After starting, in the center of the viewer will show crosshairs and in the console the editor hotkey hint:
Editor's help:
Vertical alignment:
Digit 1/2 - Architectural view: On/Off
A/D - panorama rotation -/+ in degrees
S - save panorama rotation for current scene
Hotspot editor:
Q - link start
Е - link stop
R - remove start
T - remove stop
F - styling start
G - styling stop
H - select style hs
Save all changes:
C - save all to xml
Display More
Vertical alignment on the panorama ("1", "2", "A", "S", "D")
- Switch to architectural mode using the "1" key above the letter keys. (To turn off the mode, press the "2" key);
- Using "A/D" and crosshair keys rotate the panorama so that vertical lines on the panorama become vertical in the viewing window. (rotation of the panorama is performed relative to the center of the crosshair on the screen);
- Press the "S" key to save the changes. (Architectural mode will be automatically deactivated). A video of the alignment process can be seen at the link.
Creating a connection between panoramas ("Q", "E")
- Aim the crosshairs at the location where the hotspot will be placed or where the scene to be connected will be shot;
- Press the "Q" key to start the connection;
- In the field that appears, enter the name of the scene to be connected.
You can enter part of the name of the scene you are looking for, then the list will be filtered and only suitable scene names will remain.
Use the up/down arrows or mouse to select the desired scene and press the "Enter" key; - The selected scene will be loaded, in which it is necessary to indicate with a crosshair the place of shooting the first scene or the location of the hotspot for transition in the opposite direction.
P.S. The more precise the location of two positions relative to each other, the more accurate the transition will be visually. - Press the "E" key to complete the connection process.
Removing hotspot ("R")
- Press the "R" key to start the delete mode;
- Click on the desired hotspot with the mouse;
- Repeat from step 1 if necessary.
Change hotspot style ("F", "G", "H")
- First, you must select the desired style by pressing the "H" key;
- Select the desired style in the input field that appears and confirm by pressing the "Enter" key;
- Press the "F" key to start the hotspot style change;
- Select the desired hotspot with the mouse;
- Repeat from step 1 (if you need to change the style) or step 3.
Saving changes ("C")
- Press the "C" key to save all changes;
In the window that opens, select the file named scenes.xml (where all our scenes are recorded).
P.S. Just in case, create a copy of the scene.xml file. )))
- Reboot the tour to verify.
There may be bugs and errors in the plugin. If any such bugs are found, please report them here for correction.
I'd be happy to get feedback on the work and suggestions)
Enjoy your work!