Direct window generation