In my renderer (https://bitbucket.org/manhnt9/cegui/branch/saga), I notice that my geometry buffer filling is not complete.
The only correct geometry buffer is the CEGUI logo.
Here is what I see on the screen and the logo render call.
OpenGL3 render calls for reference.
The first draw call should have 108 vertices.
But mine only have 12.
Here is my Geometry Buffer code: https://bitbucket.org/manhnt9/cegui/src ... Buffer.cpp
Could you give me some suggestions for further investigation?
Custom renderer: missing vertices
Moderators: CEGUI MVP, CEGUI Team
Re: Custom renderer: missing vertices
I notice that my geometry buffer filling is not complete.
How do you know it is not complete?
Have you built a minimal repro case of just one image or text only widget and stepped through code to see what happens with the geom?
CrazyEddie: "I don't like GUIs"
Re: Custom renderer: missing vertices
Here I wrote a custom renderer for my engine and it works. You may have a look and compare it with yours. I wrote mine with a DX11 renderer as a reference, but there must be a little difference.
https://github.com/niello/deusexmachina ... c/UI/CEGUI
https://github.com/niello/deusexmachina ... c/UI/CEGUI
Re: Custom renderer: missing vertices
Ident wrote:I notice that my geometry buffer filling is not complete.
How do you know it is not complete?
Have you built a minimap repro case of just one image or text only widget and stepped through code to see what happens with the geom?
I can see draw calls and buffer in RenderDoc and see that it doesn't have a complete geometry (less vertices than OpenGL's draw call).
And thanks for the great idea, I should and will write a minimal app. Was trying to fix a complex samples framework ever since.
Re: Custom renderer: missing vertices
niello wrote:Here I wrote a custom renderer for my engine and it works. You may have a look and compare it with yours. I wrote mine with a DX11 renderer as a reference, but there must be a little difference.
https://github.com/niello/deusexmachina ... c/UI/CEGUI
Thank you, I'll take a look!
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 4 guests