Erik Hofman writes: > Curtis L. Olson wrote: > > > It would be interesting to see if the current differences in the > > values amount to a single bit difference or something larger. If they > > are just a "bit" (literally) different from each other, then doing the > > math in double precision might not help ... if the double precision > > results are a "bit" different, then when they are rounded to float, > > they could each go a different direction respectively and we could > > still see jitter. > > Are you all sure the internals of OpenGL are all floats? > When I do man glVertex I get: > > > void glVertex2d( GLdouble x, GLdouble y ) > void glVertex2f( GLfloat x, GLfloat y )
Yes, everything internally is floats. OpenGL provides variants glVertex2d, glVertex2f, glVertex2i, glVertex2fv, etc. but these are only for convenience and internally everything gets converted to float. Regards, Curt. -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
