Tracker: Bugs

5 File->Save Scene To->Wavefront OBJ loses color - ID: 1437552
Last Update: Tracker Item Submitted ( dicksonsp )

In MayaVI, Version 1.5 (MacOS-X 10.4.5), I load a
Vtk file containing a srtructuredPoints dataset.
In MayaVi, I add an Isosurface Module. MayaVi nicely
recognizes that the input data file is, in fact part of
a time series, and the VtkDataReader Module Set Time
Step slider works nicely. Also, the IsoSurface Module
Scalar Variable slider works as expected.

In the MayaVi Data Visualizer (OpenGL Render) window,
I see the isosurface geometry colored according to the
Vtk default LUT. This is also good!

However, when I File->Save Scene To->Wavefront OBJ
The output file, ktbw_isoSurf_5_.1.mtl -- which
contains surface rendering attributes -- contains the
following:

# 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 0 0
illum 3

newmtl mtl7
Ka 1 1 1
Kd 1 1 1
Ks 1 1 1
Ns 1
Tf 0 0 0
illum 3

Everything is WHITE! Not the Vtk LUT color which is
applied to the PolyData in the OpenGL Renderer.

Thanks,

-Stewart Dickson, Principal Scientific Subject Matter
Expert in Visualization
NOAA National Climatic Data Center


Stewart Dickson ( dicksonsp ) - 2006-02-23 09:03:10 PST

5

Open

None

Nobody/Anonymous

Interface (example)

v1.0 (example)

Public


Comments

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.