Patent ID: 9595122
Date: 2017-03-14
CPC Classifications: G06T

Claim:
1. A drawing apparatus comprising a processor configured to draw a flow line representing flow of a fluid in a 3D-space as a 2D image viewed from an arbitrary viewpoint position, the processor further configured to: generate the flow line from a predetermined start position; set the viewpoint position in the 3D-space; form a band of facets connecting a plurality of polygon facets along the flow line based on the set viewpoint position; and map texture onto each of the plurality of polygon facets, the texture representing reflected light on the band of facets with respect to a light source placed at a predetermined position in the 3D-space, wherein the processor is configured to determine a slope of each of the plurality of polygon facets so that an area of each of the plurality of polygon facets when viewed from the set viewpoint position is maximized, a length of a perpendicular drawn from the set viewpoint position to a normal line extended from a specific point existing on each of the plurality of polygon facets is minimized, or a total of respective distances between each vertex of the plurality of polygon facets and the set viewpoint position is minimized, and the processor is configured to form the band of facets such that sides of the plurality of polygon facets passing through nodal points of the flow line are set to have a length which is determined depending on a physical value of the fluid at the corresponding nodal point, wherein the processor is further configured to generate new flow lines by translating the flow line to the new flow lines which pass through vertices of the plurality of polygon facets, determine a gradient of a line segment connecting two adjacent nodal points in each of the flow line and the new flow lines, generate a new nodal point between the two adjacent nodal points each time a difference of the gradient of the line segment connecting the two adjacent nodal points is greater than a predetermined threshold value, generate a new side which connect the new nodal points generated in each of the flow line and the new flow lines, and generate a polygon facet which is formed with the new side and any of the sides of the plurality of polygon facets adjacent to the new side.