[vtk-developers] Patch: Re: Exporter bugs

David Cole david.cole at kitware.com
Tue Aug 12 13:40:13 EDT 2008


I am going to apply these patches to CVS HEAD, and after a clean night on
the dashboards, I will merge them to the VTK-5-2 branch.
Did anybody have any objections to these patches?

Thanks, Gerrick, for contributing.


David


2008/8/7 Gerrick Bivins <gbivins at objectreservoir.com>

>  Here are the associated patch files. I've tested on MacOSX 10.5.4 and
> windows xp 32 against the VTK 5.2 branch.
> Hopefully these can make it into the 5.2 release.
> Gerrick
>
>
> On 8/7/08 9:54 AM, "Gerrick Bivins" <gbivins at objectreservoir.com> wrote:
>
> Hello,
> I ran across a couple of bugs with the following Exporters in the vtk 5.2
> branch while trying to export my scenes in from my vtk application:
> VRML Exporter:
>   1) Exported file won't load in Paraview or most other VRML viewers.If it
> is succesful, only the last *Set is read in. The problem is that there needs
> to be one *Set per Shape node.
>   2) Exported file doesn't take into consideration actor's visibility so
> all actors are exported even if they aren't visible in the render window.
> I have fixed both of these.
>
> In trying to verify some of these bugs by exporting to obj and reading in
> the file, I ran into these bugs:
> OBJExporter
>   1) Exported file doesn't take into consideration actor's visibility so
> all actors are exported even if they aren't visible in the render window.
>   2) Exporter file only uses Actors color rather than the mappers scalars
> for coloring (color by vertex).
>   3) Exported file doesn't use transparency. This is because the variable
> set for transparency is named incorrectly as "Tf" should be "Tr" according
> to specs.
>   4) Exported file's transparency is inverse of vtkProperty opacity value
> (1.0-opacity). Should just be opacity.
>
> I have fixed 1,2 and 4 in my local build. 3 seems like it will be a little
> more complicated so it may take some time
>
> Eventually, I'd like to use x3D (or some other embeddable format UCD maybe)
> so I gave that a shot but ran into another issue:
>
> X3DExporter
>   1)Exported file is unloadable in external viewers. I'm not familiar
> enough with X3D format yet to debug this one.
>
> My question is, has anyone run into these issues or are the Exporters not
> used that much? Also, how do I go about submitting the fixes I have so far,
> patch, whole files, submission list? Not sure on this one.
> I've read these links:
> http://vtk.org/contribute.php
> http://www.vtk.org/Wiki/VTK_Coding_Standards
> But submission information seems to be missing.
>
> Gerrick
>
>
> ------------------------------
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20080812/194725be/attachment.html>


More information about the vtk-developers mailing list