I know im supposed to get accurate timing, But no matter what i set the value to, It still only renders at 8fps. Why is this?
Question: How do i get the time since the last frame update, Without using a combersome frame listener?
Code: Select all
21:49:17: Creating resource group General
21:49:17: Creating resource group Internal
21:49:17: Creating resource group Autodetect
21:49:17: SceneManagerFactory for type 'DefaultSceneManager' registered.
21:49:17: Registering ResourceManager for type Material
21:49:17: Registering ResourceManager for type Mesh
21:49:17: Registering ResourceManager for type Skeleton
21:49:17: MovableObjectFactory for type 'ParticleSystem' registered.
21:49:17: OverlayElementFactory for type Panel registered.
21:49:17: OverlayElementFactory for type BorderPanel registered.
21:49:17: OverlayElementFactory for type TextArea registered.
21:49:17: Registering ResourceManager for type Font
21:49:17: ArchiveFactory for archive type FileSystem registered.
21:49:17: ArchiveFactory for archive type Zip registered.
21:49:17: FreeImage version: 3.10.0
21:49:17: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
21:49:17: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
21:49:17: DDS codec registering
21:49:17: Registering ResourceManager for type HighLevelGpuProgram
21:49:17: Registering ResourceManager for type Compositor
21:49:17: MovableObjectFactory for type 'Entity' registered.
21:49:17: MovableObjectFactory for type 'Light' registered.
21:49:17: MovableObjectFactory for type 'BillboardSet' registered.
21:49:17: MovableObjectFactory for type 'ManualObject' registered.
21:49:17: MovableObjectFactory for type 'BillboardChain' registered.
21:49:17: MovableObjectFactory for type 'RibbonTrail' registered.
21:49:17: OGRE EXCEPTION(6:FileNotFoundException): 'plugins.cfg' file not found! in ConfigFile::load at g:\ogresrc\ogremain\src\ogreconfigfile.cpp (line 84)
21:49:17: plugins.cfg not found, automatic plugin loading disabled.
21:49:17: *-*-* OGRE Initialising
21:49:17: *-*-* Version 1.6.0 (Shoggoth)
21:49:17: Added resource location '../media/fonts' of type 'FileSystem' to resource group 'General'
21:49:17: Added resource location '../media/gui' of type 'FileSystem' to resource group 'General'
21:49:17: Added resource location '../Media/materials/programs' of type 'FileSystem' to resource group 'General'
21:49:17: Added resource location '../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
21:49:17: Added resource location '../Media/materials/textures' of type 'FileSystem' to resource group 'General'
21:49:17: Added resource location '../Media/packs/SkyBoxes.zip' of type 'Zip' to resource group 'General'
21:49:17: Creating resource group Hydrax
21:49:17: Added resource location '../Media/Hydrax' of type 'FileSystem' to resource group 'Hydrax'
21:49:17: Creating resource group Mesh
21:49:17: Added resource location '../media/models' of type 'FileSystem' to resource group 'Mesh'
21:49:17: Loading library RenderSystem_Direct3D9_d
21:49:17: Installing plugin: D3D9 RenderSystem
21:49:17: D3D9 : Direct3D9 Rendering Subsystem created.
21:49:17: D3D9: Driver Detection Starts
21:49:17: D3D9: Driver Detection Ends
21:49:17: Plugin successfully installed
21:49:17: Loading library RenderSystem_GL_d
21:49:18: Installing plugin: GL RenderSystem
21:49:18: OpenGL Rendering Subsystem created.
21:49:18: Plugin successfully installed
21:49:18: Loading library Plugin_ParticleFX_d
21:49:18: Installing plugin: ParticleFX
21:49:18: Particle Emitter Type 'Point' registered
21:49:18: Particle Emitter Type 'Box' registered
21:49:18: Particle Emitter Type 'Ellipsoid' registered
21:49:18: Particle Emitter Type 'Cylinder' registered
21:49:18: Particle Emitter Type 'Ring' registered
21:49:18: Particle Emitter Type 'HollowEllipsoid' registered
21:49:18: Particle Affector Type 'LinearForce' registered
21:49:18: Particle Affector Type 'ColourFader' registered
21:49:18: Particle Affector Type 'ColourFader2' registered
21:49:18: Particle Affector Type 'ColourImage' registered
21:49:18: Particle Affector Type 'ColourInterpolator' registered
21:49:18: Particle Affector Type 'Scaler' registered
21:49:18: Particle Affector Type 'Rotator' registered
21:49:18: Particle Affector Type 'DirectionRandomiser' registered
21:49:18: Particle Affector Type 'DeflectorPlane' registered
21:49:18: Plugin successfully installed
21:49:18: Loading library Plugin_BSPSceneManager_d
21:49:18: Installing plugin: BSP Scene Manager
21:49:18: Plugin successfully installed
21:49:18: Loading library Plugin_CgProgramManager_d
21:49:19: Installing plugin: Cg Program Manager
21:49:19: Plugin successfully installed
21:49:19: Loading library Plugin_OctreeSceneManager_d
21:49:19: Installing plugin: Octree & Terrain Scene Manager
21:49:19: Plugin successfully installed
21:49:19: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
21:49:19: D3D9 : RenderSystem Option: Anti aliasing = No
21:49:19: D3D9 : RenderSystem Option: Floating-point mode = Fastest
21:49:19: D3D9 : RenderSystem Option: Full Screen = No
21:49:19: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 8800 GTS
21:49:19: D3D9 : RenderSystem Option: VSync = No
21:49:19: D3D9 : RenderSystem Option: Video Mode = 1054 x 768 @ 32-bit colour
21:49:19: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
21:49:19: CPU Identifier & Features
21:49:19: -------------------------
21:49:19: * CPU ID: AuthenticAMD: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
21:49:19: * SSE: yes
21:49:19: * SSE2: yes
21:49:19: * SSE3: yes
21:49:19: * MMX: yes
21:49:19: * MMXEXT: yes
21:49:19: * 3DNOW: yes
21:49:19: * 3DNOWEXT: yes
21:49:19: * CMOV: yes
21:49:19: * TSC: yes
21:49:19: * FPU: yes
21:49:19: * PRO: yes
21:49:19: * HT: no
21:49:19: -------------------------
21:49:19: D3D9 : Subsystem Initialising
21:49:19: D3D9RenderSystem::_createRenderWindow "Chavkill: The Beginning", 1054x768 windowed miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 gamma=false useNVPerfHUD=false vsync=false
21:49:19: D3D9 : Created D3D9 Rendering Window 'Chavkill: The Beginning' : 1054x768, 32bpp
21:49:19: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
21:49:19: Registering ResourceManager for type Texture
21:49:19: Registering ResourceManager for type GpuProgram
21:49:19: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
21:49:19: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
21:49:19: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
21:49:19: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
21:49:19: D3D9: Vertex texture format supported - PF_FLOAT16_R
21:49:19: D3D9: Vertex texture format supported - PF_FLOAT32_R
21:49:19: D3D9: Vertex texture format supported - PF_FLOAT16_GR
21:49:19: D3D9: Vertex texture format supported - PF_FLOAT32_GR
21:49:19: RenderSystem capabilities
21:49:19: -------------------------
21:49:19: RenderSystem Name: Direct3D9 Rendering Subsystem
21:49:19: GPU Vendor: nvidia
21:49:19: Device Name: NVIDIA GeForce 8800 GTS
21:49:19: Driver Version: 6.14.11.8084
21:49:19: * Fixed function pipeline: yes
21:49:19: * Hardware generation of mipmaps: yes
21:49:19: * Texture blending: yes
21:49:19: * Anisotropic texture filtering: yes
21:49:19: * Dot product texture operation: yes
21:49:19: * Cube mapping: yes
21:49:19: * Hardware stencil buffer: yes
21:49:19: - Stencil depth: 8
21:49:19: - Two sided stencil support: yes
21:49:19: - Wrap stencil values: yes
21:49:19: * Hardware vertex / index buffers: yes
21:49:19: * Vertex programs: yes
21:49:19: * Fragment programs: yes
21:49:19: * Geometry programs: no
21:49:19: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
21:49:19: * Texture Compression: yes
21:49:19: - DXT: yes
21:49:19: - VTC: no
21:49:19: * Scissor Rectangle: yes
21:49:19: * Hardware Occlusion Query: yes
21:49:19: * User clip planes: yes
21:49:19: * VET_UBYTE4 vertex element type: yes
21:49:19: * Infinite far plane projection: yes
21:49:19: * Hardware render-to-texture: yes
21:49:19: * Floating point textures: yes
21:49:19: * Non-power-of-two textures: yes
21:49:19: * Volume textures: yes
21:49:19: * Multiple Render Targets: 4
21:49:19: - With different bit depths: yes
21:49:19: * Point Sprites: yes
21:49:19: * Extended point parameters: yes
21:49:19: * Max Point Size: 8192
21:49:19: * Vertex texture fetch: yes
21:49:19: - Max vertex textures: 4
21:49:19: - Vertex textures shared: no
21:49:19: * Render to Vertex Buffer : no
21:49:19: * DirectX per stage constants: yes
21:49:19: ***************************************
21:49:19: *** D3D9 : Subsystem Initialised OK ***
21:49:19: ***************************************
21:49:19: ResourceBackgroundQueue - threading enabled, starting own thread
21:49:19: ResourceBackgroundQueue - thread starting.
21:49:19: Particle Renderer Type 'billboard' registered
21:49:19: SceneManagerFactory for type 'BspSceneManager' registered.
21:49:19: Registering ResourceManager for type BspLevel
21:49:19: SceneManagerFactory for type 'OctreeSceneManager' registered.
21:49:19: SceneManagerFactory for type 'TerrainSceneManager' registered.
21:49:19: TerrainSceneManager: Registered a new PageSource for type Heightmap
21:49:19: [Hydrax] Hydrax created.
21:49:19: [Hydrax] HydraxDemo.hdx loaded.
21:49:19: [Hydrax] Creating module...
21:49:19: [Hydrax] Creating ProjectedGridVertex module.
21:49:19: [Hydrax] ProjectedGridVertex created.
21:49:19: [Hydrax] Module created.
21:49:19: [Hydrax] Initializating RTT Manager...
21:49:19: [Hydrax] RTT manager initialized.
21:49:19: [Hydrax] Registring device restored listener...
21:49:19: [Hydrax] Device restored listener registred.
21:49:19: [Hydrax] Creating materials...
21:49:19: [Hydrax] Creating water material...
21:49:19: Texture: Fresnel.bmp: Loading 1 faces(PF_L8,256x1x1) with 8 generated mipmaps from Image. Internal format is PF_L8,256x1x1.
21:49:19: Texture: Foam.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
21:49:19: [Hydrax] Water material created.
21:49:19: [Hydrax] Creating depth material...
21:49:19: Texture: Caustics_0.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_1.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_2.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_3.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_4.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_5.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_6.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_7.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_8.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_9.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_10.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_11.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_12.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_13.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_14.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_15.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_16.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_17.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_18.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_19.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_20.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_21.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_22.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_23.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_24.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_25.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_26.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_27.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_28.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_29.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_30.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: Texture: Caustics_31.bmp: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
21:49:19: [Hydrax] Depth material created.
21:49:19: [Hydrax] Creating underwater material...
21:49:19: Texture: UnderwaterDistortion.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
21:49:19: [Hydrax] Underwater material created.
21:49:19: [Hydrax] Materials created.
21:49:19: [Hydrax] Creating god rays...
21:49:19: [Hydrax] Perlin destroyed.
21:49:19: [Hydrax] God rays created.
21:49:19: [Hydrax] Creating water mesh...
21:49:19: [Hydrax] Water mesh created.
21:49:19: Parsing scripts for resource group Autodetect
21:49:19: Finished parsing scripts for resource group Autodetect
21:49:19: Parsing scripts for resource group General
21:49:19: Parsing script Island.material
21:49:20: Parsing script Palm.material
21:49:20: Parsing script SkyBox.material
21:49:20: Parsing script sample.fontdef
21:49:20: Finished parsing scripts for resource group General
21:49:20: Parsing scripts for resource group Hydrax
21:49:20: Finished parsing scripts for resource group Hydrax
21:49:20: Parsing scripts for resource group Internal
21:49:20: Finished parsing scripts for resource group Internal
21:49:20: Parsing scripts for resource group Mesh
21:49:20: Finished parsing scripts for resource group Mesh
21:49:20: Texture: TaharezLook.tga: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
21:49:20: Texture: _cegui_ogre_0: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
21:49:20: Texture: _cegui_ogre_1: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
21:49:20: Texture: _cegui_ogre_2: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
I hope someone can help, As this would be great to use in my naval game.
Cheers, Scratchyrice.