Results 1 to 3 of 3

Thread: offscreen/don't draw

  1. #1
    Guest

    offscreen/don't draw

    -Currently, I have a program that when ran it draws the image, and copies the image to a ppm file. How do I change the program such that a window does not pop up, will draw (but I won't see the image), and will just automatically save a ppm image?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: offscreen/don't draw

    Hmmm, that depends on what you are using, is it on Windows ?, are you using MFC in that case or is it raw Win32 code, Delphi or something else... ?

    You need to be a bit more specific...

    Mikael

  3. #3
    Member Newbie
    Join Date
    Mar 2001
    Location
    Marlborough, MA, USA
    Posts
    44

    Re: offscreen/don't draw

    Originally posted by bg:
    -Currently, I have a program that when ran it draws the image, and copies the image to a ppm file. How do I change the program such that a window does not pop up, will draw (but I won't see the image), and will just automatically save a ppm image?

    make your window, do your GL stuff, then exit. don't actually draw the window. as is mentioned above, it depends what os/api you are using for windowing
    Christopher Oat
    ATI Research, Inc.
    3D Application Research Group

Similar Threads

  1. Offscreen rendering ?
    By Thallius in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 01-24-2012, 10:02 AM
  2. Offscreen pixmap
    By openglestwouser in forum OpenGL ES
    Replies: 1
    Last Post: 10-13-2011, 04:09 PM
  3. GLDrawPixels doesn't draw if the origin is offscreen
    By halo in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 01-28-2004, 03:35 AM
  4. Offscreen bitmaps
    By Atul in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-06-2000, 07:39 AM
  5. Pb with offscreen rendering
    By PierreOlivier in forum OpenGL: User Software
    Replies: 0
    Last Post: 08-03-2000, 01:13 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