Search found 9 matches

by igorsegalla
09 Jan 2020, 00:02
Forum: General Discussion
Replies: 15
Views: 769

Re: Using an existent device (OpenGL)

There's any problem to call UpdateRenderTree and RenderOffscreen before view->Render()?
This way I just need to save render state once time.

Image
by igorsegalla
08 Jan 2020, 23:46
Forum: General Discussion
Replies: 15
Views: 769

Re: Using an existent device (OpenGL)

Solved!! Thanks for your time.
I had to store render state and restore it.
by igorsegalla
08 Jan 2020, 19:25
Forum: General Discussion
Replies: 15
Views: 769

Re: Using an existent device (OpenGL)

I see, ll try figured out why this is happening, thanks for your time. When I debug game with NoesisGUI render at RenderDoc, looks missing the "Colour Pass #1 (1 Targets + Depth), dno why.
by igorsegalla
08 Jan 2020, 19:18
Forum: General Discussion
Replies: 15
Views: 769

Re: Using an existent device (OpenGL)

glPushAttrib( GL_ALL_ATTRIB_BITS ) doesnt works?
by igorsegalla
08 Jan 2020, 19:08
Forum: General Discussion
Replies: 15
Views: 769

Re: Using an existent device (OpenGL)

When I call _view->GetRenderer()->UpdateRenderTree();, is bugging the Vertex Shader input. For this nothing is being drawn on screen...

Image
by igorsegalla
08 Jan 2020, 18:48
Forum: General Discussion
Replies: 15
Views: 769

Re: Using an existent device (OpenGL)

Hmm its weird cuz removing view->Render is normal, so must have some Clear into view->Render.
The order of RenderOfScreen matters?

ll debug with RenderDoc.
by igorsegalla
08 Jan 2020, 16:50
Forum: General Discussion
Replies: 15
Views: 769

Re: Using an existent device (OpenGL)

<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <Viewbox> <StackPanel Margin="50"> <Button Content="Hello World!" Margin="0,30,0,0"/> <Rectangle Height="5" Margin="-10,20,-10,0"> <Rectangle.Fill> <RadialGradientBrush> <GradientStop Offset="0" Color="#40000000"/> <GradientSt...
by igorsegalla
07 Jan 2020, 23:31
Forum: General Discussion
Replies: 15
Views: 769

Re: Using an existent device (OpenGL)

Cool. I managed to implement into my game, but the background is always black. https://puu.sh/EXrHJ/952737a13e.png Should be rendered on top of this screen, but isn't: https://puu.sh/EXrIK/d00cd4e64d.png Do you know why? Im calling view->render at Graphics::EndFrame (Urho3D), I tried to use glPushAt...
by igorsegalla
07 Jan 2020, 02:42
Forum: General Discussion
Replies: 15
Views: 769

Using an existent device (OpenGL)

Hello, I am trying to integrate NoesisGUI with Urho3D game engine, but I dont understand how I can get the renderer device already created by Urho3D, into NoesisGUI. I need to implement by myself the Noesis::RenderDevice, Noesis::Texture, Noesis::RenderTarget interface? Or I can simply set a OpenGL ...