get_scene_depth function

Get the scene depth from rgl to offset rayrender scenes