View Full Version : Rendering in the same window

Kuldeep Kumar
07-14-2005, 02:38 AM
Hi All,

I am imlpementing a Form application in DotNet, and redering an object using glut. I have a button to start the rendering, when I click it, it opens a new window and render the object into this new window. I am using glutInit(), glutInitDisplayMode(), glutInitWindowPosition(), glutInitWindowSize() and glutCreateWindow().
However I want to render this object in the same Form where I have this button, is there any way I can do this, maybe in a pitureBox.

Thanx in advance,

07-15-2005, 12:56 AM
check out Tao there is a simple gl control otherwise I initialize Gl myself and set the window style field to user draw or something similar.