Results 1 to 2 of 2

Thread: Coordinates

  1. #1
    Member Contributor
    Join Date
    Apr 2000
    Location
    Hoegaarden, Belgium
    Posts
    71

    Coordinates

    Does it matter wether the co÷rdinates of your vertexes are small or big?
    EG Is it better to zoom out 100.0f and draw a cube with a radius of 10.0f of zoom out 1.0f and draw a cube with radius 0.1f
    Does that influence the precision of the depth buffer?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Italy
    Posts
    124

    Re: Coordinates

    The floating point numbers represent numbers with a constant relative error, (fixed point >> constant absolute error)... I think it must be the same.
    However it can depend on how the hw handles values...
    The precision that you can get with zbuffer depends by the ratio of the far and near planes.
    bye
    tFz

Similar Threads

  1. Texture Coordinates and Depth Buffer to obtain world coordinates
    By snkhan42 in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 04-27-2018, 11:52 AM
  2. Replies: 4
    Last Post: 06-08-2016, 07:01 PM
  3. Confusion on model coordinates transformed to word coordinates
    By wangdingqiao in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 08-31-2014, 07:46 PM
  4. Convert windows mouse coordinates to opengl coordinates
    By throwaway in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-05-2013, 06:44 PM
  5. Replies: 2
    Last Post: 06-02-2012, 08:10 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
  •  
Proudly hosted by Digital Ocean