@Rontek >> a question about how linepick works in the blitz3d source code


👉 BlitzCoder will be building a new platform and other plans to preserve and continue the Blitz legacy.

To be able to achieve this goal, we need your support by becoming a Patreon Paid Member 👈

 

Tweet
RemiD

@Rontek >>
hi

a question about how linepick works in the blitz3d source code, (please) :
before doing the calculation that the linepick vector intersects with a triangle of a surface, does it check if a pickable mesh is near enough ? either with a distance 3d check or with a bounding box check (defined by the min, max, vertices positions of the mesh) ?

to know if i can set all meshes as pickable from the start.
or
it is worth to do a distance check to determine if a mesh is near enough, before setting it as pickable.

thanks,

BlitzCoder commented:
RemiD commented:

thanks.

i guess that one way to confirm that would be to do a test with all meshes set as pickables and one test with only the meshes in range (near enough) set as pickable.

i will do this test and report.

Reply To Topic (minimum 10 characters)

Please log in to reply