Lights

New Message Reply Date view Thread view Subject view Author view

deepa++at++tcsernet.tcs.ernet.in
Fri, 26 Apr 96 16:45:12 EDT


Dear Performer users,

I wrote a very simple program to draw one polygon, map a texture
on it and rotate it in a loop. I defined colors for the vertices
and set the the shade model as Gouraud shading model. One light was set,
and a default light model applied.
The program was compiled on the onyx and executed with the display set
to Indy, Indigo and the onyx respectively. The program works perfectly on
the onyx, but exits without displaying on the indigo (2 extreme) and
on the indy the whole scene appears white at first and gradually dims to
gray as the object rotates away from the light (on the onyx, the background
which is black is not affected and the lighting only affects the object).

Why does this happen? Can anyone help?

Deepa Krishnan
Tata Consultancy Services
deepa++at++tcsernet.tcs.ernet.in


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:46 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.