https://github.com/XenonofArcticus/libPRC
We just completed a project for a client who wishes to remain anonymous, devising an OSG exporter plugin that uses the PRC intermediate file format to embed 3D models into PDF files. PRC is superior to the previous 3D-in-PDF format, U3D in that it is more compact and doesn't rely on the extremely problematic U3D library. Our PRC exporter relies on PRC support code from the Asymptote project: http://asymptote.sourceforge.net/ which is LGPL. Our source itself is MIT licensed. At this time we have a private branch of the Asymptote-PRC code in our repository, along with our own build system for it. Asymptote has a somewhat crude build system that was not amenable to us adding a target to only build the PRC code as a stand-alone library. We are working with the authors of the Asymptote PRC code to break it off into an independent library that Asymptote and our exporter will depend on and everyone seems to be in support of this. I don't have many pretty pictures to share yet, but I'll put some on my AlphaPixel blog tomorrow when I have a chance: http://alphapixel.com/blog I'd be interested in hearing about/from others who want to participate in the PRC exporter. Currently we support transparency (Adobe Reader's renderer does not sort or OIT) and material colors and a limited form of per-vertex coloring. Texturing is not yet supported. We would like to be able to extend this exporter and are looking for clients who would like to help fund this work. I believe the code has been successfully used on Windows and Linux, but Mac and other platforms should all be supported too. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775) 623-PIXL [7495]
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org