preparing composite objects for opengl renderer