CPC G06F 3/04815 (2013.01) [G06F 3/04883 (2013.01); G06T 19/006 (2013.01)] | 12 Claims |
1. A method performed by a computer configured to be communicable with a position detection device that includes a drawing surface and that, in operation, detects a position of an electronic pen on the drawing surface, the method comprising:
rendering, in a virtual reality space, a first object that is a three-dimensional object;
rendering, near the first object, a display surface that is a three-dimensional object;
rendering, on the display surface, a three-dimensional line that is a three-dimensional object generated based on the position of the electronic pen on the drawing surface, wherein the position of the electronic pen is detected by the position detection device;
outputting the first object, the display surface, and the three-dimensional line, which are the three-dimensional objects, to a display;
obtaining first correspondence information indicating a correspondence between a first coordinate system defined on the drawing surface and a second coordinate system defined on the display surface;
obtaining second correspondence information indicating a correspondence between the second coordinate system and a third coordinate system indicating the virtual reality space; and
converting the position of the electronic pen into a position in the third coordinate system based on the first correspondence information and the second correspondence information.
|