The invention provides a character and dynamic scene interaction
animation generation method and device, and relates to the technical field of
character animation generation, and the method comprises the steps: firstly obtaining a character and scene interaction
data set, dividing a
training set and a
test set, and then carrying out the down-sampling of the data of the
training set; next, near-person scene space features of the down-sampling data and character action features with quantity information are extracted and stored in a
database according to a
time sequence; next, retrieving the next frame of data corresponding to K most similar features for each frame of data in the
training set as future reference data; training a model by using the training data and future reference data, constraining
joint rotation, displacement and the like through a
loss function, and training until convergence; and finally, circularly retrieving the reference data in the dynamic scene in an autoregressive mode, generating a next frame of action and updating the
pose until a specified frame number of
animation is generated. According to the method, the dynamic scene change can be processed in real time, reasonable and diversified character actions can be generated, the
animation with unlimited duration can be continuously generated, and the method is suitable for scenes with high real-time requirements.