[vtk-developers] material files patch for vtkOBJReader

Berk Geveci berk.geveci at kitware.com
Mon Dec 22 14:44:40 EST 2014


My preference would be to develop a new OBJ importer that uses the OBJ
reader. Making the OBJ reader depend on rendering may impact some folks
negatively. By the way, I would defer this for a few months if possible. We
have a project targeted towards importing material properties for ray
tracing etc. I don't think that we will follow the importer route and we
will probably develop a new infrastructure. It may fit better here.

Best,
-berk

On Mon, Dec 22, 2014 at 12:32 PM, Peter Karasev <karasevpa at gmail.com> wrote:
>
> Hi,
>
>       I'm hoping to get an update for vtkOBJReader integrated in that
> enables reading material-texture-library (.mtl) files. These are typically
> distributed along with the .obj file that contains geometry data.
>
>       There's an issue with the module structure of VTK in doing this,
> however: having the MTL file means that you basically must generate not
> only geometry but the entire actors with vtkProperty*'s set on them.
>
>       I propose moving vtkOBJReader into the same area as vtk3DSImporter,
> where it is allowed to access things in vtkRenderingCore like vtkActor
> class. Alternatively, a dependency(ies) could be added to vtkIOGeometry
> to allow creating actors. Any views on which way to go here?
>
> --
>
> _______________
> Peter  Karasev
> karasevpa at gmail.com
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20141222/fb720c9b/attachment.html>


More information about the vtk-developers mailing list