Updated 3d render to use new abstractions.