Message 1 of 2
How to quickly determine if object is visible ?

Not applicable
03-19-2009
03:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all, time since last post.
How to quickly determine if object is visible trough camera over time say animation range from frame 5 to 160.. Problem is I produced A LOT of objects and not everyone is visible from various cameras.. so i'm trying to reduce their count based on camera visibility and leave only that are visible in any of frame from one particular camera. Then setup scene again for other camera.
I read something about ID and frame buffer but seems useless cause there is too much objects. Object is represented as cube volume and test should be based on visibility of this volume in camera view.
I was thinking of some array containing only a visible objects based on some visibility or camera volume selection but i don't know how to perform this test exactly so some example or link would be great..
Any help is welcome.. Some guru here? 🙂
ps: i like if script could be quick but i'll be happy if i get objects sorted out in reasonable time, speed is not condition...
& i have phyton instaled also if this is some help..
Than you all
image: boxes on which should be performed test.. on display is only aprox. 15% of total objects... not counting other geometry.. it is huge scene 😛
How to quickly determine if object is visible trough camera over time say animation range from frame 5 to 160.. Problem is I produced A LOT of objects and not everyone is visible from various cameras.. so i'm trying to reduce their count based on camera visibility and leave only that are visible in any of frame from one particular camera. Then setup scene again for other camera.
I read something about ID and frame buffer but seems useless cause there is too much objects. Object is represented as cube volume and test should be based on visibility of this volume in camera view.
I was thinking of some array containing only a visible objects based on some visibility or camera volume selection but i don't know how to perform this test exactly so some example or link would be great..
Any help is welcome.. Some guru here? 🙂
ps: i like if script could be quick but i'll be happy if i get objects sorted out in reasonable time, speed is not condition...
& i have phyton instaled also if this is some help..
Than you all
image: boxes on which should be performed test.. on display is only aprox. 15% of total objects... not counting other geometry.. it is huge scene 😛