View Single Post
  #1  
Old 02-24-2014, 04:56 AM
chris2307 chris2307 is offline
Member
 
Join Date: Nov 2013
Posts: 36
Counting all objects in view

I was hoping that there may be a way to efficiently work out the total number of objects (sub-objects within a scene) that are in view.

The current way I would implement it (which I have not done yet) would be to use the viz.pick() command in order to return the object intersected with at every point on the screen. There would also have to be some logic in place to work out if the object returned has already been returned once and if not, add it to the counter of current visible objects in view.

Does anybody have any more elegant solutions for how I could do this as my method seems a bit brute force like.
Reply With Quote