Thanks Luc, changes merged and submitted to svn/trunk.
On 1 March 2012 10:59, Luc Frauciel <[email protected]> wrote: > Hi Robert, > > I've modified dxf writer : > > - correction to writeFace : the fourth point was defined with an incorrect > code > (http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm) > - if no layer name was found, an empty string was used, with is incorrect > according to dxf specifications and was rejected by Autodesk DWG TrueView > - the plugin was writting polygons and triangles as LINE, as if PolygonMode > GL_LINE was active, and didn't use 3DFACE primitive. > I changed this behaviour to write 3DFACE as default, and LINE when > PolygonMode GL_LINE is active. > when reading back the file with osg, the result is now consistent with the > source > > Tested with osg plugin, FME (Safe software), Autodesk DWG TrueView > > Luc > > > > > > _______________________________________________ > 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
