Really. Well, why not simply generate random number pairs in 3space?
Assume a box enclosing your given space and then generate a point within that
volume and a vector associated with the point. This will give you a pretty
uniform scattering of said random lines.
Cheers!
Chip Shults
My robotics, space and CGI web page - http://home.cfl.rr.com/aichip
Post a reply to this message
|