Hi, I suggest you look at PDF3D (www.pdf3d.co.uk), which is a module that allow you to easily export your scene to a PDF file. I recently wrote a module that also allow to dump an OSG based scene graph to a PDF file. I am sure whether they have already published it. For more information, please get in touch with Mr Ian Currington ([EMAIL PROTECTED], [EMAIL PROTECTED]). Hope this will help. Regards, Franclin.
alessandro terenzi <[EMAIL PROTECTED]> a écrit : Thank you very much for your suggestions...I'm going to make some tries as soon as I can. Alessandro On Sun, Oct 12, 2008 at 3:55 PM, Gerwin de Haan <[EMAIL PROTECTED]> wrote: 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 _______________________________________________ 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

