Hi
L'd like to write a little macro that gives me a diagnostic of which objects
are visible in my scene (ie the observer can see, that are not occluded by
other objects)
It seems maybe I could use the direction vector (of the camera) and the
trace() function coupled with min_extent() and max_extent(), with debug to
print stuff out, but my feel for the SDL is not too good just yet
a) how do I retrieve the direction vector? .. there does not seem to be any
notation like camera.direction or camera$direction
b) is there an accessible collection of objects that I can iterate across?
Could someone help me out with some code to get me started?
thanks
Post a reply to this message
|