jit.gl.render - filter based on what is 'on camera'

    Mar 30 2006 | 1:21 am
    HI everyone.
    I've been thinking about trying to do a bunch of things to some geometry depending on whether it's actually being drawn in the window or not (whether it's in the camera view or not), and I can't think of a way to do it. Does anyone have any ideas? I've figured out that you could take the camera lens angle, camera view info, and position, and use these to work out which values in each cell were 'on-screen' or not. I have to admit, though, that i'm not entirely sure how best to do this. SO if you were looking at part of a square and altering the color etc., only the values you were seeing from that point of view would change.
    has anyone done this sort of thing? Any thought would be appreciated..