I ran the render-to-texture tutorial today, and was quite surprised to discover that the tutorial seems to be dead when running under DirectX8.
What’s ultra-bizarre is that it seems to be dead under Panda3D 1.2.2 and DirectX 8 as well; I’m almost 100% certain that it was alright the last time I checked!
What I’m seeing is that the teapot images come up scrambled, and the following error strobes through my command console (maybe once per frame?)
:display:gsg:dxgsg8(error): CopyRects failed in copy_texture at (panda/src/dxgsg8/dxGraphicsStateGuardian8.cxx:1427), hr=D3DERR_INVALIDCALL: Invalid call
Does anyone have any ideas? We’d like to stay with DX8 (OpenGL is too slow, DX9 is too “Why doesn’t this run on my development machine?” )
I’m afraid we haven’t yet gotten to a state where Panda3D will build for us here at SOS (that upper bound on the memory footprint during compile-time is a real killer ).
Is anyone else able to verify the problem with panda3d 1.2.3? If they are, I’ll go ahead and run a diff between the head of the CVS tree and the source for 1.2.3. Perhaps I can rebuild only the afflicted DLLs without building all of Panda…