
Texture bugs and invisible things, all by default, brightmaps disabled
Radeon HD 5870, Catalyst 9.11, WinXP x64
1.3.9 worked fine...
Moderator: Graf Zahl
Code: Select all
// e6y
// Some ATI’s drivers have a bug whereby adding the depth renderbuffer
// and then a texture causes the application to crash.
// This should be kept in mind when doing any FBO related work and
// tested for as it is possible it could be fixed in a future driver revision
// thus rendering the problem non-existent.
PRBOOM_TRY(EXEPTION_glFramebufferTexture2DEXT)
{
GLEXT_glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT,
GL_TEXTURE_2D, glSceneImageTextureFBOTexID, 0);
status = GLEXT_glCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT);
}
PRBOOM_EXCEPT(EXEPTION_glFramebufferTexture2DEXT)
No, the fact is that I was not lucky, and I have an old integrated video card, to Score a problem with OpenGL. When you first start GZDoom, which has not yet created a configuration file, init. OpenGL and failed. In the second run, or Software, or BSODGraf Zahl wrote:The BSOD indicates that something is wrong with your computer. With that I can't help you.
What's your graphics card anyway?
I just have to ask: Does 1.3.9 work with your current driver or did you update in between? 9.11 is rather new if I'm not mistaken.StasBFG[iddqd] wrote:1.3.10 because I noticed version bump in SVN and compiled it.
Tested with r604 now - nothing changed...
Code: Select all
bool gl_SetPlaneTextureRotation(const GLSectorPlane * secplane, FMaterial * gltexture)
{
float uoffs=TO_GL(secplane->xoffs)/gltexture->TextureWidth(GLUSE_TEXTURE);
float voffs=TO_GL(secplane->yoffs)/gltexture->TextureHeight(GLUSE_TEXTURE);
float xscale1=TO_GL(secplane->xscale);
float yscale1=TO_GL(secplane->yscale);
float angle=-ANGLE_TO_FLOAT(secplane->angle);
float xscale2=64.f/gltexture->TextureWidth(GLUSE_TEXTURE);
float yscale2=64.f/gltexture->TextureHeight(GLUSE_TEXTURE);
gl.MatrixMode(GL_TEXTURE);
gl.PushMatrix();
gl.Scalef(xscale1 ,yscale1,1.0f);
gl.Translatef(uoffs,voffs,0.0f);
gl.Scalef(xscale2 ,yscale2,1.0f);
gl.Rotatef(angle,0.0f,0.0f,1.0f);
return true;
}
I tested your build of 1.3.9 with the current driver (9.11 beta is the only version now that works in winxp with my videocard).Does 1.3.9 work with your current driver or did you update in between? 9.11 is rather new if I'm not mistaken.
It works, now everything seems to be fine!Graf Zahl wrote:The change here was the main change I made for 1.3.10. Does it work properly if this old behavior is restored?
I can confirm this.chopkinsca wrote:Without the -vbo parameter I think the rendering error is fixed in 1.3.11.