+ float x = arg->getFloatValue("x-offset-m", 0.0f);
+ float y = arg->getFloatValue("y-offset-m", 0.0f);
+
+ SGSky* thesky = globals->get_renderer()->getSky();
+ SGCloudField *layer = thesky->get_cloud_layer(l)->get_layer3D();
+ SGNewCloud cld(texture_root, arg, &seed);
+ bool success = layer->addCloud(lon, lat, alt, x, y, index, cld.genCloud());