Page 1 of 1

Distance Field Component

Posted: Mon Oct 30, 2017 10:01 am
by Hopki
Designed for Pano2VR Pro.
This component provides a simple way to display the distance between nodes of a virtual tour.
The input images must have geolocation (GPS).
There are two versions one for metric, one for imperial.

Start off by downloading the component and then double click to add to the User-Defined category or your own.

• Place the text box so it is a child of the Hotspot Template
• Use either the metric or imperial component, you can not use both in one skin
• Do not change the ID of the component
• Do not edit the text

preview_metric.png
preview_metric.png (34.42 KiB) Viewed 5698 times

Main features:
  • Display the distance in Metric or Imperial units
  • Appearance can be customised with the text box properties or CSS

Seen here customised with CSS and used with the preview hotspot component.

Screen Shot 2017-10-30 at 08.44.33.png
Screen Shot 2017-10-30 at 08.44.33.png (95.54 KiB) Viewed 5698 times

Download Components:

Distance Field Metric:

Distance Field Imperial:

Regards,
Hopki

Re: Distance Field Component Pano2VR 6 pro

Posted: Mon Oct 30, 2017 11:50 am
by Hopki
To help with how to use the distance component please find two skins attached, silhouette and simplex themes.

Add the skin to a pro project and you will see a test box that tells you to remove itself.
Use the skin configuration button to select which Units the distance should be displayed in.
You can save the hotspot as a Component, select all the elements in the Tree or Skin canvas and right button click to save as a component.

When saving as a component I would use the name “Distance Node Thumbnail Pro Silhouette” and “Distance Node Thumbnail Pro Simplex” to keep with the naming conventions.
Regards,
Hopki

Re: Distance Field Component

Posted: Mon Oct 30, 2017 5:26 pm
by Frankster69
Fantastic!

Thanks a lot Martin, this is a great addition. You remember? I asked for this about a month ago in the forum, and now it's here. Not per se because of me, but still, impressive!

I've got it working already. Never mind the color difference between the thumbnail preview and the distance field, the project is not finished yet. But it's working!
distance.jpg
distance.jpg (197.44 KiB) Viewed 5656 times
regards, Frank

Re: Distance Field Component

Posted: Mon Oct 30, 2017 8:05 pm
by Hopki
Hi Frank,
I would be inclined to add the distance to the hotspot preview image.
You can always make it higher to fit in more text and may look better than a separate text box.
But thats only mu opinion.
Regards,
Hopki

Re: Distance Field Component

Posted: Tue Oct 31, 2017 1:01 am
by Frankster69
Yeah, I think you are right. Like I said, it isn't finished yet :)

Taken your advice and my own judgement of course and now it looks like this:
CropImage.jpg
CropImage.jpg (169.1 KiB) Viewed 5639 times
regards, Frank

Re: Distance Field Component

Posted: Tue Oct 31, 2017 9:52 am
by panox
Thank you, Hopki, but I'm totally stuck with my trials. I have geolocated two panoramas, loaded the component "Distance Node Thumbnail Pro Simplex". The distances are not displayed.
Can you make a YouTube-Video?

Re: Distance Field Component

Posted: Tue Oct 31, 2017 1:42 pm
by Frankster69
panox wrote:
Tue Oct 31, 2017 9:52 am
Thank you, Hopki, but I'm totally stuck with my trials. I have geolocated two panoramas, loaded the component "Distance Node Thumbnail Pro Simplex". The distances are not displayed.
Can you make a YouTube-Video?
Hi Panox,

Just make sure the component (which is only 1 textlayer 'text_distance_met') is a child of the 'hotspot_preview' folder in the 'ht_node' component in your skin. That should just work. Make no changes to the ID or text of the layer, but you can adjust other settings to taste.

It should look like the first screenshot in hopki's second post in this topic.

hope that helps,

regards, Frank

Re: Distance Field Component

Posted: Wed Nov 01, 2017 12:46 pm
by panox
Hi Frank,

there are too many mistakes I make. Can you please provide a simple example project file?

Best regards

Harald