rendering working, some stuff for multi objects