Results 1 to 2 of 2

Thread: Fixed Point coordinates

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    2

    Fixed Point coordinates

    Hi,

    While computing coordinates of a pixel using fixed point arithmatic, what generally OpenGL ES implementations do to coordinate values, round to nearest integer or truncate?

    Thanks
    manja

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Location
    Seattle, WA
    Posts
    246

    Re: Fixed Point coordinates

    Quote Originally Posted by mnj_nath
    Hi,

    While computing coordinates of a pixel using fixed point arithmatic, what generally OpenGL ES implementations do to coordinate values, round to nearest integer or truncate?

    Thanks
    manja
    The OpenGL spec defines all rounding behavior. It's too many details to be answered here, but check out the document and read through the chapter on rasterization.

    - HM

Similar Threads

  1. 3D coordinates of a 2D point ?
    By Fa7 in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 11-21-2006, 06:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •