there is somthing i want to draw using xna in the same window of OpenTk Project but i'm Starter in Xna so i don't know if that possible
i want to draw Xna in this method if that possible:
private void glControl1_Paint(object sender, PaintEventArgs e)
{
if (!glcontrol1_isloaded) return;
glControl1.MakeCurrent();
GL.MatrixMode(MatrixMode.Modelview);
GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
GL.LoadIdentity();
Scientifical_Calculations.Camara.Update(moviendo);
IntPtr sf = Glu.NewQuadric();
GL.Translate(0, 0, 0);
GL.Color3(Color.White);
GL.Enable(EnableCap.Texture2D);
Gl.glBindTexture(Gl.GL_TEXTURE_2D, suntext);
Glu.QuadricTexture(sf, true);
Glu.Sphere(sf, 10, 35, 35);
GL.Disable(EnableCap.Texture2D);
Stars.Draw();
glControl1.SwapBuffers();
}
i don't really know if any one tried this before but i hope so