Search found 11 matches
- Thu Nov 13, 2014 19:47
- Forum: Modifications / Integrations / Customisations
- Topic: Custom RTT Widget in CEGUI with Ogre renderer
- Replies: 14
- Views: 25402
Re: Custom RTT Widget in CEGUI with Ogre renderer
As expected, RTT isn't really performing well, so we had to try something else. Our new solution, which works quite well for us, is not RTT related anymore. We thought it's not a bad idea to share it, because there might be someone else, who got the same or a similar issue. The code provided here is...
- Thu Oct 09, 2014 15:37
- Forum: Help
- Topic: Changing the display DPI of the renderer
- Replies: 5
- Views: 5097
Re: Changing the display DPI of the renderer
So we just need to expose a method to change DPI, right? I suspect this has to be done before any resource loading commences. Yep, I think that works. Might be a little off topic, but I am working with CEED to create layouts and have the same issue there obviously. I would really appreciate it if y...
- Thu Oct 09, 2014 09:20
- Forum: Help
- Topic: Changing the display DPI of the renderer
- Replies: 5
- Views: 5097
Re: Changing the display DPI of the renderer
Could you be so kind to open your CEGUI project, look for the code "d_displayDPI(96" and replace the 96's there both with the number you want? After that please compile and use the compiled binaries for your project. Does everything still work as expected then? I did that and linked the a...
- Tue Oct 07, 2014 21:43
- Forum: Help
- Topic: Changing the display DPI of the renderer
- Replies: 5
- Views: 5097
Changing the display DPI of the renderer
I created some menus with CEGUI based on mockups from our designer. These mockups also provided the font sizes on a basis of 72 DPI. After wondering, why the text is way too big in many places, I looked at the display DPI set by the renderer. Looking at the source code (of the Ogre renderer), it is ...
- Sun Sep 28, 2014 18:26
- Forum: Modifications / Integrations / Customisations
- Topic: Custom RTT Widget in CEGUI with Ogre renderer
- Replies: 14
- Views: 25402
Re: Custom RTT Widget in CEGUI with Ogre renderer
Yea, i suggest not using the rendering surface. You would have to define a viewport according to the position and dimension of the CEGUI window and just render directly there without going through a RTT. Basically that is what I suggested before. It is a bit complexer though then using an RTT. You ...
- Sat Sep 27, 2014 21:33
- Forum: Modifications / Integrations / Customisations
- Topic: Custom RTT Widget in CEGUI with Ogre renderer
- Replies: 14
- Views: 25402
Re: Custom RTT Widget in CEGUI with Ogre renderer
I am not sure what to do regarding the RenderingWindow. If you render to a viewport you do not need an explicit rendersurface for your Window, unless you have the AutoRenderingSurface property set to true (i hope this is the right name). Actually that hint got me to setUsingAutoRenderingSurface fro...
- Sat Sep 27, 2014 18:37
- Forum: Modifications / Integrations / Customisations
- Topic: Custom RTT Widget in CEGUI with Ogre renderer
- Replies: 14
- Views: 25402
Re: Custom RTT Widget in CEGUI with Ogre renderer
I don't know much about Ogre in that respect, in general i rather use OpenGL and Direct3D directly. Those two major graphics libraries both allow you to do what I said: rendering into a viewport, meaning rendering only into a smaller section of your screen. Since both allow this, it should theoreti...
- Sat Sep 27, 2014 15:45
- Forum: Modifications / Integrations / Customisations
- Topic: Custom RTT Widget in CEGUI with Ogre renderer
- Replies: 14
- Views: 25402
Re: Custom RTT Widget in CEGUI with Ogre renderer
An example for one of our custom widgets is a 3D object which is shaped like a plate. It displays status information on both sides and can thus be turned around by the player on command to view different status information. We would like to have that widget and a few others, which are also 3D objec...
- Thu Sep 25, 2014 14:50
- Forum: Modifications / Integrations / Customisations
- Topic: Custom RTT Widget in CEGUI with Ogre renderer
- Replies: 14
- Views: 25402
Re: Custom RTT Widget in CEGUI with Ogre renderer
Also I only realised after the move that you wanted to create a widget around this. I consider it overkill though and also it couldnt go into our repository because of the other Renderers that all work differently. It could be that i misunderstood the whole issue you brought up here, excuse me if t...
- Thu Sep 25, 2014 13:46
- Forum: Modifications / Integrations / Customisations
- Topic: Custom RTT Widget in CEGUI with Ogre renderer
- Replies: 14
- Views: 25402
Re: Custom RTT Widget in CEGUI with Ogre renderer
First of all this thread is in the wrong section, it doesnt fit into "Advanced Help"... I will move it. I am sorry for that. Thought it might be a more advanced topic. Secondly, have you looked at this: http://cegui.org.uk/wiki/Rendering_to_texture_%28RTT%29_in_CEGUI ? Yes, I have read th...
- Thu Sep 25, 2014 11:37
- Forum: Modifications / Integrations / Customisations
- Topic: Custom RTT Widget in CEGUI with Ogre renderer
- Replies: 14
- Views: 25402
Custom RTT Widget in CEGUI with Ogre renderer
Hey there, I am currently in the process of trying out CEGUI and figuring out if various things we need for our project are possible with it. It was pretty easy to setup and get it running with Ogre, which we are using as our rendering engine. So thumbs up for that. We also want to have the possibil...