Mouse cursor doesnt show correctly(updating from 0.5 to 0.6)

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Thu Jun 19, 2008 18:11

eugen wrote:i meant i didnt need to get any new code for the CEGUI renderer, of course i built it against the new CEGUI version :)

:lol: Aha, in that case, yes you're right - there is no new ogre renderer code needed, or anything like that.

eugen
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Tue Jun 03, 2008 03:29
Contact:

Postby eugen » Thu Aug 07, 2008 23:23

Well it seems i had duplicated configuration files and that was the thing causing all the problems from this thread. This should have tought me a lesson :)

One quick question thou i still have: Should CEGUI with the Ogre renderer work ok on an application with multiple windows by default?! (each window having one viewport and one camera). (as i see it the GUI renders in the OVERALY queue group so it should be the same as with the default ogre overaly implementation, meaining it should appear on all viewports)
It seems i encounter problems rendering the GUI (it doesnt show with a new Sheet than the default one i create) or is there any rule when changing the default GUI sheet from one GUI window to another?

[edit]after more looking at i made it work with multiple sheets, the only problem i have is that the gui doesnt show until i create a gui element (thats strange) and that when resizing the main window the gui dissapears (ill try telling the gui renderer about the resize also maybe this is it)

[edit2]
Well everything is fixed now, it seems when resizing the main window of the application i need to call again the setRootSheet method with the current sheet, otherwise it wont display any until activate one. Strange

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Fri Aug 08, 2008 11:54

Support for multiple roots / multiple viewports is klunky at best at the moment (it's not supported at all really, though as you have found it is possible to 'fake' it with a little messing around).

CE.

eugen
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Tue Jun 03, 2008 03:29
Contact:

Postby eugen » Mon Aug 11, 2008 23:01

Thanks for the support!
We have it working correctly now

eugen
Not too shy to talk
Not too shy to talk
Posts: 28
Joined: Tue Jun 03, 2008 03:29
Contact:

Postby eugen » Tue Sep 23, 2008 18:31

It seems the error of the image sets being screwed up is not fixed yet. One setup of the application is still having the problem. What ive found was that the imageset image is scaled x2. If i reposition and scalex2 all the images within the image set they are correctly shown. Also the scalling of the whole CEGUI render viewport relative to the Ogre viewport seems to be scaled by 2. (all this is done from within the taharezlook setup files, no code involved)

Is there any way to tell CEGUI how to scale in relation to the rendering viewport (besides setDisplaySize from the renderer)? Now all CEGUI elements have a size relative to the viewport (which i dont set, is the default size i might say) and the size seem to be bigger than usual (scalled by 2 it seems).

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sun Sep 28, 2008 13:43

The setDisplaySize function is the intended means for telling the system the size of a viewport. Beyond this, you can disable the Imageset scaling entirely by setting the AutoScaled attribute to False.

If you want to affect the actual scaling applied, then you can hack it about by enabling AutoScaled and setting the native resolution to something that would give any scaling you require. The scaling factor is vp_res / native_res.

CE.


Return to “Help”

Who is online

Users browsing this forum: Bing [Bot] and 5 guests