FrameListeners without ExampleApplication

Nimph

09-08-2007 22:12:28

How do I create a FrameListener in Mogre without using the ExampleApplication framework?

(By the way, I'm using c# now. There were just too many problems in vb.net)

wingnet

10-08-2007 03:07:53

anyway, u can take a look at the source code of exampleApplication.
that will be helpful.

Nimph

10-08-2007 08:44:25

Ok. I got a framelistener up, to run within a mogreform, except nothing happens unless I move my cursor around the form, and even when that happens, there is only sudden, extremely choppy, movements instead of smooth ones. Is there something i'm missing here?

pin

12-08-2007 00:04:41

Ok. I got a framelistener up, to run within a mogreform, except nothing happens unless I move my cursor around the form, and even when that happens, there is only sudden, extremely choppy, movements instead of smooth ones. Is there something i'm missing here?

You're doing something wrong. Check the tutorial on how to embed Ogre in a window form:

http://www.ogre3d.org/wiki/index.php/Mogre_Tutorials

Calin

Nimph

12-08-2007 04:33:39

[edit] Actually, I might know the real problem. The listener is working fine, but the results only get shown when I activate a part of my form(like clicking a unused button. Each time the button gets clicked, the current frame gets displayed).

[edit2] Problem fixed. :D It was just a matter of setting the focus to the form within the Paint event.