A knowledge Based System for Automatic 3D Scene Generation