Oh ok "shadow programming" should have been "shader programming"
Haha,so terrible I forget it,so stupid...
For dynamic windows there are a couple of opportunities. You can hook into the WIndow::update function either directly by subclassing and registering your new window type with the system or via the events system and the Window::EventWindowUpdated event (which can also be used to trigger scripts and such). The other way and is probably more what you're looking for is to use a CEGUI::RenderEffect attached to some Window that's backed by a CEGUI::RenderingWindow - this is the approach taken in CEGUI 0.7.0 for the wobbly windows in Demo7. Note that is is quite a low-level interface, it makes it more powerful, but also a bit more 'raw'
Yeah,I just practised the wobblyWindow,it's very cool!Like the drag effect in Suse Linux
. And indeed it's hard to use,the math(or maybe physics) knowledge with it,,,makes me so sad...Maybe I need to learn math and physics stronger:oops: The WIndow::update and Window::EventWindowUpdated are easier to use,I know a little about it,and I'm trying to use Lua to write it. (
If there is an Editor that we can use it to edit this kind of window directly,perfect powerful!
For shaders, the situation is basically the same. You can do it via RenderingWindow and RenderEffect objects. There's no concrete example's been released of how to do this - also note that this is not abstracted at all from the underlying API or engine. Also be aware this part of the system is not finished 100% so there is some variation at far as support goes (for example, shaders in DX10 does not work at the moment due to the way we incorrectly always install our own shader to do the 'normal' rendering) - shaders under OpenGL definitely works though and was used to produce a couple of the videos I put up on YouTube
I'm sorry I don't find the concrete way to use it
.Could it be that via RenderingWindow and RenderEffect objects,then I load the shader file by Ogre or DX9,then attach them or use it as an effect? )Ouch,Ok,I recognize I'm a little foolish
Thanks for your reminds very much,and I'll see the videos to learn.
Hope the videos will let me know.