jPCT - a 3d engine for Java => Support => Topic started by: Melssj5 on December 31, 2004, 05:05:23 am

Title: crooshair
Post by: Melssj5 on December 31, 2004, 05:05:23 am
Is there any way of adding something like a crooshair to the camera, I think that I could link an Object3D to the camera, but I am looking for something like a texture placed on the camera, so I won need to move both objects.

Happy new year for everybody!!! :P
Title: crooshair
Post by: EgonOlsen on December 31, 2004, 02:11:39 pm
You can paint the crosshair yourself, save it as a gif (to avoid jpg's compression artifacts), load it as a texture and blit it transparent on screen (using the blitting methods from FrameBuffer) after drawing your actual scene. The car example does something similar for the red dots in the upper right corner.