PDA

View Full Version : Transparency and zooming



rbalaji
10-29-2001, 10:54 PM
I have rendered some transparent objects using alpha blending, and I have zoomed the transparent objects by changing fov (also tried camera src point change) and I get a color change near the top and bottom edges of the object when I zoom to close. Can anyone tell me why this is happening? Is there any work around for this.
Thanking You,
R.B

jide
10-30-2001, 01:45 AM
this may be due to 2 things i think !
1st, your z buffer isn't initializd correctly
2nd, are you using texturing ? if yes, maybe correct the lod.

rbalaji
10-30-2001, 05:17 PM
I am initializing the Zbuffer properly to 32bit and also setting the DEPTH_TEST accordingly. It was displaying properly
when the objects are rotated, but it gives
color change only when i zoom in only, that too when too close the objects.

R.B