Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] writing images with lablgl
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nickolay Kolchin-Semyonov <snob@m...>
Subject: Re: [Caml-list] writing images with lablgl
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 


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: