Texture glitch without visible reason
Hello!
I'm continuing integration Noesis inside my proprietary OpenGL engine, all problems with state management was been fixed, but now I got one more phantom problem - after a random time after View rendering begin (like 1-2 minutes), it looks like elements broken (Text, Custom Elements, but not the background or simply button).
Then, after some time, it can randomly back to normal and back to glitch again.
How it looks:
How expected:
Noesis Version: 3.1.2
Will be glad for any tips.
I'm continuing integration Noesis inside my proprietary OpenGL engine, all problems with state management was been fixed, but now I got one more phantom problem - after a random time after View rendering begin (like 1-2 minutes), it looks like elements broken (Text, Custom Elements, but not the background or simply button).
Then, after some time, it can randomly back to normal and back to glitch again.
Code: Select all
void NSUIView::Update(double secs) {
if (!IsVisible()) return;
m_PureView->Update(secs);
m_PureView->GetRenderer()->UpdateRenderTree();
OnUpdate();
}
void NSUIView::Render() {
if (!IsVisible()) return;
m_PureView->GetRenderer()->RenderOffscreen();
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glViewport(0, 0, WindowWidth, WindowHeight);
m_PureView->GetRenderer()->Render();
glUseProgramObjectARB(0);
OnRender();
}
How expected:
Noesis Version: 3.1.2
Will be glad for any tips.
Re: Texture glitch without visible reason
Could you please share two RenderDoc captures (one without glitches and one with errors) ?
I assume this is using our GLRenderDevice, not a custom renderer right?
I assume this is using our GLRenderDevice, not a custom renderer right?
Re: Texture glitch without visible reason
I have a problem with RenderDoc because it is required modern OpenGL Context Pipeline 3.2+, currently, my project uses 2+ (old pipeline) with extensions.Could you please share two RenderDoc captures (one without glitches and one with errors) ?
I assume this is using our GLRenderDevice, not a custom renderer right?
Please, maybe exist some other method to track problem reason?
Yes, all right, default GLRenderDevice.
Re: Texture glitch without visible reason
I used Nvidia Nsight for capturing, it works, but while not handling how to save traces.
But, I got some interesting things.
Without glitch Color 0 buffer (after ~1 minute after render begin):
With glitch Color 0 buffer (after ~5 minutes after render begin):
Seems that the buffer does not clear as well and after time just getting overloaded?
But, I got some interesting things.
Without glitch Color 0 buffer (after ~1 minute after render begin):
With glitch Color 0 buffer (after ~5 minutes after render begin):
Seems that the buffer does not clear as well and after time just getting overloaded?
Re: Texture glitch without visible reason
Probably same issue as in viewtopic.php?f=3&t=2489
Make sure you are doing glColorMask(true, true, true, true) before clearing.
Make sure you are doing glColorMask(true, true, true, true) before clearing.
Re: Texture glitch without visible reason
Tried:Probably same issue as in viewtopic.php?f=3&t=2489
Make sure you are doing glColorMask(true, true, true, true) before clearing.
Code: Select all
void NSUIView::Render() {
if (!IsVisible()) return;
m_PureView->GetRenderer()->RenderOffscreen();
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glViewport(0, 0, WindowWidth, WindowHeight);
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearStencil(0);
glColorMask(true, true, true, true);
glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
m_PureView->GetRenderer()->Render();
glUseProgramObjectARB(0);
OnRender();
}
Re: Texture glitch without visible reason
Let me understand something, what buffer is the "Color 0 buffer" in the screenshots. It is not the framebuffer right?
Re: Texture glitch without visible reason
As i can suppose - it is Offscreen.Let me understand something, what buffer is the "Color 0 buffer" in the screenshots. It is not the framebuffer right?
Re: Texture glitch without visible reason
I need to understand more. How is the XAML that is rendering this part of the UI (including the text).
What version of NoesisGUI are you using?
What version of NoesisGUI are you using?
Re: Texture glitch without visible reason
Version: 3.1.2 Indie, but got this bug and in 3.1.0I need to understand more. How is the XAML that is rendering this part of the UI (including the text).
skull.png
What version of NoesisGUI are you using?
ItemsControl 'SkillsControl' -> Collection of 'SkillTree_SkillButton'
Here is part only about asked things:
Here is XAML of this View:
Here is the dependency Resources for that:
Who is online
Users browsing this forum: No registered users and 98 guests