Help me plz !!!
How i can put 3D into panel? i did as tutorial 6, but it was only 2D into panel.
More explanation may be a good start....
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.
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.
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, ...
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.
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:
Yaw is another function that will help.
make sure your camera is in a scope global to the form.