Hi Gianni, The OBJ loader assumes the 'f' stands of polyon not a line, for a line try using 'l'
Robert. On Nov 9, 2007 4:45 PM, Gianni Ambrosio <[EMAIL PROTECTED]> wrote: > Hi all, > this is my first message so please don't blame me if I'm submitting > stupid questions. > > I would like to load an obj file where faces are lines. I mean something > like this: > > mtllib material.mtl > > v 0 0 0 > v -10 0 0 > v -20 0 0 > ... > usemtl RED > f 1 2 > f 2 3 > f 3 4 > ... > > But I see nothing after loading such a file. While if I modify some > faces to have 4 vertex then I can see them. > What should I do to view an obj that contains faces with 2 vertex? > > Regards > Gianni > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

