Make revolving mouse cursor

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

Vetal_28
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Wed Nov 22, 2006 14:17
Contact:

Make revolving mouse cursor

Postby Vetal_28 » Mon Dec 11, 2006 16:28

Hello!

How I can make a revolving mouse cursor?
I have an .avi clip, whitch this revolving mouse cursor.

Thanks for help in advanced :!:

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Mon Dec 11, 2006 16:49

AFAIK, there is no support for animations on CEGUI. I tryed long time to get videos (avi, mpg and so one) to work with openGL and CEGUi but never suceeded. If you get it to work, plz tell me how :)

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Mon Dec 11, 2006 17:21

Have a look at this Wiki entry from the Ogre site: http://www.ogre3d.org/wiki/index.php/CEGUIBuildDialog

Basically you use the 'render to texture' feature of the rendering module (Ogre) to create a changing image. Then you'd use that image as the source for the mouse cursor.

Vetal_28
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Wed Nov 22, 2006 14:17
Contact:

Postby Vetal_28 » Tue Dec 12, 2006 18:46

Pompei2 wrote:If you get it to work, plz tell me how :)

OK, :wink:

Rackle wrote: Have a look at this Wiki entry from the Ogre site:

This is an empty page, or I am looking the worng page? http://www.ogre3d.org/wiki/index.php/Ogre_Wiki:About
Rackle wrote: Then you'd use that image as the source for the mouse curso


I don't find, how I can change an image for the mouse cursor. May you show it?

I have one more problem:
I want to do moving StaticImage and StaticText, and when I in cycle after pause change it's coordinates, they don't move. They appear at last coorditate, ignorring pause. Do you wan't why?

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Tue Dec 12, 2006 20:28

Your link is not the same as mine. Try again...

And no, it will not be a simple cut-and-paste solution. The code presented creates a Cegui imageset from memory, and uses Ogre to paint/draw onto that imageset. The principle should be adaptable to a Cegui cursor image.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 3 guests