Binding is definitely occurring before the fbo mipmap call. Upon reading the spec, it seems that the automatic mipmap generation I set up also needs to be updated on the render side of things. I'll take care of that (and address the depth-16 ATI issue). Hopefully that will help fix things for you.
I see you made some changes today, but the aforementioned tests still crash unless I remove the glGenerateMipmapEXT on line 261.
Well, according to the specs, the commands are correct.
I tried the TestMipMaps test, which uses the other reference to glGenerateMipmapEXT (line 322) and the program doesn't crash! I also uncommented the glGenerateMipmapEXT (line 261) and it doesn't crash in TestMipMaps either.
I'm not seeing what you are referring to in TestMipMaps. :?
Sorry, I messed up. TestImposterNode still crashes.
Are this thread and
http://www.jmonkeyengine.com/jmeforum/index.php?topic=6143.0
and
http://www.jmonkeyengine.com/jmeforum/index.php?topic=6161.0
the same issue?
You say that TestCameraMan works? So what is the difference in TestImportorNode and TestCameraMan? RTT is set up the same way in both, as i see.
Ok, have a few more changes to put in tomorrow.
vear said:
Are this thread and
http://www.jmonkeyengine.com/jmeforum/index.php?topic=6143.0
and
http://www.jmonkeyengine.com/jmeforum/index.php?topic=6161.0
the same issue?
You say that TestCameraMan works? So what is the difference in TestImportorNode and TestCameraMan? RTT is set up the same way in both, as i see.
Yes, it appears to be the same problem, but when I did the 2nd thread I didn't initially see it that way.
renanse said:
Ok, have a few more changes to put in tomorrow.
renanse,
Whatever changes you put in recently the test no longer crashes and burns!
THANKS!
Cool, glad to hear that