Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: set one figure to be always in front of the camera

  1. #1
    Newbie Newbie
    Join Date
    Dec 2015
    Posts
    1

    set one figure to be always in front of the camera

    hi guys! sry for my bad english...
    my question: is it possible to draw a figure which is every time in front of the camera? e.g a croshair or a triangle. so if i look around or move in the "space" this figure should be every time in the middle of the window.... thank you very much!!!
    araz0c

  2. #2
    Junior Member Newbie
    Join Date
    Dec 2015
    Posts
    27
    Yeah! The idea is to keep the vertices of the 'figure' relative to the camera coordinates fixed.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    2,463
    Just draw it without any model-view transformation.

Posting Permissions

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