View unanswered posts | View active topics
|
Page 1 of 1
|
[ 7 posts ] |
|
| Author |
Message |
|
atomicmak
|
Post subject: custom progressbar ? Posted: Thu Apr 03, 2008 2:19 pm |
|
Joined: Tue Feb 26, 2008 12:44 pm Posts: 45
|
|
is it possible to have custom logo and progressbar in center of viewer instead of deval's inbuilt progressbar ?
what is the procedure to make that if its possible ?
|
|
| Top |
|
 |
|
czq
|
Post subject: Posted: Fri Apr 04, 2008 6:55 pm |
|
Joined: Sun Feb 24, 2008 8:30 pm Posts: 27
|
nice recommandation, I need this feature too! 
|
|
| Top |
|
 |
|
Aris
|
Post subject: Re: custom progressbar ? Posted: Wed Mar 04, 2009 2:55 pm |
|
Joined: Fri Sep 22, 2006 2:54 pm Posts: 37
|
atomicmak wrote: is it possible to have custom logo and progressbar in center of viewer instead of deval's inbuilt progressbar ?
Yes, it is possible.
Here is how I do it (example of .DVL file):
Code: (pano1) { type=mov; file=panorama1.mov; INCLUDE=loading; }
(pano2) { type=mov; file=panorama2.mov; INCLUDE=loading; }
(loading) {
type=include; Image=loading,1,0,0,#99,100,no,loading; FONT= fontloading, "Times New Roman", 24, 7, normal; TEXT= textloading, 1, 0,70, #99, #000000, , #FFFFFF, 100, fontloading, " Loading... %PROGRESS% % "; PROPERTYCODE2 = codeloading,1,"progress",100,"Fade("","textloading",0,3.5);Fade("","loading",0,3.5);"; }
(loading) { type=image; file=loading.png; }
The problem with the code above is that it shows my custom loading image only when I open the virtual tour.
When I'm navigating inside the tour and choose another panorama it doesn't show the loading image on the second panorama.
Maybe someone knows a solution.
How do you add comments inside .DVL ?
Best regards,
Aris
_________________ "Imagination is more important than knowledge.
Knowledge is limited. Imagination encircles the world." - Einstein
|
|
| Top |
|
 |
|
fiero
|
Post subject: Posted: Wed Mar 04, 2009 3:41 pm |
|
 |
| I only was walking somewhere... |
 |
Joined: Tue Aug 09, 2005 1:55 am Posts: 1919
|
There are some examples with a text with progress percentage here http://www.devalvr.com/panos/howto1.zip . The instruction PROPERTYCODE2 is used to hide the test (or any image that you use) when the % loaded is a defined value.
Aris, you can use the same name in the test and image, to show/hide the two objects with only one instruction, or use a group name:
Code: (pano1) { type=mov; file=panorama1.mov; INCLUDE=loading; }
(pano2) { type=mov; file=panorama2.mov; INCLUDE=loading; }
(loading) {
type=include; Image=loading,1,0,0,#99,100,no,loading; FONT= fontloading, "Times New Roman", 24, 7, normal; TEXT= loading, 1, 0,70, #99, #000000, , #FFFFFF, 100, fontloading, " Loading... %PROGRESS% % "; PROPERTYCODE2 = codeloading,1,"progress",100,"Fade("","loading",0,3.5);"; }
(loading) { type=image; file=loading.png; } When you load another pano in the script, you can use: Code: GoToFrame("pano2");Fade("","loading",100,0.5);
regards!
|
|
| Top |
|
 |
|
Aris
|
Post subject: Posted: Wed Mar 04, 2009 4:12 pm |
|
Joined: Fri Sep 22, 2006 2:54 pm Posts: 37
|
Hi Fiero,
I tried like this and it was not working, it wasn't showing my loading image:
Code: (loading) {
type=include; Image=loading,1,0,0,#99,100,no,loading; FONT= fontloading, "Times New Roman", 24, 7, normal; TEXT= loading, 1, 0,70, #99, #000000, , #FFFFFF, 100, fontloading, " Loading... %PROGRESS% % "; PROPERTYCODE2 = codeloading,1,"progress",100,"Fade("","loading",0,3.5);"; }
Then I changed to this and it's working (I added a group name): Code: (loading) {
type=include; Image=loading,loadingimg,1,0,0,#99,100,no,loading; FONT= fontloading, "Times New Roman", 24, 7, normal; TEXT= loading,loadingtxt, 1, 0,70, #99, #000000, , #FFFFFF, 100, fontloading, " Loading... %PROGRESS% % "; PROPERTYCODE2 = codeloading,1,"progress",100,"Fade("","",0,3.5,"loading");"; }
IMPORTANT:In the TEXT syntax there is no GROUP name specified and I was a bit confused when you said to add a group name: TEXT = name, visible, x, y, alignment, color, effect, backgroundcolor, alpha, fontName, text ; http://www.devalvr.com/paginas/soporte/ ... .html#TEXTAnd by adding this to the end to each hotspot it shows the custom loading image on every pano. Code: Fade("","",100,3.5,"loading");
Thank you very much for your help!
Best regards,
Aris
_________________ "Imagination is more important than knowledge.
Knowledge is limited. Imagination encircles the world." - Einstein
Last edited by Aris on Wed Mar 04, 2009 4:41 pm, edited 1 time in total.
|
|
| Top |
|
 |
|
fiero
|
Post subject: Posted: Wed Mar 04, 2009 4:37 pm |
|
 |
| I only was walking somewhere... |
 |
Joined: Tue Aug 09, 2005 1:55 am Posts: 1919
|
|
It's true, I updated the page.
Do you mean a Fade() function with alpha=100 at the end of the hotspot code? Maybe this is a typo, you wrote 0.
Thanks for the testing!
|
|
| Top |
|
 |
|
Aris
|
Post subject: Posted: Wed Mar 04, 2009 4:46 pm |
|
Joined: Fri Sep 22, 2006 2:54 pm Posts: 37
|
I updated my previous post it was my mistake. 100 is the right number.
Thanks for pointing this small error... it made my custom loading image fade when it reaches 50-60%. In some cases it didn't appeared at all.
With the group name I think I can add a custom loading image for each room... I'm working on a tour for a local museum.
Thanks!
Aris
_________________ "Imagination is more important than knowledge.
Knowledge is limited. Imagination encircles the world." - Einstein
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 7 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|