11-17-2001, 09:41 AM
hi,
I am new to OpenGl. Now I am learning it and try to draw a sphere with lightening effect. It works very well but when I apply the scaling factor (scalef) to enlarge the sphere. The lightening effect is too weak and it is too strong when i shrink the sphere.
Can anyone tell me how to enlarge and shrink the sphere with exactly the same lightening effect as without scaling??
Thanks,
M&M
I am new to OpenGl. Now I am learning it and try to draw a sphere with lightening effect. It works very well but when I apply the scaling factor (scalef) to enlarge the sphere. The lightening effect is too weak and it is too strong when i shrink the sphere.
Can anyone tell me how to enlarge and shrink the sphere with exactly the same lightening effect as without scaling??
Thanks,
M&M