Splash screen

Q&A about the latest versions
Post Reply
User avatar
lucamangano
Posts: 6
Joined: Thu Feb 15, 2018 2:12 pm
Location: Italy
Contact:

Splash screen

Post by lucamangano » Tue Dec 04, 2018 7:20 pm

I would like to insert at the begin of the tour a flat (traditional) photo that acts as a splash screen.
As soon as I give the command, the splash screen closes and the tour begins with its fly-in
how do you advise me to proceed?
Thanks to everybody
luca

User avatar
Hopki
Gnome
Posts: 8769
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Splash screen

Post by Hopki » Wed Dec 05, 2018 12:13 pm

Hi luca,
How you would do this.

• You need to know your Stereographic settings first. To do this select the Viewing Parameters panel, then right button click in the viewer and change the projection to Stereographic. Zoom out and get the start image you want and make a note if the Pan/Tilt/FoV, example -5.71/-90/270.
Once you have your data return back to the Rectilinear projection or just click the GoTo button as found under the Default View.

• Under the HTML5 outputs advanced tab select Assets and add file. This will be your splash screen image and on creation will put your image in an assets folder.

• Open the skin editor and add an External Image Loader. Under its properties set the path to your image using the External URL text field, it will be in the assets folder so the path will be: assets/splash.jpg, that's assuming that splash.jpg is your image file name.
Other settings for the External Loader are Content Scaling: Max and deselect, Never enlarge.
Also make sure the External Loader is the first element in the Skins Tree. This is because the higher up the tree the more forward it will be in the output and you want the splash screen to cover all other elements.

Add the actions to the external loader:

Source: Config Loaded
Action: View
Type: Set View
Pan: -5.71
Tilt: -90
FoV: 270
Projection: Stereographic
(This is the setting from your start stereographic projection)

Source: Mouse Click
Action: Alpha
Type: Change Element Alpha
Alpha: 0.00
Transition Time 0.500s
Target: -self
(This fades out the splash screen)

Action: Mouse click
Action: View
Type: Move to Default View
Speed: 2.00
Easing Function: Ease Out
(This starts the fly-in)

I have attached my skin, the external loader is looking for: assets/popup01.jpg but you can change that for your image.
Regards,
Hopki
Attachments
skin.ggsk
(8.6 KiB) Downloaded 6 times

User avatar
lucamangano
Posts: 6
Joined: Thu Feb 15, 2018 2:12 pm
Location: Italy
Contact:

Re: Splash screen

Post by lucamangano » Wed Dec 05, 2018 12:29 pm

grazie Martin
a.s.a.p. I'll try your precious indications

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests