Is there a way to put a PNG image as overlay in the camera view? I want the cross hairs to show in the camera view in Blender Game Engine.
Asked
Active
Viewed 4,709 times
1 Answers
4
If I got it, you could parent a plane that uses the image as texture (textured using alpha), like this:
start enabling the "import images as planes" addon (bundled by default), and import your overlay image
then enable alpha for the texture if needed, and transparency for the material
then look at the camera rotation transforms
and copy those values to the plane, and then move it towards the camera (translating on its local Z), to get:
in the end, here is an example of the camera rotating around a target object, and the view looking through the camera:
m.ardito
- 11,967
- 2
- 23
- 36
-
That is exactly what I am looking for. How did you insert the image to the scene? Did you apply it to a plane? – fonsi Mar 02 '18 at 15:21
-
For a detailed description on how to set this up read: Create a plane that always fits the camera viewport – Mar 02 '18 at 16:09
-
@fonsi you need to activate the "import images as planes" addon, in user preferences, then import your image and set transparency to mayerial/texture. Then, you need to "parent" the plane to the camera, and set its same rotation values, and place the plane right in front of it. I'll add detailed steps, later, if needed. – m.ardito Mar 02 '18 at 17:20
-
@fonsi see the updated answer – m.ardito Mar 02 '18 at 21:52
-
Thank you @m.ardito. It worked. I had to adjust the material and texture properties but got it working. Thanks! – fonsi Mar 05 '18 at 21:52
-
Good! If it solved your issue, please consider marking my answer as "accepted"... – m.ardito Mar 06 '18 at 07:11








