On 26.11.2011 21:32, Felipe Monteiro de Carvalho wrote:
    // Displacement trick for exact pixelization
    glTranslatef(0.357, 0.357, 0);

Untested guess: try to move your object in front of the virtual camera (which is located at (0, 0, 0) ). Thus set the Z value to something negative (e.g. -0.5 as you've set your far clipping plane to 1). [The Z axis is pointing from the infinity in front of you through the origin, thus the negative values]

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to