HI Chris,
On Sat, Dec 5, 2009 at 4:41 PM, Chris Denham <[email protected]> wrote:
> I tried:
>> osgconv cow.osg cow.3ds
> but it crashes. The reason for the crash seems to be the result of not
> specifiying a full path for the destination. Looks like your code is calling
> osgDB::concatPaths("", "cow.3ds") and it seems that function bombs with empty
> string on the left. Though, arguably, that may be a bug in the concatPaths
> function rather than your code.
concatPaths in svn/trunk has the addition of an:
if(left.empty())
{
return(right);
}
Which to me looks like it should be safe when handling "". Is there
any chance you are mixing OSG versions?
As another data point osgconv cow.osg cow.3ds works fine on my Kubuntu
9.04 64bit system.
> The other problem I discovered was that one of the 3DS models I loaded seems
> to have missing faces when I display it with osgviewer. It looks ok when I
> load it with the old version of the 3DS plugin.
> I have attached the problematic 3DS model, of a bath tub :-).
I've just tried the model and I can't spot any obvious missing faces.
You could post a screenshot illustrating where the missing triangles
are?
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org