PDA

View Full Version : set one figure to be always in front of the camera



araz0c
12-20-2015, 09:40 AM
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" :D this figure should be every time in the middle of the window.... thank you very much!!!
araz0c

ajith.mk
12-20-2015, 10:29 AM
Yeah! The idea is to keep the vertices of the 'figure' relative to the camera coordinates fixed.

GClements
12-20-2015, 08:30 PM
Just draw it without any model-view transformation.