EDIT: Realized there was a way easier way to do this - create a new AOV with a lightgroup, and place a super intense point like with no GI at the bridge of the nose of the driver. Clamp everything >0 to white and I have a handy matte for use in post.
Hey everyone, have an interesting brain twister here. I am a forensic animator, and we have a case that involves visibility of a pedestrian. We’d like to be able to show from a third person perspective what the driver can and cannot see.
My immediate thought is that the best way would be to somehow shade what they could see as one color (through a procedural shader maybe?) and everything else as another. Following that line of thinking, I believe the next step would be to somehow send out rays to test which faces were visible from the Driver POV camera, and assign them to one shader or another based on those results.
Now, if I understand it that means I’ll somehow have to write a script. I’m digging into Python right now and trying to get my head wrapped around which keywords will set me in the right direction. Has anyone ever done something similar that I could take a look at? Does anyone have any sources I could look at to set off in the right direction?
Thanks,
Matt