You might want to try and use ghostscript commands to convert pages of the pdf to intermediate bitmap images. For example, this is what I used: gs -sDEVICE=jpeg -dFirstPage=1 -dLastPage=1 -r72x72 -dNOPAUSE -sOutputFile=Image%02d.jpg Image.pdf
As another approach, you could try to use osgCairo: http://www.ohloh.net/projects/osgcairo. This nodekit uses Cairo (load pdfs, svg, create vector graphics) to create osg::Images directly. keep us updated on your progress! Gerwin On Sun, Oct 12, 2008 at 10:30 AM, alessandro terenzi <[EMAIL PROTECTED]> wrote: > > Yes, actually that was also my idea and I know that Adobe supplies the > Acrobat SDK, I wonder if anybody tried to use it to render pdf documents > inside OSG/OpenGL? Or there exist another way to do it? > > Alessandro > On Sun, Oct 12, 2008 at 10:07 AM, sicong he <[EMAIL PROTECTED]> wrote: >> >> Hi, Alessandro, >> Try rendering them to a texture and bind them to OSG geometry. That should >> work. >> >> 2008/10/12 alessandro terenzi <[EMAIL PROTECTED]> >>> >>> I would like to read pdf documents, process them in some way, and finally >>> render them inside my osg application. >>> How can I do it in osg? >>> >>> Thank you. Best regards. >>> Alessandro >>> >>> _______________________________________________ >>> osg-users mailing list >>> [email protected] >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>> >> >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

