CameraPick faster than linepick by around 47 times

Miscellaneous Forums/General Discussion/CameraPick faster than linepick by around 47 times

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.

PickedTime ?! I didn't even know the command :o)

Maybe you should test it with millisecs and a loop that is picking something a few thousand times. Also note Cache optimations can give false results too, especially when you repeat some commands on some meshes etc. that did not move.

And - try to use Camerarange camera,0.1,40 and compare again. Maybe it's the camera range. Maybe CameraPick even scans from far to near and takes the last object, although that wouldn't make much sense.

However, very interesting stuff since I am using cameraPick a lot and maybe my game's going to run faster when I replace them by LinePicks.