skystorm

10-14-2001, 06:28 PM

hi, i am new to opengl and i need some help.

suppose i am looking at a circular disc placed on its flat edge with my line of sight on the same plane as the disc is lying. at this point, i should see a straight flat line. when i increase my angle of elevation, my line of sight is now at an angle from the plane in which the disc is lying (ie, i am slowly moving upward), i should gradually see a curve forming. what i am interested in knowing is that are there any algorithms that relate the angle of elevation to the curvature of the edge. Is it possible to get the coordinates of the curve formed with each angle of elevation? Have been searching the net for algorithms but nothing similar came up.

i'd appreciate your help.

suppose i am looking at a circular disc placed on its flat edge with my line of sight on the same plane as the disc is lying. at this point, i should see a straight flat line. when i increase my angle of elevation, my line of sight is now at an angle from the plane in which the disc is lying (ie, i am slowly moving upward), i should gradually see a curve forming. what i am interested in knowing is that are there any algorithms that relate the angle of elevation to the curvature of the edge. Is it possible to get the coordinates of the curve formed with each angle of elevation? Have been searching the net for algorithms but nothing similar came up.

i'd appreciate your help.