Results 1 to 2 of 2

Thread: Coordinates systems.

  1. #1

    Coordinates systems.

    Hi there,

    Being completely new and dummy to OpenGL, i have the following query regarding the use of coordinates systems within OpenGL.

    - Real world coordinates: latitude/longitude.
    - Screen coordinates: 1024x768 (X_SCREENxY_SCREEN)
    - OpenGL coordinates: (X_OPENGLxY_OPENGL)


    Let's suppose that the current area represented on the screen display (1024x76 refers only to the United Kingdom (a UK chart or map represented on an XGA picture).

    Let's suppose that i want to draw a circle with the centre having its latitude / longitude in Germany (i.e. outside the screen area), but the radius of this circle is big enough to have some part of the line of this circle visible on the current screen display, i.e. the UK chart.

    How do i do that in terms of coordinates systems? Do i need to define a "view" which is bigger than the screen area and then clip everything which is outside the screen are? Or is there anything else that can be done????

    Please reply to:

    Thanks very much for your help!

  2. #2

    Re: Coordinates systems.

    You just draw the circle in Germany and OpenGL clips the stuff that is outside of United Kingdom.

Similar Threads

  1. 1.2 cl.hpp on ARM systems
    By kraj in forum OpenCL
    Replies: 0
    Last Post: 11-14-2013, 08:36 PM
  2. Systems GUI
    By befusor in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 09-22-2011, 05:27 PM
  3. L-systems, anyone?
    By 49er in forum OpenGL: General
    Replies: 8
    Last Post: 08-20-2006, 07:25 PM
  4. BSP vs Portal systems
    By LostInTheWoods in forum OpenGL: Advanced Coding
    Replies: 32
    Last Post: 12-05-2002, 01:37 PM
  5. Can't deal with systems DLL's
    By Bruno in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 05-04-2000, 10:32 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