Generalised loading from 2 vectors

moved from RenderObject3D to RenderObject, so that 2D object may use it
as well