I believe that same example has code to save to JPEG. Otherwise you
need an image library like ImageMagick.

On Apr 1, 3:26 am, lukesh <[email protected]> wrote:
> Hi,
> Thanks for your reply actualy i was also going thr the same procedure
> of using opengl's glReadPixels but i dont know how can i put these
> pixels in any image file format. If you know anything please tell me.
>
> On Mar 9, 8:29 pm, "u.int.32.t" <[email protected]> wrote:
>
> > On Mar 9, 4:10 am, lukesh <[email protected]> wrote:
>
> > > Hi all,
> > >   I am using facegen SDK product, and i need to save the random
> > > generated face as a JPG or BMP. So Please can any one help me with
> > > this. It's urgent
>
> > Hi Lukesh,
>
> > Which version of the SDK? The latest has an example of this called
> > "FgGenerate". Basically, you render the face and then save it as an
> > image using glReadPixels. If you have an older one, I believe there is
> > an example that renders the face but does not save it. You can modify
> > this example to use glReadPixels for your purpose.
--~--~---------~--~----~------------~-------~--~----~
FaceGen: Award-winning 3-D face creation software. 
Visit http://www.facegen.com to download a free copy of the Modeller!

You received this message because you are subscribed to the Google Groups 
"FaceGen" group.
For more options, visit this group at 
http://groups.google.com/group/facegen?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to