Page 1 of 1

Problem with Static Image inside a frame window

Posted: Sun Jan 23, 2011 05:23
by jonathanblacknight
I don' know if this is a bug, then I posted here.
Its a bit hard to explain, but let me try.

First I'm using Ogre 3d 1.7.1 and CEGUI 0.71.

Check this image:
Image

I have a frame window, inside it a static image(left element), I'm using ogre render texture to fill the the staticImage, following this tutorial: http://ogre3d.org/tikiwiki/Basic+Tutori ... =Tutorials
But a nothing happens...
When the cursor passes over the Ok button the static image appear

Check this image:
Image

When I put the static image out of the frame window, all works fine.
check this image:
Image

I don't know if is a problem of Frame window or with I'm doin something wrong...

Thanks.

Re: Problem with Static Image inside a frame window

Posted: Sun Jan 23, 2011 10:59
by Kulik
Try disabling auto rendering surface on the frame window. Since the image changes every frame it wouldn't help anyways. I think the window is getting cached and is not invalidated.

Re: Problem with Static Image inside a frame window

Posted: Sun Jan 23, 2011 19:16
by jonathanblacknight
Sorry for the stupid question...

but how I do this?

Re: Problem with Static Image inside a frame window

Posted: Sun Jan 23, 2011 19:57
by Kulik
Window::setUsingAutoRenderingSurface(false)

or Window->setProperty("AutoRenderingSurface", "false")

or via xml, the property name is AutoRenderingSurface