Discussions on Saga3D renderer development

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

manhnt
Just popping in
Just popping in
Posts: 13
Joined: Thu Oct 26, 2017 01:52

Discussions on Saga3D renderer development

Postby manhnt » Tue Mar 12, 2019 06:07

Hi, I'm implementing a renderer and have some questions. Hope that you guys can help me answer it.

- When is a RenderTarget (RT) created?
- Is it true that there're only 1 RT for the whole runtime that CEGUI draws to?
- If there're multiple RT, what is each RT associated with: geometry buffer, effect, ... etc ?

I personally think that there's just 1 render target that CEGUI renders to and present that surface.
So there're multiple geometry buffers (GUI Elements) are drawn into that RT each frame and there is no second RT.
Last edited by manhnt on Wed Mar 13, 2019 10:01, edited 1 time in total.

manhnt
Just popping in
Just popping in
Posts: 13
Joined: Thu Oct 26, 2017 01:52

Re: The use of RenderTarget in RendererModule?

Postby manhnt » Tue Mar 12, 2019 06:56

I figured out that each window has a RT, so there're multiple RT.
Then when having multiple windows, how can the root window displays all other children windows?
Where do I look for code that collects all children window's render target and composite to the main window?

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: The use of RenderTarget in RendererModule?

Postby Ident » Tue Mar 12, 2019 18:09

By default we render to one target but you can have multiples: This might help http://cegui.org.uk/wiki/Rendering_to_texture_(RTT)_in_CEGUI
CrazyEddie: "I don't like GUIs"

manhnt
Just popping in
Just popping in
Posts: 13
Joined: Thu Oct 26, 2017 01:52

Re: Discussions on Saga3D renderer development

Postby manhnt » Wed Mar 13, 2019 12:02

Thanks Ident, I'll refer to it.
Since I won't create new topic for every problem I meet (that may flood the forums), I changed this thread's title.

My current problem is that CEGUI behaves inconsistently on feeding geometry buffer for different renderers.
Here is my test video: https://www.youtube.com/watch?v=CJZ5v6ZdjVM


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 10 guests