[vtkusers] Problem about lighting

Miyashita Yukihiro miyasita at sesys.co.jp
Wed Feb 21 20:13:40 EST 2001


Hello All.

I have a problem as below.
Any advice is appreciated very much.

I made a polygon data using vtkPolyDataWriter and
read the data again and show it.

The result on a PC is different from the result
of another PCs.

It is shown in the attached GIF.
I want the left result.

I thik it is caused by my usage of lighting.
I want no lighting is set.

I tried the following ways, but no change happened.
    SetInterpolationToFlat
    SetInterpolationToGouraud
    SetInterpolationToPhong
    SetColor(0.0000,  0.0000,  0.0000)
    SetDiffuse(0.0)
    SetSpecular(0.0)
    SetSpecularPower(0)



Best Regards,

Yukihiro Miyashita

**************************************************
  Yukihiro Miyashita
     E-mail:miyasita at sesys.co.jp
     TEL: +81-6-6258-5531   FAX: +81-6-6258-5539
  Software Products Division
  Sumitomo Electric Systems Co., Ltd.  (Japan)
**************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: result.gif
Type: image/gif
Size: 6127 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20010222/465fb572/attachment.gif>


More information about the vtkusers mailing list