LouiZeForum

3D vrml
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  3Dchats / forums3Dchats / forums  

Share
 

 Preloader

Go down 
AuthorMessage
alain
fondateur
fondateur
alain

Number of posts : 23306
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

Preloader Empty
PostSubject: Preloader   Preloader EmptyTue 6 Oct - 11:37

I tried the preloader from

http://christler.cedric.free.fr/test/Tutorial_Prechargement_de_Texture.PDF


with a wrl of 1.7 MO

http://mixed3d.free.fr/terrier/no_cache/preloader/bigwoman7.wrl

and an image of 1.4 MO

I wonder why I dont see the blue bar increasing

have you it ??

I just see the loading gif

_________________
http://mixed3d.net/
Back to top Go down
View user profile
alain
fondateur
fondateur
alain

Number of posts : 23306
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

Preloader Empty
PostSubject: Re: Preloader   Preloader EmptyTue 6 Oct - 19:28

isa me dit :

Quote :
perso je vois la barre jaune mais pas de barre bleue comme dans l'exemple test du pdf ...

bravo et merci isa !

mais je sais pas pourquoi mon truc marche si mal , alors Sad

comme legloups est fonctionnaire et qu'il a du temps de libre , Smile
peut être qu'il pourra regarder ce qui me manque

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000
peter le cochon

Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

Preloader Empty
PostSubject: Re: Preloader   Preloader EmptyTue 6 Oct - 20:10

What the fuck ?!?

If you put debug TRUE in DEF loader C3D_ResourceLoader you will get some feedback from the script in the console :

Quote :

BS Contact VRML/X3D
Version 7.206, built on Jun 4 2009
Copyright (C) 1997 - 2009 by Bitmanagement Software GmbH

--------------------------------------------------------------------------------------------
Loading scene C:\Users\Sommer\AppData\Local\Temp\~VPTMP14.wrl

C3D_ResourceLoader.initialize()
C3D_ResourceLoader.total = 2
C3D_ResourceLoader.startLoading(true)
C3D_ResourceLoader.startLoadingTime()
C3D_ResourceLoader.startLoadingTime().addRoute() x 2
C3D_ResourceLoader.startLoadingTime().resourceToggle.toggle = true
C3D_ResourceLoader.updateProgress().string_changed = Loaded Resource 0 of 2 (0%)
File Error 'C:/Users/Sommer/Desktop/loading.gif': Das System kann die angegebene Datei nicht finden. (2)
Download http://mixed3d.free.fr/terrier/no_cache/images/Upload/big6.jpg : Error:Object not found (800c0006)
referred from C:\Users\Sommer\AppData\Local\Temp\~VPTMP14.wrl as ImageTexture
Can't download 'http://mixed3d.free.fr/terrier/no_cache/images/Upload/big6.jpg' : (800c0006)
C3D_ResourceLoader.isLoaded().loaded = 1
C3D_ResourceLoader.updateProgress().string_changed = Loaded Resource 1 of 2 (50%)
C3D_ResourceLoader.isLoaded().loaded = 2
C3D_ResourceLoader.updateProgress().string_changed = Loaded Resource 2 of 2 (100%)
C3D_ResourceLoader.terminate()
C3D_ResourceLoader.terminate().deleteRoute() x 2
C3D_ResourceLoader.terminate().resourceToggle.toggle = false

big6.jpg. is not found, so it can't be shown Laughing ...

At the other hand, loading twice the same ressource will not allow to see any loading-bar :

0% shows before loading
50% and 100% will be reached simulatneously when the ressource is downloaded the first time (no_cache does not help in this case).



pig
Back to top Go down
View user profile
alain
fondateur
fondateur
alain

Number of posts : 23306
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

Preloader Empty
PostSubject: Re: Preloader   Preloader EmptyTue 6 Oct - 23:17

ah OK , many thanx , Peter !

I made , as always ,

a bigwoman , then a bigwoman2 , then a bigwoman3 etc , and
I am too quick as always , and I make always mistakes Sad


In october 2004 I have read , about my stuff

"on se dit "Wouaip, pertinent" ou "Bien choisi", ou encore "Zut, c'est quoi ce truc avec trois kilomètres de bugs en console ?"

ahaha

and at that moment I felt that is was a 'compliment' , now I am less sure LOL

And yes at that time I was not used to take a look at the console Sad


Ok ,thanks , I think I corriged some bugs , new trying here
( where I saw the blue bar )


http://mixed3d.free.fr/terrier/no_cache/preloader/bigwoman89_3_.wrl



many thanks for debugging me , Peter Smile)

( hard work btw Smile


..........


hey , you know what ?

I work on that because I work "for"/with my friend Jean-Yves ,

and as he has very beautiful paintings ,

if we want to show them as huge files ,
it could be good to have this preloader


Btw the preloader is just a way to wait ,

but people could clean the plates during that time ,
or have a drink Smile

_________________
http://mixed3d.net/
Back to top Go down
View user profile
Sponsored content




Preloader Empty
PostSubject: Re: Preloader   Preloader Empty

Back to top Go down
 
Preloader
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
LouiZeForum :: ARTS :: 3D art :: Script-
Jump to: