| CPC A63F 13/52 (2014.09) [G06T 7/55 (2017.01); G06T 7/74 (2017.01); G06T 7/90 (2017.01); G06T 19/20 (2013.01); G06T 2200/24 (2013.01); G06T 2207/10016 (2013.01); G06T 2207/10028 (2013.01); G06T 2207/30244 (2013.01); G06T 2210/12 (2013.01); G06T 2210/56 (2013.01); G06T 2219/2008 (2013.01); G06T 2219/2012 (2013.01); G06T 2219/2024 (2013.01)] | 20 Claims |

|
1. A virtual-environment-based object construction method, performed by a terminal, the method comprising:
displaying an environment interface, the environment interface comprising an image corresponding to a virtual environment;
obtaining a feature point cloud from a capture operation performed by a camera, the feature point cloud determining a style of a target object to be displayed;
receiving a position input operation indicating a display position of the target object in the virtual environment; and
displaying the target object at the display position in the virtual environment by filling a region corresponding to the feature point cloud with voxel blocks, wherein filling the region corresponding to the feature point cloud with the voxel blocks comprises:
performing three-dimensional (3D) slicing on a bounding box corresponding to the feature point cloud to obtain voxel regions; and
filling the voxel regions with the voxel blocks according to an inclusion relationship between the voxel regions and pixels in the feature point cloud by filling the voxel regions with the voxel blocks in response to a quantity of the pixels in the voxel regions being greater than a preset quantity.
|