Hi,

On Tue, 2010-03-30 at 09:31 +0200, Johannes Brunen wrote:
> Hi,
> 
> I have a crash on loading a 3DS file (Laurana50k.3ds). It crashes in the
> file osg3dsloader.cpp on line 1678. In this line
> 
> mat_id = FindMaterial(str)->GetID();
> 
> the FindMaterial call returns null. However, I'm able to load the file
> at least with one other program (MeshLab) with which I have created the
> file in the first place.
> 
> I do not know enough about the 3DS format in order to solve this
> problem. Could anyone please take a look into this issue? 

it shows a really weird material name, is there a valid material
in the file ? I currently don't have anything installed that can read
3ds so I can verify if there is actually a valid material present.

I fixed the loader so that it does not crash and won't set any material
if it can not be found. At least this shows the geometry with the
opensg default material.

kind regards
 gerrit


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to