[vtkusers] vtk ObjLoader with Java Wrapping error

Bill Lorensen bill.lorensen at gmail.com
Fri May 8 10:53:16 EDT 2015


The file does not seem to be a valid obj file. The format is described here;
http://en.wikipedia.org/wiki/Wavefront_.obj_file

First, it has "vt" texture coordinates that are 3D. I believe that VTK
only reads 2D texture.
Second, the "f" face lines are of the form:

f 1//1  2//2  3//3

I believe that the number after the // is a normal id. The file has no
"vn" normal lines.

If I change the "vt" to "vn" the file renders, but looks strange.


On Thu, May 7, 2015 at 9:51 PM, James Potota <tr_jun-jiang.ee at vitrox.com> wrote:
> Yeah sure. Here is the link :
> https://dl.dropboxusercontent.com/u/7356347/gull20mb.obj
> <https://dl.dropboxusercontent.com/u/7356347/gull20mb.obj>
>
> I would like to make a correction that it has nothing to do with filesize.
> So I uploaded a 20mb obj.
> Thanks.
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/vtk-ObjLoader-with-Java-Wrapping-error-tp5731799p5731818.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list