<div dir="ltr">Fixed in CVS HEAD:<div><br></div><div><div>    /cvsroot/VTK/VTK/Rendering/vtkOBJExporter.cxx,v  <--  Rendering/vtkOBJExporter.cxx</div><div>    new revision: 1.59; previous revision: 1.58</div><div>    /cvsroot/VTK/VTK/Rendering/vtkVRMLExporter.cxx,v  <--  Rendering/vtkVRMLExporter.cxx</div>
<div>    new revision: 1.83; previous revision: 1.82</div><div>    /cvsroot/VTK/VTK/Rendering/vtkVRMLExporter.h,v  <--  Rendering/vtkVRMLExporter.h</div><div>    new revision: 1.37; previous revision: 1.36</div><div><br>
</div><div>Thanks for the patches...</div><div><br></div><br><div class="gmail_quote">2008/8/12 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"><br>
No prob. I posted a bug on mantis that has the updated VRML patch as I found that I left a debug print statement.<br>
<br>
<a href="http://www.vtk.org/Bug/view.php?id=7474" target="_blank">http://www.vtk.org/Bug/view.php?id=7474</a><br>
<br>
  vtkVRMLExporter.cxx.08112008.patch is the file for the cxx patch.<br><font color="#888888">
Gerrick</font><div><div></div><div class="Wj3C7c"><br>
<br>
On 8/12/08 12:40 PM, "David Cole" <<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>> wrote:<br>
<br>
</div></div></span></font></font><div><div></div><div class="Wj3C7c"><blockquote><font size="4"><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">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.<br>

<br>
Did anybody have any objections to these patches?<br>
<br>
Thanks, Gerrick, for contributing.<br>
<br>
<br>
David<br>
<br>
<br>
2008/8/7 Gerrick Bivins <<a href="mailto:gbivins@objectreservoir.com" target="_blank">gbivins@objectreservoir.com</a>><br>
</span></font></font><blockquote><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 face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
_______________________________________________<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>
<br>
<br>
<br>
</span></font></font></blockquote></blockquote></blockquote>
</div></div></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>