caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Nickolay Kolchin-Semyonov <snob@metalinkltd.com>
To: Damien <Damien.Pous@ens-lyon.fr>, caml-list@inria.fr
Subject: Re: [Caml-list] writing images with lablgl
Date: Wed, 30 Apr 2003 12:32:35 +0400	[thread overview]
Message-ID: <200304301232.36235.snob@metalinkltd.com> (raw)
In-Reply-To: <20030430102914.20c1a625.Damien.Pous@ens-lyon.fr>

On Wednesday 30 April 2003 12:29, Damien wrote:
> Hi,
>
> Is there an easy way to save a "labgl(ut) picture" to a file ?
> Is there a way of doing it without displaying the picture ?
>
> (I have got a list of polygons to render into a file)
>

You can use glReadPixels and glReadBuffer save BACK image from OpenGL to 
memory. Converting pixel data to image format is your task. I'am not sure 
that this functions are supported by lablgl. If not, you can use camlgl 
(http://www.sf.net/projects/camlgl)

Nickolay

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2003-04-30  8:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-30  8:29 Damien
2003-04-30  8:32 ` Nickolay Kolchin-Semyonov [this message]
2003-05-01  8:53   ` Damien
2003-05-01  8:55     ` Nickolay Kolchin-Semyonov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304301232.36235.snob@metalinkltd.com \
    --to=snob@metalinkltd.com \
    --cc=Damien.Pous@ens-lyon.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).