Hi Philipp, I'm not the author of the DXF plugin, but its a realtively recent addition, so probably not widely tested used so could well contain bugs/or limitation to the file types that it can handle. I'd recommend looking at the DXF specs, is your file an valid file? Or is it the OSG' DXF plugin which is out of spec.
As with the rest of the OSG, the DXF plugin is open source so you can tweak it at your end and send any fixes for me to review and merge. Robert. On 6/13/06, Siemoleit, Philipp, <[EMAIL PROTECTED]> wrote:
Hi, I downloaded OSG, compiled and installed it. I successfully loaded some DXF files with the osgsimple viewer. But some of my DXF files are not readble. The viewer aborts with: **** Error converting line 316 to type unsigned short **** Line 316 of my DXF file contains a value "-1". It's a negative value and seems to clear the meaning of the error message above. I was looking at the structure of the DXF file - the line above (line 315) contains the value "62". I'm not involved to the format of DXF file, but my internet recherche says: "62" specifies the type of the following value as a "16 bit integer" value. The value "-1" is a 16 bit integer value but the OSG DXF plugin expects an UNSIGNED short value. I'm not able to figure out the tool which was used to create the DXF file but I'm shure the file is correct. Many other viewers are able to read the file and display the 3d model. Is it a bug on the DXF plugin? Sadly I'm not allowed to attach the DXF file because it's owned an protected by the company. If you need an expample all the same, let me know it and I will try to build an example file. Used Open Scene Graph Version: 1.0.0 / 25-May-2006 / 23:00 Thanks Philipp _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
