Help me plz !!!


28-05-2009 13:49:29

How i can put 3D into panel? i did as tutorial 6, but it was only 2D into panel.


28-05-2009 14:59:54

More explanation may be a good start.... :D


28-05-2009 15:25:14

it's mean: i put file ogrehead.mesh into panel, but it was only picture 2D into that. If i want to display as 3D that file into panel, not a picture, how i can do? i tried to find more documents, but didnt see anymore like that, only display 3D in winform.


29-05-2009 19:56:48

set up Mogre as usual, but when creating the render window, use this:

NameValuePairList misc = new NameValuePairList();
misc["externalWindowHandle"] = panel1.Handle.ToString();
mWindow = mRoot.CreateRenderWindow("Main RenderWindow", 800, 600, false, misc);

it will render directly to the panel.


04-06-2009 14:50:49

i did it, but it displayed into panel as picture, not 3D. I want to display it into panel as 3D, then i can move, rotate, ...


04-06-2009 15:23:59


With your explanation, we understand nothing.

Put your code here and perhaps we can help. Otherwise : backs to basic, step after step, begin with tutorial 1, then 2....Or use my class, You have a few property to give and some method to go.


07-06-2009 03:40:52

It is 3d, just because you can't move doesn't make it 2d.
Add a timer to your form, give it an interval for a decent frame rate, inside of the timer.Elapsed event add code to make your camera move. You'll need to use an input system like MOIS or XNA.Input.

something similar to this:

camera.Translate(new Vector3(0,0,1));

Yaw is another function that will help.

make sure your camera is in a scope global to the form.