[osg-users] Error with reading .obj file

Robert Osfield robert.osfield at gmail.com
Mon Aug 1 02:03:41 PDT 2016


Hi Manohar,

You don't provide any details about the OSG version you are using, or
an example of the problem file so there isn't a lot we can do to
determine what might be the issue.

The errors you see all relate to MTL files rather than OBJ files, so
perhaps there is some mix up there, what this might be I can't say.

Robert.

On 1 August 2016 at 08:39, Manohar Kuse <mpkuse at connect.ust.hk> wrote:
> Hi,
>
> I have been reading .obj mesh object
> osg::Node * cytBuilding = osgDB::readNodeFile( "model/level_2_0_0.obj");
>
> Although it seem to read it, it gives the following error messages:
>
> *** line not handled *** :map_bump
> *** line not handled *** :bump
> *** line not handled *** :map_opacity
> *** line not handled *** :map_d
> *** line not handled *** :refl
> *** line not handled *** :map_kS
> *** line not handled *** :map_Ns
> *** line not handled *** :map_bump
> *** line not handled *** :bump
> *** line not handled *** :map_opacity
> *** line not handled *** :map_d
> *** line not handled *** :refl
> *** line not handled *** :map_kS
> *** line not handled *** :map_Ns
>
> How should I deal with this. The display seem to be correct but the colors are a bit messed up.
>
> Please help!
> ...
>
> Thank you!
>
> Cheers,
> Manohar
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68228#68228
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list