I get this error too on some (but most of them work fine) of the examples. Bridge.pb is one of them. Line 146. Invalid memory access. (read error at address 318287904). And I did not choose anything else (window 800*600) as with the examples that do work.
I changed line 18 in
Code: Select all
If InitEngine3D(#PB_Engine3D_DebugLog)
The last part of the ogre.log:
11:44:40: RenderSystem capabilities
11:44:40: -------------------------
11:44:40: RenderSystem Name: Direct3D9 Rendering Subsystem
11:44:40: GPU Vendor: ati
11:44:40: Device Name: Monitor-1-ATI Radeon HD 4600 Series
11:44:40: Driver Version: 8.17.10.1129
11:44:40: * Fixed function pipeline: yes
11:44:40: * Hardware generation of mipmaps: yes
11:44:40: * Texture blending: yes
11:44:40: * Anisotropic texture filtering: yes
11:44:40: * Dot product texture operation: yes
11:44:40: * Cube mapping: yes
11:44:40: * Hardware stencil buffer: yes
11:44:40: - Stencil depth: 8
11:44:40: - Two sided stencil support: yes
11:44:40: - Wrap stencil values: yes
11:44:40: * Hardware vertex / index buffers: yes
11:44:40: * Vertex programs: yes
11:44:40: * Number of floating-point constants for vertex programs: 256
11:44:40: * Number of integer constants for vertex programs: 16
11:44:40: * Number of boolean constants for vertex programs: 16
11:44:40: * Fragment programs: yes
11:44:40: * Number of floating-point constants for fragment programs: 224
11:44:40: * Number of integer constants for fragment programs: 16
11:44:40: * Number of boolean constants for fragment programs: 16
11:44:40: * Geometry programs: no
11:44:40: * Number of floating-point constants for geometry programs: 0
11:44:40: * Number of integer constants for geometry programs: 0
11:44:40: * Number of boolean constants for geometry programs: 0
11:44:40: * 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
11:44:40: * Texture Compression: yes
11:44:40: - DXT: yes
11:44:40: - VTC: no
11:44:40: - PVRTC: no
11:44:40: * Scissor Rectangle: yes
11:44:40: * Hardware Occlusion Query: yes
11:44:40: * User clip planes: yes
11:44:40: * VET_UBYTE4 vertex element type: yes
11:44:40: * Infinite far plane projection: yes
11:44:40: * Hardware render-to-texture: yes
11:44:40: * Floating point textures: yes
11:44:40: * Non-power-of-two textures: yes
11:44:40: * Volume textures: yes
11:44:40: * Multiple Render Targets: 4
11:44:40: - With different bit depths: yes
11:44:40: * Point Sprites: yes
11:44:40: * Extended point parameters: yes
11:44:40: * Max Point Size: 256
11:44:40: * Vertex texture fetch: yes
11:44:40: * Number of world matrices: 0
11:44:40: * Number of texture units: 8
11:44:40: * Stencil buffer depth: 8
11:44:40: * Number of vertex blend matrices: 0
11:44:40: - Max vertex textures: 4
11:44:40: - Vertex textures shared: no
11:44:40: * Render to Vertex Buffer : no
11:44:40: * DirectX per stage constants: yes
11:44:40: DefaultWorkQueue('Root') initialising on thread main.
11:44:40: Particle Renderer Type 'billboard' registered
11:44:40: Texture: Wood.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) Internal format is PF_X8R8G8B8,256x256x1.
11:44:40: Texture: Dirt.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) Internal format is PF_X8R8G8B8,256x256x1.
11:44:40: Texture: ground_mask.png: Loading 1 faces(PF_A8R8G8B8,512x512x1) Internal format is PF_A8R8G8B8,512x512x1.
11:44:40: Texture: ground_diffuse.png: Loading 1 faces(PF_R8G8B8,512x512x1) Internal format is PF_X8R8G8B8,512x512x1.
11:44:40: Texture: desert07_rt.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) Internal format is PF_X8R8G8B8,512x512x1.
11:44:40: Texture: RustySteel.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) Internal format is PF_X8R8G8B8,256x256x1.
11:44:40: Texture: spheremap.png: Loading 1 faces(PF_R8G8B8,256x256x1) Internal format is PF_X8R8G8B8,256x256x1.
11:44:40: Texture: desert07_fr.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) Internal format is PF_X8R8G8B8,512x512x1.
11:44:40: Texture: desert07_bk.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) Internal format is PF_X8R8G8B8,512x512x1.
11:44:40: Texture: desert07_lf.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) Internal format is PF_X8R8G8B8,512x512x1.
11:44:40: Texture: desert07_up.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) Internal format is PF_X8R8G8B8,512x512x1.
11:44:40: Texture: desert07_dn.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) Internal format is PF_X8R8G8B8,512x512x1.
Al