Hello World ! Can anyone tell me how to put a '+' character at the screen centre in 3D World space..It should stay at the centre while moving camera..I don't want to use glutWarpPointer()...anyone who can tell me ..when I move my camera it must be at the screen centre..
pcgamer2008
0
Light Poster
Recommended Answers
Jump to PostHow are you positioning the '+' character? I assume you are trying to create a crosshair. What I would do is, have a crosshair image and use this formula to center it on screen.
crosshairX = (Screenwidth - crosshairImageWidth)/2
crosshairY = (Screenheight - crosshairImageHeight)/2The camera should have …
All 4 Replies
pcgamer2008
0
Light Poster
Akill10
96
Posting Pro
pcgamer2008
0
Light Poster
pcgamer2008
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.