Camera Pick Code/Tutorial

BlitzMax Forums/BlitzMax Programming/Camera Pick Code/Tutorial

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

An easy and fast way of finding the picked X, Y and Z coordinates could be reading the depth of a pixel, then creating a vector from the appropriate place of the forefront of the view frustum with the length of the depth. The picked X, Y and Z coordinates are where this vector ends.
Hah it's impossible to express such stuff in English :/
Maybe this image can help: