Electronic device for carrying out three-dimensional sketching and operation method thereof
View Patent ↗Disclosed are an electronic device for carrying out three-dimensional sketching, an electronic device, and an operating method thereof. The disclosed electronic device comprises at least one processor which arranges a reference plane onto a three-dimensional virtual space including an object expressed by a plurality of lines, and generates a joint, which applies to a first part of the object, on the basis of repetitive movement of the first part overlapping with the reference plane, while a first touch input by a user on the reference plane is being maintained. The joint is determined according to the component type of the reference plane to which the first touch input is inputted, and the number of second touch inputs, of the user, for controlling the repetitive movement of the first part.
1 . An electronic device comprising:
one or more processors configured to
place a reference plane in a three-dimensional (3D) virtual space comprising an object expressed by a plurality of lines, and
generate a joint applied to a first part, based on a repetitive movement of the first part of the object overlapping the reference plane, while a first touch input by a user to the reference plane is being maintained,
wherein the joint is determined based on a component type of the reference plane to which the first touch input is input and the number of second touch inputs, which are configured to control the repetitive movement of the first part, by the user.
2 . The electronic device of claim 1 , wherein
the second touch inputs are a touch input to the first part overlapping the reference plane.
3 . The electronic device of claim 1 , wherein
the repetitive movement of the first part is performed based on the reference plane.
4 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
generate a hinge joint where the first part rotates around an axis of the reference plane in response to the first touch input being input to the axis set for the reference plane and there being one second touch input.
5 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
generate a linear slider where the first part has a linear movement along an axis of the reference plane in response to the first touch input being input to the axis set for the reference plane and there being a plurality of second touch inputs, or
generate a linear slider where the first part has a linear movement on the reference plane in response to the first touch input being input to a surrounding region set for the reference plane and there being one second touch input.
6 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
generate a curved slider where the first part has a curved movement according to the repetitive movement in response to the first touch input being input to a surrounding region set for the reference plane and there being a plurality of second touch inputs.
7 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
generate a ball joint where the first part spherically rotates around a center point in response to the first touch input being input to the center point set for the reference plane and there being one second touch input or a plurality of second touch inputs.
8 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
generate the joint configured to connect a second part to the first part, wherein the second part is adjacent to the first part to which the joint is applied and is a reference for the repetitive movement of the first part.
9 . The electronic device of claim 8 , wherein
the first part is set to a child part of the second part, and
the second part is set to a parent part of the first part.
10 . The electronic device of claim 1 , wherein
the one or more processors are further configured to determine a movement range of the joint, based on the repetitive movement of the first part.
11 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
rotate or translate the reference plane around an axis according to a tap and drag input in response to the tap and drag input to a middle region set for the reference plane being input by the user while the first touch input by the user to the axis set for the reference plane is being maintained.
12 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
rotate and/or translate the reference plane on the reference plane according to a tap and drag input in response to the tap and drag input to a middle region set for the reference plane being input by the user while the first touch input by the user to a surrounding region set for the reference plane is being maintained.
13 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
orbit and/or spin the reference plane around a center point according to a tap and drag input in response to the tap and drag input to a middle region set for the reference plane being input by the user while the first touch input by the user to the center point set for the reference plane is being maintained.
14 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
control one or more movements of a plurality of parts of the object and determine a plurality of poses of the object, and
control a movement of the object, changing from a first pose to a second pose among the plurality of poses, according to a tap and drag input that is input by the user.
15 . The electronic device of claim 1 , wherein
the one or more processors are further configured to
determine a target part which the user desires to move among the plurality of parts of the object and a reference part that is a reference for a movement of the target part, and
activate at least some of one or more joints between the reference part and the target part and move the target part by control of the user.
16 . The electronic device of claim 1 , wherein
the one or more processors are further configured to set some lines selected by the user among the plurality of lines expressing the object as one part.
17 . The electronic device of claim 1 , wherein
the one or more processors are further configured to draw a line on the reference plane according to a pen input that is input by the user.
18 . The electronic device of claim 1 , wherein
the first touch input may be input by a non-dominant hand of the user, and
the second touch inputs may be input by a dominant hand of the user.
19 . An operating method of an electronic device, the operating method comprising:
placing a reference plane in a three-dimensional (3D) virtual space comprising an object expressed by a plurality of lines; and
generating a joint applied to a first part, based on a repetitive movement of the first part of the object overlapping the reference plane, while a first touch input by a user to the reference plane is being maintained,
wherein the joint is determined based on a component type of the reference plane to which the first touch input is input and the number of second touch inputs, which are configured to control the repetitive movement of the first part, by the user.
20 . A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the operating method of claim 19 .