Search found 13 matches

by madeinsoviets
Wed Mar 10, 2010 09:34
Forum: Help
Topic: Separate GUI module
Replies: 1
Views: 1324

Separate GUI module

Hello again...) I have a little question... Let's imagine, we have an app, controlled by our GUI, so, we have events from both direction - CEGUI send events to app through subscribers, and the question is - are there any provided facilities to notify CEGUI about app events (or only direct C++ calls)...
by madeinsoviets
Thu Mar 04, 2010 13:33
Forum: Help
Topic: [SOLVED] How to retrieve window that generated an event?
Replies: 3
Views: 2465

Re: [SOLVED] How to retrieve window that generated an event?

Thanks, i 'll try to think my architecture over..)
by madeinsoviets
Thu Mar 04, 2010 09:44
Forum: Help
Topic: [SOLVED] How to retrieve window that generated an event?
Replies: 3
Views: 2465

Re: [SOLVED] How to retrieve window that generated an event?

Sorry, i have a question of this kind - how to extract event type (CEGUI::PushButton::EventClicked for e.g.)?
by madeinsoviets
Thu Mar 04, 2010 08:04
Forum: Help
Topic: How to load a image into the Ogre game scene?
Replies: 8
Views: 6778

Re: How to load a image into the Ogre game scene?

You need to describe your effect in .material... Here is the docs on this topic - glad to help you..) http://www.ogre3d.org/docs/manual/manual_16.html#SEC39 i think it is scene blend, but i'm not sure - usually designers do that for me) Best way to solve this is to try to find some similar material ...
by madeinsoviets
Tue Mar 02, 2010 08:07
Forum: Help
Topic: How to load a image into the Ogre game scene?
Replies: 8
Views: 6778

Re: How to load a image into the Ogre game scene?

Almost...)

1) You need to create material in .material file
2) You need to define a way to this material resources.cfg (always near Ogre binary (.exe) )
3) You need to apply this material to entity (http://www.ogre3d.org/wiki/index.php/Basic_Tutorial_2 -> "Using Shadows in Ogre ")
by madeinsoviets
Mon Mar 01, 2010 14:13
Forum: Help
Topic: How to load a image into the Ogre game scene?
Replies: 8
Views: 6778

Re: How to load a image into the Ogre game scene?

Sorry, but i can't do spacing properly in material definition...(
by madeinsoviets
Mon Mar 01, 2010 14:11
Forum: Help
Topic: How to load a image into the Ogre game scene?
Replies: 8
Views: 6778

Re: How to load a image into the Ogre game scene?

If you are new to Ogre - best way to load image is to define it as a part of ogre material and then define way to this material in resources.cfg. Example of a material definition: material Examples/OgreLogo { technique { pass { ambient 0.8 0.8 0.8 exture_unit { texture ogrelogo.png } } } } So, the w...
by madeinsoviets
Mon Mar 01, 2010 13:20
Forum: Help
Topic: How to load a image into the Ogre game scene?
Replies: 8
Views: 6778

Re: How to load a image into the Ogre game scene?

i don't think that the best way to show an image is to do it through CEGUI - try just textures from OGRE. If by some reason you are to do it through CEGUI try this tutorial http://www.ogre3d.org/wiki/index.php/Basic_Tutorial_7 - your part is "Render to Texture"...
by madeinsoviets
Mon Mar 01, 2010 11:34
Forum: Help
Topic: GUI state machine
Replies: 1
Views: 1510

GUI state machine

I have another (this time much more) noobish question...) We have an option to define GUI sheet through the layout editor - are there any ways to define whole state machine of GUI through the facilities of CEGUI? For example we have an XML with predefined actions - if this button pressed - we settin...
by madeinsoviets
Mon Mar 01, 2010 08:48
Forum: Help
Topic: [ANSWERED] Widgets with not a rectangular form
Replies: 6
Views: 4047

Re: Widgets with not a rectangular form

Thanks a lot, sorry for importunity..)
by madeinsoviets
Mon Mar 01, 2010 07:55
Forum: Help
Topic: [ANSWERED] Widgets with not a rectangular form
Replies: 6
Views: 4047

Re: Widgets with not a rectangular form

Hey, noone knows?
by madeinsoviets
Sat Feb 27, 2010 09:22
Forum: Help
Topic: [ANSWERED] Widgets with not a rectangular form
Replies: 6
Views: 4047

[ANSWERED] Widgets with not a rectangular form

Hello everyone...) We are developing some kind of a simulater under Ogre3D and now we are choosing GUI system - so we have some requirements to it... Are there any ways to creat widgets in CEGUI with not a rectangular form? For example circle button? Maybe some rectangular widgets with alpha culling...

Go to advanced search