MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0002907 | VTK | (No Category) | public | 2006-02-22 17:41 | 2016-08-12 09:54 |
| Reporter | Stewart Dickson | ||||
| Assigned To | Will Schroeder | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0002907: VtkExporter of ContourFilter PolyData does not export colors | ||||
| Description | I build a Vtk pipeline containing a vtkContourFilter containing 11 values and a color LUT scaled to the range of the input data. But, in my output '.OBJ' file, or '.IV' I see one color -- WHITE. I export the vtkContourFilter output Wavefront '.OBJ' as follows: vtkOBJExporter objxport objxport SetInput renWin objxport SetFilePrefix $outFilePrefix objxport Write When I add: renWin Render I see a nice picture of my rainbow-colored set of iso-surfaces vtkOBJExporter also exports a $outFilePrefix.mtl file, containing rendering attributes for the polygon geometry stored in the $outFilePrefix.obj file I am expecting, in my output $outFilePrefix.mtl, I see: # wavefront mtl file written by the visualization toolkit newmtl mtl1 Ka 1 1 1 Kd 1 1 1 Ks 1 1 1 Ns 1 Tf 0.4 0.4 0.4 illum 3 I see one material with opacity 0.6, as I specified, but -- WHITE. In $outFilePrefix.obj, there is one group, g grp1 and one material reference, usemtl mtl1. I see similar results using vtkIVExporter. Thank you! | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2016-08-12 09:54 | Kitware Robot | Note Added: 0036833 | |||
| 2016-08-12 09:54 | Kitware Robot | Status | expired => closed | ||
| 2016-08-12 09:54 | Kitware Robot | Resolution | open => moved | ||
| Notes | |||||
|
|
|||||
|
|
||||