Economiseur d'écran - testeurs demandés

Sujets variés concernant le développement en PureBasic
kelebrindae
Messages : 579
Inscription : ven. 11/mai/2007 15:21

Economiseur d'écran - testeurs demandés

Message par kelebrindae »

Bonjour !

J'ai transformé mon générateur d'attracteurs étranges en économiseur d'écran, et j'aimerais avoir votre avis et vos signalements de bugs. :mrgreen:

Pour ceux que ça intéresse, voici comment procéder:
- Récupérer le fichier d'install sur cette page: http://keleb.free.fr/codecorner/screensavers03.htm
- Installer le programme;
- Allez dans l'onglet "Ecran de veille" des Propriétés de l'affichage;
- Dans la liste des écrans de veille disponibles, choisissez "Strange Nebulae".


Je pense que cet économiseur est un peu exigeant côté hardware, il est donc possible que ça rame un peu (j'ai tout juste 60 FPS avec un Dual Core 2,3Ghz 3 Go de RAM + ATI Radeon 3400).
J'aimerais bien savoir ce que ça donne chez vous. Et puis si vous voyez des bugs, des trucs bizarres, ou même des fautes d'orthographes, je suis preneur aussi...

:) Merci d'avance! :)


NB: La DLL livrée dans le .zip est en fait "engine3d.dll" renommée. Ce n'est pas pour m'attribuer le travail de Fred et son équipe (loin de moi cette idée), mais pour les deux raisons suivantes:
- ça facilite la lisibilité des fichiers installés / désinstallés (comme ils ont le même nom, on sait que la dll sert au .scr)
- si plusieurs économiseurs d'écran programmés avec PB sont installés, ça évite que la désinstallation de l'un empêche tous les autres de marcher.
Malgré tout, le procédé me gène un peu; si quelqu'un a une autre solution, ça m'intéresse. :?
Dernière modification par kelebrindae le mer. 01/sept./2010 16:13, modifié 2 fois.
Les idées sont le souvenir de choses qui ne se sont pas encore produites.
kelebrindae
Messages : 579
Inscription : ven. 11/mai/2007 15:21

Re: Economiseur d'écran - testeurs demandés

Message par kelebrindae »

Personne ? :|
Les idées sont le souvenir de choses qui ne se sont pas encore produites.
Avatar de l’utilisateur
SPH
Messages : 4947
Inscription : mer. 09/nov./2005 9:53

Re: Economiseur d'écran - testeurs demandés

Message par SPH »

kelebrindae a écrit :Personne ? :|
Si, moi. :P

Ca tourne bien, c'est beau, et ca morph de temps en temps. L'effet de surprise est passé puisque tu avais deja publié le code pb

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Intel Core i7 4770 64 bits - GTX 650 Ti
Version de PB : 6.12LTS- 64 bits
kelebrindae
Messages : 579
Inscription : ven. 11/mai/2007 15:21

Re: Economiseur d'écran - testeurs demandés

Message par kelebrindae »

L'effet de surprise est passé puisque tu avais deja publié le code
Oui, c'est vrai, je comprends...

Merci de ton aide, en tout cas! :)
Les idées sont le souvenir de choses qui ne se sont pas encore produites.
Avatar de l’utilisateur
Huitbit
Messages : 940
Inscription : jeu. 08/déc./2005 5:19
Localisation : Guadeloupe

Re: Economiseur d'écran - testeurs demandés

Message par Huitbit »

Hello !

Ca marche pas chez moi (windows XP sp3) :cry:

Peux-tu mettre un screenshot ?
STRANG~1.SCR a rencontré un problème et doit fermer. Nous vous prions de nous excuser pour le désagrément encouru.
Rapport Ogre
09:56:21: Creating resource group General
09:56:21: Creating resource group Internal
09:56:21: Creating resource group Autodetect
09:56:21: SceneManagerFactory for type 'DefaultSceneManager' registered.
09:56:21: Registering ResourceManager for type Material
09:56:21: Registering ResourceManager for type Mesh
09:56:21: Registering ResourceManager for type Skeleton
09:56:21: MovableObjectFactory for type 'ParticleSystem' registered.
09:56:21: OverlayElementFactory for type Panel registered.
09:56:21: OverlayElementFactory for type BorderPanel registered.
09:56:21: OverlayElementFactory for type TextArea registered.
09:56:21: Registering ResourceManager for type Font
09:56:21: ArchiveFactory for archive type FileSystem registered.
09:56:21: ArchiveFactory for archive type Zip registered.
09:56:21: FreeImage version: 3.10.0
09:56:21: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
09:56:21: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,koa,iff,lbm,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,dds,gif,g3,sgi,j2k,j2c,jp2
09:56:21: DDS codec registering
09:56:21: Registering ResourceManager for type HighLevelGpuProgram
09:56:21: Registering ResourceManager for type Compositor
09:56:21: MovableObjectFactory for type 'Entity' registered.
09:56:21: MovableObjectFactory for type 'Light' registered.
09:56:21: MovableObjectFactory for type 'BillboardSet' registered.
09:56:21: MovableObjectFactory for type 'ManualObject' registered.
09:56:21: MovableObjectFactory for type 'BillboardChain' registered.
09:56:21: MovableObjectFactory for type 'RibbonTrail' registered.
09:56:21: OGRE EXCEPTION(6:FileNotFoundException): 'plugins.cfg' file not found! in ConfigFile::load at OgreConfigFile.cpp (line 84)
09:56:21: plugins.cfg not found, automatic plugin loading disabled.
09:56:21: *-*-* OGRE Initialising
09:56:21: *-*-* Version 1.6.2 (Shoggoth)
09:56:21: D3D9 : Direct3D9 Rendering Subsystem created.
09:56:21: D3D9: Driver Detection Starts
09:56:21: D3D9: Driver Detection Ends
09:56:21: Particle Emitter Type 'Point' registered
09:56:21: Particle Emitter Type 'Box' registered
09:56:21: Particle Emitter Type 'Ellipsoid' registered
09:56:21: Particle Emitter Type 'Cylinder' registered
09:56:21: Particle Emitter Type 'Ring' registered
09:56:21: Particle Emitter Type 'HollowEllipsoid' registered
09:56:21: Particle Affector Type 'LinearForce' registered
09:56:21: Particle Affector Type 'ColourFader' registered
09:56:21: Particle Affector Type 'ColourFader2' registered
09:56:21: Particle Affector Type 'ColourImage' registered
09:56:21: Particle Affector Type 'ColourInterpolator' registered
09:56:21: Particle Affector Type 'Scaler' registered
09:56:21: Particle Affector Type 'Rotator' registered
09:56:21: Particle Affector Type 'DirectionRandomiser' registered
09:56:21: Particle Affector Type 'DeflectorPlane' registered
09:56:21: CPU Identifier & Features
09:56:21: -------------------------
09:56:21: * CPU ID: GenuineIntel: Intel(R) Celeron(R) D CPU 3.20GHz
09:56:21: * SSE: yes
09:56:21: * SSE2: yes
09:56:21: * SSE3: yes
09:56:21: * MMX: yes
09:56:21: * MMXEXT: yes
09:56:21: * 3DNOW: no
09:56:21: * 3DNOWEXT: no
09:56:21: * CMOV: yes
09:56:21: * TSC: yes
09:56:21: * FPU: yes
09:56:21: * PRO: yes
09:56:21: * HT: yes
09:56:21: -------------------------
09:56:21: D3D9 : Subsystem Initialising
09:56:21: ***************************************
09:56:21: *** D3D9 : Subsystem Initialised OK ***
09:56:21: ***************************************
09:56:21: SceneManagerFactory for type 'OctreeSceneManager' registered.
09:56:21: SceneManagerFactory for type 'TerrainSceneManager' registered.
09:56:21: SceneManagerFactory for type 'BspSceneManager' registered.
09:56:21: Registering ResourceManager for type BspLevel
09:56:22: Added resource location 'C:\Documents and Settings\HP_Propriétaire\Local Settings\Temp\' of type 'FileSystem' to resource group 'General'
09:56:22: D3D9RenderSystem::_createRenderWindow "PureBasic Ogre", 0x0 fullscreen miscParams: FSAA=0 colourDepth=32 displayFrequency=0 externalWindowHandle=918810 vsync=true
09:56:22: D3D9 : Created D3D9 Rendering Window 'PureBasic Ogre' : 1024x768, 32bpp
09:56:22: Registering ResourceManager for type Texture
09:56:22: Registering ResourceManager for type GpuProgram
09:56:22: RenderSystem capabilities
09:56:22: -------------------------
09:56:22: RenderSystem Name: Direct3D9 Rendering Subsystem
09:56:22: GPU Vendor: ati
09:56:22: Device Name: ATI RADEON XPRESS 200 Series
09:56:22: Driver Version: 6.14.10.6614
09:56:22: * Fixed function pipeline: yes
09:56:22: * Hardware generation of mipmaps: yes
09:56:22: * Texture blending: yes
09:56:22: * Anisotropic texture filtering: yes
09:56:22: * Dot product texture operation: yes
09:56:22: * Cube mapping: yes
09:56:22: * Hardware stencil buffer: yes
09:56:22: - Stencil depth: 8
09:56:22: - Two sided stencil support: yes
09:56:22: - Wrap stencil values: yes
09:56:22: * Hardware vertex / index buffers: yes
09:56:22: * Vertex programs: yes
09:56:22: * Fragment programs: yes
09:56:22: * Geometry programs: no
09:56:22: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 vs_1_1 vs_2_0
09:56:22: * Texture Compression: yes
09:56:22: - DXT: yes
09:56:22: - VTC: no
09:56:22: * Scissor Rectangle: yes
09:56:22: * Hardware Occlusion Query: yes
09:56:22: * User clip planes: yes
09:56:22: * VET_UBYTE4 vertex element type: yes
09:56:22: * Infinite far plane projection: yes
09:56:22: * Hardware render-to-texture: yes
09:56:22: * Floating point textures: yes
09:56:22: * Non-power-of-two textures: yes (limited)
09:56:22: * Volume textures: yes
09:56:22: * Multiple Render Targets: 4
09:56:22: - With different bit depths: no
09:56:22: * Point Sprites: yes
09:56:22: * Extended point parameters: yes
09:56:22: * Max Point Size: 256
09:56:22: * Vertex texture fetch: no
09:56:22: * Render to Vertex Buffer : no
09:56:22: * DirectX per stage constants: no
09:56:22: ResourceBackgroundQueue - threading disabled
09:56:22: Particle Renderer Type 'billboard' registered
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp1.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp2.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp3.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp4.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp5.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp6.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp7.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp8.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp9.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp10.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp11.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp12.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp13.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp14.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp15.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp16.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp17.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp18.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp19.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp20.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp21.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp22.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp23.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp24.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp25.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp26.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp27.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp28.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp29.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp30.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp31.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp32.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp33.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp34.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp35.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp36.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp37.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp38.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp39.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp40.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp41.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp42.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp43.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp44.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp45.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp46.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp47.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp48.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp49.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp50.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp51.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp52.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp53.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp54.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp55.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp56.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp57.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp58.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp59.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp60.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp61.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp62.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp63.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
09:56:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp64.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
Hasta la vista !
Elevé au MSX !
kelebrindae
Messages : 579
Inscription : ven. 11/mai/2007 15:21

Re: Economiseur d'écran - testeurs demandés

Message par kelebrindae »

Tiens? C'est bizarre...

Je génère les textures au début de l'exécution du programme dans le répertoire temporaire de ta session Windows (que je récupère avec "GetTemporaryDirectory()").
Puis j'ajoute ce même répertoire aux ressources de Ogre en faisant: "Add3DArchive(GetTemporaryDirectory(), #PB_3DArchive_FileSystem)" .
=> Ogre l'indique dans le log:
09:56:22: Added resource location 'C:\Documents and Settings\HP_Propriétaire\Local Settings\Temp\' of type 'FileSystem' to resource group 'General'
Pourtant, il semblerait que chez toi, le programme n'arrive pas ensuite à retrouver ces textures. :?
09:56:23: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource temp1.bmp in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 753)
Normalement, dans le répertoire temporaire, n'importe quel programme devrait avoir le droit d'écrire, non?

Pourrais-tu aller voir dans ce répertoire si les fichiers "temp[n°].bmp" s'y trouvent, s'il te plaît?
Les idées sont le souvenir de choses qui ne se sont pas encore produites.
Avatar de l’utilisateur
GallyHC
Messages : 1708
Inscription : lun. 17/déc./2007 12:44

Re: Economiseur d'écran - testeurs demandés

Message par GallyHC »

Bonjour,

Tout fonctionne au depart. Apres quelque seconde (~30 seconde), je passe de 37/40 FPS a 2/4FPS

Cordialement,
GallyHC
Configuration : Tower: Windows 10 (Processeur: i7 "x64") (Mémoire: 16Go) (GeForce GTX 760 - 2Go) - PureBasic 5.72 (x86 et x64)
Avatar de l’utilisateur
Huitbit
Messages : 940
Inscription : jeu. 08/déc./2005 5:19
Localisation : Guadeloupe

Re: Economiseur d'écran - testeurs demandés

Message par Huitbit »

Hugh !

Aucune trace des images !

Le problème doit venir de chez moi.
J'avais fait un programme pour créer et lire un fichier midi dans le répertoire temporaire avec des data.
Je l'ai reessayé pour faire un test avec le dossier des fichiers temporaires.
Bilan : le fichier est bien crée dans le répertoire temporaire mais il n'est pas lu !
Ce programme fonctionnait avant sans problème :?

J'espère que ce n'est pas encore un coup de Norton :x

Hasta la vista !

[EDIT] mon programme marche à nouveau(un programme avait désactivé la sortie synthé SW) mais pas l'économiseur d'écran, mon dossier temporaire est donc accessible. Quelqu'un a-t-il le même problème que moi ? [EDIT]

PS: je peux retirer le rapport ogre (car il prend de la place)?
Elevé au MSX !
Avatar de l’utilisateur
SPH
Messages : 4947
Inscription : mer. 09/nov./2005 9:53

Re: Economiseur d'écran - testeurs demandés

Message par SPH »

Sur mon XP SP3, ca fonctionne (comme sur mon vista)

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Intel Core i7 4770 64 bits - GTX 650 Ti
Version de PB : 6.12LTS- 64 bits
Avatar de l’utilisateur
venom
Messages : 3137
Inscription : jeu. 29/juil./2004 16:33
Localisation : Klyntar
Contact :

Re: Economiseur d'écran - testeurs demandés

Message par venom »

60 fps constant chez moi aucun souci.
pour la config se référencer a ma signature :wink:









@++
Windows 10 x64, PureBasic 5.73 x86 & x64
GPU : radeon HD6370M, CPU : p6200 2.13Ghz
Avatar de l’utilisateur
Ar-S
Messages : 9540
Inscription : dim. 09/oct./2005 16:51
Contact :

Re: Economiseur d'écran - testeurs demandés

Message par Ar-S »

Pas de soucis pour moi,
=> 75 fps constant

Par contre le but d'un économiseur d'écran est me semble t il de ne pas laisser les pixels dans le même état longtemps, hors ici, la majorité des pixels restent noirs. Ne pourrais tu pas implémenter un genre d"effet plasma en background ? ça risque de faire ramer le pépé mais ce serait bien.
~~~~Règles du forum ~~~~
⋅.˳˳.⋅ॱ˙˙ॱ⋅.˳Ar-S ˳.⋅ॱ˙˙ॱ⋅.˳˳.⋅
W11x64 PB 6.x
Section HORS SUJET : ICI
LDV MULTIMEDIA : Dépannage informatique & mes Logiciels PB
UPLOAD D'IMAGES : Uploader des images de vos logiciels
Le Soldat Inconnu
Messages : 4312
Inscription : mer. 28/janv./2004 20:58
Localisation : Clermont ferrand OU Olsztyn
Contact :

Re: Economiseur d'écran - testeurs demandés

Message par Le Soldat Inconnu »

Pareil, fonctionne nickel sous XP SP3, 75 de FPS
Je ne suis pas à moitié Polonais mais ma moitié est polonaise ... Vous avez suivi ?

[Intel quad core Q9400 2.66mhz, ATI 4870, 4Go Ram, XP (x86) / 7 (x64)]
Avatar de l’utilisateur
TazNormand
Messages : 1297
Inscription : ven. 27/oct./2006 12:19
Localisation : Calvados (14)

Re: Economiseur d'écran - testeurs demandés

Message par TazNormand »

Salut

Sous Vista x86 SP2, je suis à 19FPS avec Kaspersky activé, et ~60FPS quand il est désactivé.

Il me reste juste à demander à KIS de mettre ton économiseur en appli de confiance.
Image
Image
Malo
Messages : 79
Inscription : dim. 09/août/2009 17:48

Re: Economiseur d'écran - testeurs demandés

Message par Malo »

Bonsoir


Vista
NVIDIA GeForce 8600M GS
Duo CPU T7250 2Ghz
RAM 2G
60FPS pratiquement constant

Cela fonctionne bien , mais le processeur doit être
bien sollicité car le ventilo tourne plein pot
kelebrindae
Messages : 579
Inscription : ven. 11/mai/2007 15:21

Re: Economiseur d'écran - testeurs demandés

Message par kelebrindae »

Grand merci à tous pour votre aide! :D

(Je suis en vacances, mais je profite d'un passage éclair au bureau aujourd'hui pour répondre)

@Ar-S:
Le risque de griller les pixels n'existe que pour les pixels qui restent "allumés" longtemps avec la même couleur; pour ceux qui restent noirs (éteints), pas de problème.
Par contre, ta remarque reste exacte pour l'heure et les FPS: il faudrait que je fasse bouger ces affichages pour éviter les soucis...

@GallyHC:
Bizarre, ce ralentissement au bout de 30 secondes; ça le fait à chaque fois ?
=> l'économiseur "morphe" d'une forme à une autre de deux façons différentes (choisie au hasard): soit il fait bouger tous les points à la fois de façon un peu saccadée tout en les recolorant, soit il en fait bouger seulement une partie et les recolore seulement quand tous ont fini de bouger. Est-ce que le ralentissement intervient dans les deux cas ?

@huitbit:
Je ne vois pas trop d'où vient le problème... Soit le programme n'arrive pas à écrire vers le répertoire temporaire, soit il n'arrive pas à générer les images.
Je te propose un petit test: voici un extrait du code que j'utilise pour générer les textures, auquel j'ai ajouté des "debug" pour voir ce qu'il se passe.
Normalement, toutes les valeurs affichées doivent être différentes de zéro.

Code : Tout sélectionner

; ********** Procédure "FilterCallback" *************
Procedure StarFilterCallback(x, y, SourceColor, TargetColor)
  Protected a.f = Red(TargetColor)/255.0
  ProcedureReturn RGBA(Red(SourceColor)*a, Green(SourceColor)*a, Blue(SourceColor)*a, 255)
EndProcedure

; ********** Création et enregistrement de l'image puis de la texture *************
Procedure createStarImage()
  Protected i.i,redval.i = 255,greenval.i = 0,blueval.i = 255
  Protected tempdir.s

  ; Répertoire temporaire
  tempdir = GetTemporaryDirectory()
  Debug "Répertoire temporaire: " + tempdir

  ; Image de l'étoile
  Debug "Résultat du 'CatchImage': " + Str(CatchImage(999, ?flare))
  Debug "Image de l'étoile Ok: " + Str(IsImage(999))

  ; Génération de l'image
  CreateImage(1,256,256)
  StartDrawing(ImageOutput(1))
    
    DrawImage(ImageID(999), 0, 0)      
    DrawingMode(#PB_2DDrawing_CustomFilter)      
    Debug "Résultat du 'CustomFilterCallback': " + Str(CustomFilterCallback(@StarFilterCallback()))
    Box(0,0,256,256,RGB(redval,greenval,blueval))
    
  StopDrawing()
  Debug "Image n°1 Ok: " + Str(IsImage(1))
    
  Debug "Résultat du 'SaveImage': " + Str(SaveImage(1,tempdir+"temp1.bmp"))
  FreeImage(1)
  
  Debug "Résultat du 'LoadTexture': " + Str(LoadTexture(1,"temp1.bmp"))
  Debug "Résultat du 'DeleteFile': " + Str(DeleteFile(tempdir+"temp1.bmp"))
  
  Debug "Résultat du 'CreateMaterial': " + Str(CreateMaterial(1, TextureID(1)))
  DisableMaterialLighting(1, #True)
  MaterialBlendingMode(1, 2)
  
  Debug "Material n°1 Ok: " + Str(IsMaterial(1))
  
EndProcedure

; ********** Programme principal *************
; Tout ce bazar est obligatoire avant d'utiliser "LoadTexture"
If InitEngine3D() = 0 
  MessageRequester( "Error" , "Can't initialize 3D") 
  End
ElseIf InitSprite() = 0
  MessageRequester( "Error" , "Can't find DirectX") 
  End 
EndIf 
OpenWindow(0,0,0,640,480,"test")
OpenWindowedScreen(WindowID(0),0,0,640,480,0,0,0,#PB_Screen_SmartSynchronization)
; [fin du bazar]

; On référence le répertoire temporaire dans les ressources OGRE
Add3DArchive(GetTemporaryDirectory(), #PB_3DArchive_FileSystem)

; Création de la texture ; tout ce qui est affiché dans le Debug doit être <> 0
UsePNGImageDecoder()
createStarImage()
End

; ********** Image *************
DataSection
  flare: IncludeBinary "flare.png"
EndDataSection
Et voici l'image utilisée: Image
Les idées sont le souvenir de choses qui ne se sont pas encore produites.
Répondre