trung
27-09-2005 18:38:26
Hi,
My graphics card is an onboard card. It displays other Ogre examples well, but has problem with PLSM. While begin running Demo_PagingLandScape2.exe on my computer, using onboard graphics card:
I found 2 threads on main Ogre forum about the same error but the problem is not similar.
Other Ogre examples work well. My other computer using other AGP graphics card runs the demo Demo_PagingLandScape2 well (Difference RenderSystem capabilities from my onboard-card: Hardware generation of mipmaps: yes).
I don't know where to begin debug on code, plz help me resolve the problem. Do I must buy or change my graphics card to support "Hardware generation of mipmaps"? Thanks.
My graphics card is an onboard card. It displays other Ogre examples well, but has problem with PLSM. While begin running Demo_PagingLandScape2.exe on my computer, using onboard graphics card:
23:54:15: RenderSystem capabilities
23:54:15: -------------------------
23:54:15: * Hardware generation of mipmaps: no
23:54:15: * Texture blending: yes
23:54:15: * Anisotropic texture filtering: yes
23:54:15: * Dot product texture operation: yes
23:54:15: * Cube mapping: yes
23:54:15: * Hardware stencil buffer: yes
23:54:15: - Stencil depth: 8
23:54:15: - Two sided stencil support: no
23:54:15: - Wrap stencil values: yes
23:54:15: * Hardware vertex / index buffers: yes
23:54:15: * Vertex programs: yes
23:54:15: - Max vertex program version: vs_3_0
23:54:15: * Fragment programs: no
23:54:15: * Texture Compression: yes
23:54:15: - DXT: yes
23:54:15: - VTC: no
23:54:15: * Scissor Rectangle: yes
23:54:15: * Hardware Occlusion Query: no
23:54:15: * User clip planes: yes
23:54:15: * VET_UBYTE4 vertex element type: yes
23:54:15: * Infinite far plane projection: yes
23:54:15: * Hardware render-to-texture: yes
23:54:15: * Floating point textures: no
23:54:15: * Non-power-of-two textures: yes
23:54:15: * Volume textures: no
23:54:15: ***************************************
23:54:15: *** D3D9 : Subsystem Initialised OK ***
23:54:15: ***************************************
. . .
23:54:17: Finished parsing scripts for resource group PLSM2
23:54:17: Texture: flare.png: Loading 1 faces(PF_B8G8R8,256x256x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
23:54:17: Win32Input8: DirectInput Activation Starts
23:54:17: Win32Input8: Establishing keyboard input.
23:54:17: Win32Input8: Keyboard input established.
23:54:17: Win32Input8: Establishing mouse input.
23:54:17: Win32Input8: Mouse input established.
23:54:17: Win32Input8: DirectInput OK.
23:54:17: Texture: cursor.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
23:54:17: Win32Input8: Establishing keyboard input.
23:54:17: Win32Input8: Keyboard input established.
23:54:17: Win32Input8: Initializing mouse input in immediate mode.
23:54:17: Win32Input8: Mouse input in immediate mode initialized.
23:54:17: Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
23:54:17: Warning: material ImageTexture.4.8gcanyon_texture_4k2k has no supportable Techniques on this hardware, it will be rendered blank.
23:54:17: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: -2005530516
Function: D3D9RenderSystem::_render
Description: Failed to DrawPrimitive : Invalid call.
File: c:\softwaredevelopment\c++\ogresdk\ogrenew\rendersystems\direct3d9\src\ogred3d9rendersystem.cpp
Line: 2163
Stack unwinding: <<beginning of stack>>
23:56:10: *-*-* OGRE Shutdown
I found 2 threads on main Ogre forum about the same error but the problem is not similar.
Other Ogre examples work well. My other computer using other AGP graphics card runs the demo Demo_PagingLandScape2 well (Difference RenderSystem capabilities from my onboard-card: Hardware generation of mipmaps: yes).
I don't know where to begin debug on code, plz help me resolve the problem. Do I must buy or change my graphics card to support "Hardware generation of mipmaps"? Thanks.