[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 (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