Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 1 of 1

Thread: How to keep objects stable

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2014

    How to keep objects stable

    How to keep objects where they are drawn at all resolutions and ratios?
    For example id like to make bar chart, how to keep all lines of bar chart 1 pixel and next to eachother?
    so far i have done it by dividing 2/resulution and keeping result as draw offset but accuracy is not perfect, 1 pixel gets wrong at 1600 resolution if draw is started from -1
    Last edited by q13918; 07-31-2014 at 08:21 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