PDA

View Full Version : Divison by Zero



04-18-2004, 11:33 PM
I had this problem several months ago with an INTEL Graphics card and someone suggested a solution which at that time worked. It is to do with specifying the shininess parameter to zero.

I recently tried to install an opengl program on a friend's computer which had an INTEL graphics card. Unfortunately, the above fix does not work. I am getting division by zero again. Can anyone help?

Many thanks

Mazy
04-19-2004, 01:11 AM
Why do you need to set shininess to 0? just set the specular colors to 0 if you want to turn off specular. Maybe that helps?

04-19-2004, 02:43 AM
Anything that causes a division by zero is usually the application's fault - while it *may* be a driver bug that's rather unlikely.

Can you post the snippet of code that fails, cut down to as small a test-case as possible?