Blender is a big project.
I have found a source unwrap in 3dkingdom.
I'm analyzing it.
My college started teaching C #.
I am moved to Csgl.
You can see my questions on CodeProject about OpenGL C + +
I follow the instructions of
http://www.developerfusion.com/article/3930/opengl-and-c-part-1/
Now I have a few problems:
1. if I use Csgl, I need to copy. dll into app folder when running on another pc?
I think csgl is Refrences.
2. from the guidance of developerfusion, I added code to glDraw in OurView.cs
Cube obj = new Cube();
obj.CubeColorBlue = 1.0f;
obj.CubeColorGreen = 0.5f;
obj.CubeColorRed = 0.0f;
obj.glDrawCube();
obj.Rotate = true;
obj.fRotate = 1.0f;
GL.glFlush();
but the result is cude not rotate.
I was wrong? in class Cube bRotateCheck = true;-> fRotate + = 2.5f;->glRotatef (fRotate,...)
3. how the width, height of view = 500.
I tried view.height = 500; view.width = 500.
but it still fill.
I do not want to fill because I need to use the control
Thanks for the help