3D picking

Added a quick 3D picking routine, not sure it will make through the final game, thought...
I will need the exact ID of the object picked by the player, maybe the Physics (using a raycast) will serve this purpose more easily.

In the meantime, screenshot...

(log in to comment)

Comments

Hi Astrofra,
which 3D engine are you using ?
will you use shaders ?

Hey :)
I'm using the HARFANG 3D engine.
I will use shaders, in a sense that I don't think it is still possible to do hardware accelerated 3D without shaders.
At the moment, I think I will keep things simple, with lots of constrasts. I don't think to use NPR (non photo realistic) rendering, but we'll see in the end.
For now I need to focus on the gameplay :p