<div dir="ltr">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.<div><br></div><div>Did anybody have any objections to these patches?</div><div>
<br></div><div>Thanks, Gerrick, for contributing.</div><div><br></div><div><br></div><div>David</div><div><br></div><div><br></div><div><div class="gmail_quote">2008/8/7 Gerrick Bivins <span dir="ltr"><<a href="mailto:gbivins@objectreservoir.com">gbivins@objectreservoir.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Here are the associated patch files. I've tested on MacOSX 10.5.4 and windows xp 32 against the VTK 5.2 branch.<br>
Hopefully these can make it into the 5.2 release.<br>
Gerrick<br>
<br>
<br>
On 8/7/08 9:54 AM, "Gerrick Bivins" <<a href="mailto:gbivins@objectreservoir.com" target="_blank">gbivins@objectreservoir.com</a>> wrote:<br>
<br>
</span></font></font><blockquote><font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Hello,<br>
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:<br>
VRML Exporter:<br>
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. <br>
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.<br>
I have fixed both of these.<br>
<br>
In trying to verify some of these bugs by exporting to obj and reading in the file, I ran into these bugs:<br>
OBJExporter<br>
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.<br>
2) Exporter file only uses Actors color rather than the mappers scalars for coloring (color by vertex).<br>
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.<br>
4) Exported file's transparency is inverse of vtkProperty opacity value (1.0-opacity). Should just be opacity.<br>
<br>
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<br>
<br>
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:<br>
<br>
X3DExporter<br>
1)Exported file is unloadable in external viewers. I'm not familiar enough with X3D format yet to debug this one.<br>
<br>
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.<br>
I've read these links:<br>
<a href="http://vtk.org/contribute.php" target="_blank">http://vtk.org/contribute.php</a><br>
<a href="http://www.vtk.org/Wiki/VTK_Coding_Standards" target="_blank">http://www.vtk.org/Wiki/VTK_Coding_Standards</a><br>
But submission information seems to be missing.<br>
<br>
Gerrick<br>
<br>
<br>
<hr align="CENTER" size="3" width="95%"></span></font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_______________________________________________<br>
vtk-developers mailing list<br>
<a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
</span></font></font></blockquote>
</div>
<br>_______________________________________________<br>
vtk-developers mailing list<br>
<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br></blockquote></div><br></div></div>