bigjhnny
19-03-2006 04:41:03
Is there any reason that creating an entity after the render loop starts raises an error?
raises
If I preload that same entity before render loop starts, and load it again afterwards, everything is fine.
What is stranger? My code doesn't work with my computer with GeForce ti4200. However, it does work fine with my dual core amd with GeForce 6800XT!
Any clues anyone? Should I post this to the general forum?
entity = sceneManager.createEntity('robot', 'robot.mesh')
raises
...
22:18:03: Mesh: Loading robot.mesh.
22:18:03: Skeleton: Loading robot.skeleton
22:18:03: Texture: r2skin.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
22:18:03: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: Ogre/HardwareSkinningOneWeight
Description: Cannot load GL vertex program Ogre/HardwareSkinningOneWeight. Line -1:
.
File: ..\src\OgreGLGpuProgram.cpp
Line: 126
Stack unwinding: <<beginning of stack>>
If I preload that same entity before render loop starts, and load it again afterwards, everything is fine.
What is stranger? My code doesn't work with my computer with GeForce ti4200. However, it does work fine with my dual core amd with GeForce 6800XT!
Any clues anyone? Should I post this to the general forum?