Hi,
as a new little study project i made a 3D helper tool.
I think it is quite conveniant already, but it is still in 'beta'.
Please let me know what you think and if you find problems or issues.
As it is all quite new, also to me, it can be that it is not 'perfect' yet... seems to work quite nice though.
imagine you have some 3d hotspots and lights in your project and you want to (re-) place or edit them.
Add the plugin to your project like:
<plugin name="helper3d"
url="3Dhelper.js"
keep="true"
align="righttop"
keycode_to_activate="51"
log_methode="log"
/>
Press 3 on your keyboard to make it show/hide... or any other keycode to your needs (keycode_to_activate).
Select 'model' or 'light'. It shows all 3d model or light hotspots, select one.. fiddle on the drag sliders etc..input color and enter..
You can go back to the list by clicking the hotspot name or the 'light' or 'model' button. Click the header to minimize it.
When finished editing a particular hotspot, press log or copy (see 'log_methode' .. log to log (xml and js.. or something else to copy to clipboard), and take what you need. You can use the reset button to reset the values of the currently selected hotspot.
Best usage, one hotspot at the time.
Make sure you have the TransformControls module added to your threejs plugin (!)
Here is an online example to see:
3D Helper Tool | © by Virtual Tuur - Arthur van den Enk
Download it here:
The idea is to integrate it in the ToolBox at a later stage.
I hope you like it!
Tuur