Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hi guys!
How I should make a loading bar, e.g. as in http://www.rich3d.com/site_v3/index_main.html
Sharing->gallery
I need some picture, something like "LOADING...", to appear at scene loading, and fade out when the scene is completely loaded.
 
Posts: 6 | Registered: March 26, 2007Reply With QuoteEdit or Delete MessageReport This Post
EnIgMaTiCScOrPioN
Member
Picture of e_phoenix13
Posted Hide Post
Hi!!

You need to add a Flash file (SWF) as a Postanimator which will Stop playing when the scene is loaded. Also you need to have an event collector to check the scene loading status. Once the scene has been loaded, you can stop the Postanimor flash.

Hope this helps.


Cheers,

Anup
 
Posts: 557 | Location: India | Registered: February 12, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
How can i check the scene loading status? I mean i need the scene full load with all textures and meshes.
 
Posts: 6 | Registered: March 26, 2007Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
And one more Smile
Sorry, maybe it is a very simple question, but i need this...
How i can stop SWF after the scene load
Here is my code below

<MTSAction Name="flashOff">
<MTSSetProperty Target="VectorAnim::Path" Value="blank.swf"/>
</MTSAction>
<MTSTimeElem Name="VectorAnim" Type="SWFView" Path="940.swf" On="1" PostAnimator="1" />
<MTSInteractor Name="Interactor_01" >
<MTSHandle Event="MTSLoadDone" Action="flashOff" />
</MTSInteractor>

I try to change path to blank.swf, but it does not work
 
Posts: 6 | Registered: March 26, 2007Reply With QuoteEdit or Delete MessageReport This Post
EnIgMaTiCScOrPioN
Member
Picture of e_phoenix13
Posted Hide Post
Hey!!

Here is the corrected code:
<MTSAction Name="flashOff">
      <MTSAssignProperty Target="MTSTimeElem.VectorAnim::Stop" Value="1"/>
</MTSAction>



Cheers,

Anup
 
Posts: 557 | Location: India | Registered: February 12, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
It works now with ::runs options
<MTSAssignProperty Target="VectorAnim::runs" Value="0" />
 
Posts: 6 | Registered: March 26, 2007Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of Admin
Posted Hide Post
Hi oleg,

Please find attached an example of a progress bar.

Regards

Zip/GZ archiveprogress_bar.zip (18 KB, 15 downloads)
 
Posts: 1188 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Cool, thanks!
But i still have problem.
In your example after the progress bar has disappeared the scene still is being loaded.The textures are being loaded.

Just in my case there are too many textures and loading of the scene does not look especially attractive. It wouldn't be good to show this to the user.Of course I can set the value of Delay higher, but no one knows how long the scene will be loaded on different computers.
Maybe somehow I will be able to find out for sure about the full loading of the scene?

Zip/GZ archivemy_progress_bar.zip (60 KB, 8 downloads)
 
Posts: 6 | Registered: March 26, 2007Reply With QuoteEdit or Delete MessageReport This Post
EnIgMaTiCScOrPioN
Member
Picture of e_phoenix13
Posted Hide Post
Hey !!

I have attached the modified file. You can look at the event collector and add more MTSLoadDone events as per your requirements.

Hope this helps.

Cheers,

Anup

Zip/GZ archiveupdated_bar.zip (57 KB, 14 downloads)
 
Posts: 557 | Location: India | Registered: February 12, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
That`s what i need! Great thanks!
 
Posts: 6 | Registered: March 26, 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community