BGFX Noesis Implementation not working
Posted: 09 Nov 2023, 13:02
Hello, hopefully this isn't the wrong place to put this thread.
I've been working on implementing bgfx with noesisgui. I think I'm pretty close and (hopefully) just facing the last few problems.
When I use how does the render context get that information? None of the render target functions seem to get called, createTexture width and height are unrelated to the _view->SetSize so I'm a bit lost.
The more important issue I'm facing is that the button isn't rendering. I've tried converting this https://github.com/Noesis/Tutorials/tre ... rationGLUT to use bgfx (& glfw).
The clicking mouse artifacts are just from the GIF and aren't actually there.
The intended outcome is this:
But my project produces this outcome:
Maybe a helpful note. When I was playing around with SetSize I had to manually change the view size (e.g. from to I got this outcome:
This version has most of the text and it looks like the button is there just extremely stretched (not sure if you can see it)
Here is my github project where I'm just trying to get it to work: https://github.com/TasmanianNoob/Noesis ... ree/master
I've been working on implementing bgfx with noesisgui. I think I'm pretty close and (hopefully) just facing the last few problems.
When I use
Code: Select all
_view->SetSize(width, height)The more important issue I'm facing is that the button isn't rendering. I've tried converting this https://github.com/Noesis/Tutorials/tre ... rationGLUT to use bgfx (& glfw).
The clicking mouse artifacts are just from the GIF and aren't actually there.
The intended outcome is this:
But my project produces this outcome:
Maybe a helpful note. When I was playing around with SetSize I had to manually change the view size (e.g. from
Code: Select all
BeginOnscreenRender()
{
bgfx::setViewRect(this->viewId, 0, 0, this->width, this->height)
}Code: Select all
bgfx::setViewRect(this->viewId, 0, 0, this->width, this->height / 4)This version has most of the text and it looks like the button is there just extremely stretched (not sure if you can see it)
Here is my github project where I'm just trying to get it to work: https://github.com/TasmanianNoob/Noesis ... ree/master