[vtkusers] colors when reading an STL file

Matthew Kong mkon2233 at mail.usyd.edu.au
Wed May 14 05:00:31 EDT 2003


Hey,

What are the arguements for > vtkSTLReader->ScalarTagsOn(), as in what colors 
are associated to what arguements?

Cheers.

Matt

Quoting R K Shyamprakash <ramakrishna.prakash at quest-global.com>:

> Hi,
> 	STL format does not store any color information. it stores only vertex 
and
> surface normal details. so you can not expect to get the same color as you
> load the file. if you set
> vtkSTLReader->ScalarTagsOn() then vtk will assign color depending on the
> scalar value.
> 
> regards
> shyam
> 


-------------------------------------------------
This mail sent through IMP: www-mail.usyd.edu.au



More information about the vtkusers mailing list