Framework of interactive scene generation algorithm