Results 1 to 2 of 2

Thread: Rendering in the same window

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2005
    Posts
    4

    Rendering in the same window

    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,
    Kuldeep

  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2002
    Location
    Dresden, Sachsen, Germany
    Posts
    203

    Re: Rendering in the same window

    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.

Similar Threads

  1. keep the rendering on the window
    By nadia88 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-14-2010, 04:25 PM
  2. Rendering the Window
    By Alley in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-29-2009, 04:47 AM
  3. Rendering in the same window
    By Kuldeep Kumar in forum OpenGL: General
    Replies: 0
    Last Post: 07-14-2005, 03:43 AM
  4. Rendering in the same window
    By Kuldeep Kumar in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 07-14-2005, 03:41 AM
  5. Rendering in the same window
    By Kuldeep Kumar in forum OpenGL: Windows
    Replies: 0
    Last Post: 07-14-2005, 03:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean