This invention discloses a method, device, medium, and
system for generating and using 3D character
culling data in
computer graphics, belonging to the field of
computer graphics. The method includes the following steps: pre-generating frame-level cluster bounding box data corresponding to sampled
animation frames; submitting the frame-level cluster bounding box data to the
graphics processing unit of the
graphics card during initialization; updating the current
animation frame using an
animation state
machine during runtime; during the
culling operation, searching for the bounding box data of the cluster in the current animation
frame based on the current animation frame and the cluster index, and
culling it; if the current animation frame does not match the sampled animation frame, interpolating and calculating the bounding box data corresponding to the current animation
frame based on the pre-generated frame-level cluster bounding box data of the animation frames before and after the current animation frame. This invention has advantages such as
low overhead, good dynamics, and high culling performance.