About Store Forum Documentation Contact



Post Reply 
Separation rendering world from drawing gui
Author Message
Harton Offline
Member

Post: #1
Separation rendering world from drawing gui
Hello,

I would like ask you about separation rendering world from drawing gui in the editor.
Currently, when I want draw everything, I called only one function: 'StateDraw();' but when I want get backbuffer - 'Renderer.getBackBuffer()', I have image with gui. I don't want see gui on my objects in the world. grin
Could you separate rendering world from drawing gui in editor?

Regards
Harton
06-01-2013 08:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #2
RE: Separation rendering world from drawing gui
You need to call Renderer.getBackBuffer() before Gui.draw().
06-02-2013 01:09 AM
Find all posts by this user Quote this message in a reply
Harton Offline
Member

Post: #3
RE: Separation rendering world from drawing gui
Thanks for answer but I use Esenthel Engine for a long time and I know it. wink
Problem is different. In editor sources I don't call Gui.draw() because this function is called in StateDraw() and I call only the last function. I can't separate drawing gui from rendering world.
06-02-2013 08:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Separation rendering world from drawing gui
Hi, this can't be done because the world is rendered in a viewport which is inside the Gui itself (thus Gui.draw draws gui, viewports and the 3d world)
06-02-2013 02:31 PM
Find all posts by this user Quote this message in a reply
Post Reply