as.rglscene function

Convert an object to an rglscene object.