Scene parser for xml3d