It’s my first post in a while, since I’ve gotten better at solving my own problems, but I’ve just run into one that’s a real humdinger.
I’m loading a model from an egg that I created from an obj using TreeForm’s obj2egg.py. The model displays fine, with it’s texture in place and everything, but when it’s loaded the command window spits out a bunch of iterations of the following error:
:display:gsg:glgsg(error): at 4115 of c:\p\panda3d-1.5.4\panda\src\glstuff\glGraphicsStateGuardian_src.cxx : GL error 1281
after the many repetitions of that error, it says:
:display(error): Deactivating wglGraphicsStateGuardian
I’ve looked over the egg file for any broken references or anything of that nature, but I couldn’t find any problems. If it matters, my scene is lit by directional lights.
I should also mention that this does cause a significant problem. A single frame is rendered that looks fine, but it won’t render anymore frames and if I minimize the window and bring it back up again, the window no longer contains the frame it rendered, and is just black. (I set the background color to black)
Any idea what might be causing these errors to be spit out? I could always convert a maya scene instead of an OBJ to get around the problem, but I’d rather know the real cause. It seems to me that openGL is being turned off as a result of the errors, which is the cause of the major problem.