Thanks Stephan, New additions now merged and checked in. I added the CMakeLists.txt entries and things compiled OK with just the addition of a return to the new header file. This is all now checked in.
osgconv cow.osg cow.obj and osgconv glider.osg glider.obj works, but textures and materials/lighting aren't there. As a work in progress it is certainly a great step in the right direction though. The additional files will break the Xcode build, something that my changes to CMakeLists.txt can't fix. Could you update to the latest in SVN and get things compiling. Cheers, Robert. On 9/25/07, Stephan Maximilian Huber <[EMAIL PROTECTED]> wrote: > Hi Robert, > > attached you'll find a first implementation for the obj-plugin to write > obj-files. It is not feature complete but usable. > > Known issues: > * not all materials are handled correctly (especially when using > osg::StateAttribute::OVERRIDE), not all properties are supported > * could not test point and lines, all of my programs which are capable > to read obj-files only import triangle-meshes. > * only simple texture-handling > > I hope you'll find this submission useful and it gets integrated into > the core-osg. I know the obj-format is very old, I got the > collada-plugin working on OS X, but none of my 3d-programs can import > collada-files so I extended the obj-plugin. > > cheers, > Stephan > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
