WO1995022122A1 - Real-time image generation system for simulating physical paint, drawing media, and feature modeling with 3-d graphics - Google Patents

Real-time image generation system for simulating physical paint, drawing media, and feature modeling with 3-d graphics Download PDF

Info

Publication number
WO1995022122A1
WO1995022122A1 PCT/US1995/001670 US9501670W WO9522122A1 WO 1995022122 A1 WO1995022122 A1 WO 1995022122A1 US 9501670 W US9501670 W US 9501670W WO 9522122 A1 WO9522122 A1 WO 9522122A1
Authority
WO
WIPO (PCT)
Prior art keywords
primitive
dimensional
stroke
signals
brush
Prior art date
Application number
PCT/US1995/001670
Other languages
French (fr)
Inventor
Kenneth W. Kiss
Carl S. Petersen
Peter-Pike J. Sloan
Original Assignee
Parametric Technology Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Parametric Technology Corporation filed Critical Parametric Technology Corporation
Priority to EP95910960A priority Critical patent/EP0745246A1/en
Publication of WO1995022122A1 publication Critical patent/WO1995022122A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping

Definitions

  • the present development relates generally to computer graphics and more specifically to real-time interactive creation of computer graphics images.
  • a variety of computer graphics system peripherals enable the display of electronic imagery. Representative signals are typically raster scanned from a frame buffer memory into the display device. Input is provided by a user through a pointing device. As the user moves the pointing device a trace of the trajectory appears on the display. As described in the Book, Principles of Computer Graphics, Second edition, Newman and Sproull, McGraw-Hill Book Company, 1979, Sections 12-4 and 17-2. Various pointing devices can be used to generate strokes of color in a computer graphics display, just as in painting on a canvas.
  • the present development takes a new approach to traditional two dimensional painting and provides a viable solution to the three dimensional problem.
  • the approach may involve the use of a three dimensional graphic primitive as the basic painting unit rather than pixels. Utilizing such a higher level primitive results in a far more flexible and powerful painting tool.
  • the three dimensional drawing primitive utilizes all the acceleration and functionality of generally available three dimensional computer graphics accelerator devices. Dependence on the host computer processor for performance is eliminated and may be shifted to the graphics accelerator.
  • the basic drawing primitive may take various forms including a simple polygon, a set of polygons such as a cube or sphere, or any form of polygonal mesh or surface.
  • the polygonal mesh may be subdivided to varying degrees in both the horizontal and vertical dimensions to produce numerous characteristic variations.
  • a typical implementation will hold the X and Y components of the mesh primitive constant while allowing the Z component to be modified to match the underlying surface data at each vertex in the brush mesh.
  • the three dimensional brush has substantially the same characteristics as the flat canvas brush except that it conforms to the shape of the underlying surface at that location.
  • the three dimensional brush primitive is processed through the accelerated three dimensional graphics pipeline resulting in the visual effect of painting in real-time on either a canvas or some underlying three dimensional surface.
  • the three dimensional graphic primitive of the present development can also be used in older or lower-cost computer graphics systems that do not have hardware texture mapping capabilities.
  • the physical drawing tool is electronically duplicated by defining primitive characteristic information representative of the physical drawing tool at the vertices of the primitive. For example, by defining data, as the transparency or surface normals at each vertex within the primitive, a brush with the desired shape, transparency and shading properties can be created.
  • FIGURE 1 is a block diagram and perspective view of a system in accordance with the present invention.
  • FIGURE 2 is a graphic representation illustrating a functional aspect of the painting operation of the system of FIGURE 1;
  • FIGURES 3a, 3b, 3c and 3d are graphic representations related to FIGURE 2;
  • FIGURE 4 is a block diagram of the system of FIGURE 1;
  • FIGURE 5 is a flow chart illustrative of one aspect of operation in the system of FIGURE 4;
  • FIGURE 6 is a block diagram representing a structure implementing the system of FIGURE 1;
  • FIGURE 7 is a graphic representation illustrating a functional aspect of the painting operation of an alternative embodiment of the present invention
  • FIGURE 8 is a graphic representation related to FIGURE
  • FIGURE 9 is a graphic representation in plan view illustrating a functional aspect of the painting operation of an alternative embodiment of the present invention
  • FIGURE 10 is a graphic representation in section illustrating a functional aspect of the painting operation of an alternative embodiment of the present invention
  • FIGURE 11 is a graphic representation illustrating a surface normal map used in an alternative embodiment of the present invention.
  • FIGURE 12 is a flow chart illustrative of one aspect of operation of an alternative embodiment of the present invention that uses the surface normal map of FIGURE 11;
  • FIGURE 13 is a graphic representation illustrating a view frustum radiating from an eye-point in a three dimensional graphics display further illustrating a paint mask used in an alternative embodiment of the present invention.
  • a pointing device here represented as an electronic digitizing tablet T is connected through a computer graphics system A to a display device D.
  • the display device graphically represents paint strokes which coincide with trajectories of a moving stylus P associated with the digitizing tablet T.
  • Stroke SI as defined by a user with stylus P, results in the response of an electronic brush B to produce a persistent paint stroke S2 on the display device D.
  • the paint stroke S2 is rendered in real-time and may reflect any of numerous effects including conforming to a surface in three dimensional painting.
  • the digitizing tablet T provides a working surface 12 for the stylus P.
  • the electronic representation of the brush B (polygon 17 and circle 19, treated below) responds to the trajectory of the stroke SI on the surface 12 in order to visualize the stroke S2 as paint on the screen 14.
  • the pointing device may take various forms but is represented here as a digitizing tablet T with a pressure sensitive stylus P. Many such devices commercially available from several manufacturers, are suitable for use with this system as described.
  • the stylus signals are provided through a cable 16 to a graphics unit 18.
  • the graphics unit 18 comprises a dynamic three dimensional computer operating in cooperation with a memory 20 to drive a frame buffer 21 associated with the display device D.
  • the display device D includes a cathode ray tube 23 defining the screen 14.
  • the digitizing tablet T provides both coordinate signals according to stylus position and force or pressure signals according to the pressure applied to the stylus P. While a sequence of position signals define the stroke SI, the pressure signals may influence a variety of brush characteristics such as size, transparency, and color. Therefore, any number of characteristics of the rendered stroke S2 may be modified by the pressure applied to the stylus P.
  • FIGURE 1 does not simply color pixels within a specified distance from the stroke trajectory. Rather, a three dimensional primitive is employed and combined with texture mapping techniques to appear as a brush or other physical drawing tool on the screen 14. Any three dimensional object may be used as the brush primitive, however one primitive for this embodiment for both speed and flexibility is a polygonal mesh
  • the characteristics of this mesh are not constant and may be modified at user discretion.
  • the brush may actually be represented by any three dimensional graphics primitive including (but not limited to) a cube, a sphere, a polygonal shape, or a surface.
  • the polygonal mesh mentioned previously is not required to remain in any given plane.
  • the mesh itself may take on values in any dimension to enable painting with any shape in any dimension. Most commonly, the X and Y dimensions of the mesh are fixed and the Z dimension is active to accomplish the three dimensional painting as mentioned above.
  • the polygonal mesh which represents the basic drawing primitive is rendered in conjunction with a texture map.
  • the texture map is a circle with some degree of transparency fall off with increasing distance from the center, but in practice the texture map may consist of any shape and transparency characteristics. It is the texture map which gives the rectangular shaped polygonal mesh the soft round appearance of an airbrush or the harder round point of a pencil.
  • the texture mapped polygonal mesh is drawn in a sequence of locations as specified by the stroke SI to produce the visualization of the stroke S2. Brush strokes are rendered on the screen by drawing the texture mapped polygonal mesh at a series of overlapping locations to give the appearance of a smooth stroke.
  • Texture mapping polygons and surfaces is also a well known and widely used technique in computer graphics; e.g., see U.S. Patent 4,855,943, System for Texturing Computer Graphics Images, Robinson. Texture mapping is typically used to add detail and realism to computer rendered objects and scenes. Texturing enables the modulation of color and transparency across a single polygon, a set of polygons, or any other graphic primitive.
  • a single channel transparency texture map is employed to enable most traditional brushes and brushing operations. This provides a flexible implementation by permitting all brush parameters except for the local transparency characteristics to be controlled by simple primitive or context attributes.
  • the texture map is not limited to a single channel or brush transparency characteristics. It may consist of multiple channels which contain a wide variety of visual information.
  • a single channel texture map consists of a two dimensional grid of data values. These data values may pertain to any visual component of the drawing primitive including color or transparency.
  • Multi-channel texture maps are an association, or grouping, of more than one data grids with each channel pertaining to a different visual characteristic.
  • the brush components are shown considerably enlarged.
  • the polygonal mesh 24 (at polygon 17) is shown with the maximum perimeter of an exemplary texture map for a round brush (circle 19) .
  • Polygonal mesh primitives are well known in the art as described in the book, Fundamentals of Interactive Computer Graphics. Foley and Van Dam, 1984, Addison-Wesley Publishing Company, see section 15.9 regarding curved surfaces. The function and behavior of the polygonal mesh are treated in greater detail later in this description.
  • the polygonal mesh 24 (FIGURE 2) is mathematically defined in the system 18 (FIGURE 1) and is transformed to sequential locations as directed by the stylus P, to display or render the stroke SI on the display screen as stroke S2 in real-time.
  • each instance of the polygonal mesh 24 is drawn cumulatively into the frame buffer 21.
  • the texture mapped polygonal mesh writes over and blends with existing display data in the frame buffer 21, and remains visible until subsequently drawn over and obscured or explicitly cleared. This is in accordance with traditional physical painting on a canvas.
  • processing the polygonal mesh 24 is accomplished through basic three dimensional affine transformations.
  • the painting canvas is presented through any three dimensional viewing transformation or projection.
  • the size of the brush is controlled by a local three dimensional scale operation applied to the polygonal mesh with the X and Y scale factors set to the specified brush size and the Z scale factor set to one.
  • the location of the stylus P on the digitizing tablet determines the X and Y translation factors and thus the position of the brush on the screen.
  • This mechanism fully utilizes basic three dimensional principles and capabilities of any three dimensional graphics accelerator to provide real-time two dimensional painting tools.
  • graphics interface standards are currently available that provide a program interface to the graphics functionality required.
  • a texture mapped three dimensional primitive exemplified by a polygonal mesh 24, can be utilized to produce the visual appearance of real-time two dimensional painting and drawing.
  • Other physical brush parameters are related to the force or pressure applied to stylus P along a stroke to more closely simulate the tools used by a traditional artist.
  • the overall transparency of the electronic drawing tool can be a function of stylus pressure.
  • the pressure is converted to a transparency value through a user controlled algorithm and applied globally to the brush primitive.
  • This global transparency works in conjunction with the local transparency of the texture map to produce a brush that is transparent to the proper degree even where the texture map is completely opaque.
  • the fine art technique of putting different paint colors on opposing sides of a brush can be simulated using graphical color interpolation techniques.
  • This electronic analogy also enables multi-color effects not available with physical tools through the use of assigning colors to each vertex of the polygonal mesh. These include stippled color variations and radial color transitions in addition to traditional linear transitions.
  • Transformations in the Z dimension are facilitated by the present invention since the painting primitive is three dimensional.
  • the brush primitive can be transformed through rotate, translate, and scale operations in Z as well as X and Y. From this it is possible to generate true three dimensional effects.
  • the brush can be moved towards or away from the user giving the effect of new paint appearing in front of or behind existing paint or drawings as in masking or layering applications. Rotations in Z make the brush plane non-parallel to the viewing plane enabling many effects including simple perspective.
  • the geometric basis for the standard brushes is the polygonal mesh 24 as shown in FIGURE 2.
  • the representation shows the polygonal mesh to the quadrilaterals, but it may also be triangles or any other appropriate mesh primitive.
  • the graphical element used for the drawing primitive may be defined in any appropriate coordinate space.
  • the density of the mesh within these bounds may vary from 2 x 2 with no internal subdivisions up to any practical limit.
  • the number of subdivisions need not be equal in the X and Y dimensions and the subdivision density may also vary along both axes.
  • the Z values in the mesh are some constant value. However, when painting on an underlying three dimensional surface each Z value in the mesh changes with every instance of the brush primitive.
  • the degree to which the polygonal mesh conforms to the surface is a function of the proximity of the mesh subdivisions.
  • the subdivisions become closer together either through reducing the size of the brush or increasing the number of subdivisions or both.
  • Other techniques may be employed whereby the mesh automatically subdivides as necessary to conform to the surface being painted on. This self-adapting technique may be based on any spatial relationship or property of the surface including angular tolerance, spatial differences, or chord deviations.
  • the basic painting primitive may be virtually any three dimensional surface or polygonal element.
  • the texture map applied to the brush primitive is equally as flexible and may take many forms.
  • the definition of the texture map may be generated, read from a data file, or even captured from the frame buffer.
  • a transparency texture map as defined by a standard gaussian distribution. This produces a transparency map that is opaque in the center and becomes gradually more transparent as distance from the center increases, according to the distribution, until it becomes completely transparent.
  • the texture map in this case holds only transparency information using the color as specified in the graphics context. In this case the graphics context is simply the current state of all parameters that affect the visual display of any graphic primitive.
  • the transparency texture map used for all normal brushing may consist of various transparency distributions or fall off including conical, spherical, or any user designed profile. Examples of this are shown in
  • FIGURE 3 Texture maps of more than one channel may also be utilized in conjunction with the brush primitive. These multi-channel textures may contain as many channels as are supported by the texture mapping unit. A full multi-channel texture map enables highly complex brushes and brush patterns by combining detailed color data with transparency information and other visual data. For example, considering FIGURE 2 in a cross-section along the line 3-3 indicates space as the abscissa with opacity as the ordinate and provides the representation of FIGURE 3a. Essentially, the circle 19 is shown as a section through a symmetrical cylinder defining an opaque brush. Another variation of the texture map may be somewhat like an airbrush and is depicted in FIGURE 3b.
  • FIGURE 3c represents a conical configuration sectioned as a triangle 32. Again, brush transparency falls off from opaque 34 to completely transparent a given distance from the center 36.
  • FIGURE 3d illustrates a texture map with a central void 38. Accordingly, the opaque or intense area of the map is defined as a toroid 40 that might be variously colored. Again, the formats are merely representative of a multitude of possibilities. Although these examples all use symmetrical texture maps, asymmetrical maps according to shape or transparency may also be used.
  • FIGURE 4 shows the structural aspects of the system.
  • a pointing device again shown as a digitizing tablet 50, provides X, Y planar coordinate or position input signals, along with a force or pressure signal to a central processor unit 52.
  • This central processor 52 defines the brush primitive and executes preliminary data processing for a graphics processor 54.
  • the main processor 52 provides three dimensional graphics primitive data to the graphics processor 54, which performs all three dimensional processing.
  • the graphics processor 54 executes texture mapping operations using data from a texture memory 56, as well as all transformation and lighting operations.
  • the resulting data is drawn into a frame buffer 58 for driving a display unit 60.
  • Computer graphics systems consisting of a central processor unit 52 and a graphics processor 54 are disclosed in the reference book, Fundamentals of Interactive Computer Graphics. Foley.
  • graphic primitives are processed in the graphics processor 54 and scan converted for display in the frame buffer 58.
  • the tablet 50 provides coordinate information to the central processor unit 52 to define subsequent primitive transformations for the graphics processor 54.
  • the defined primitive is processed as explained above, ultimately being visualized as the brush B (FIGURE 1) .
  • brush B FIGURE 1
  • all subsequent strokes overwrite and blend with previous strokes and existing background until explicitly cleared.
  • any colors or patterns which result on the display may be sampled or read back from the frame buffer for use in subsequent painting or drawing operations.
  • the basic operation of the system in FIGURE 4 is treated in FIGURE 5.
  • an initial query involves the drawing primitive (texture map) to be used.
  • query block 62 if the current drawing primitive is to continue use there is no change. Otherwise, as indicated by block 64, a new drawing primitive or texture map is designated for use and loaded. Once the appropriate drawing primitive is loaded, it is transformed to the proper size, position and orientation as indicated by block 66. With the transformation completed, the process advances to query block 68 to determine whether or not texture mapping is to be applied. If texture mapping is not required, the process branches around the next query block 70 which determines if the current texture map is to continue use. If not the process continues to block 72 where the new texture map is loaded into texture memory 56. At this point all process flow options come back together and continue to block 74.
  • the current brush primitive is sent to the graphics accelerator where it is properly rendered according to current color and material selections, environment lighting, and the current texture map and texture mapping parameters. Processing then continues to block 76 where the result from block 74 is blended appropriately in to the frame buffer. The process is completed when the frame buffer is visualized on the display device in real time. As subsequent input from the input device is received the brush primitive is transformed to new locations and processed again according to the same procedure.
  • the process may advance to determine whether or not texture mapping is to be applied. From the block 62, the process is outlined through a series of block-represented steps as illustrated. Specifically, the process is indicated by blocks: 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86 and 90.
  • the system described utilizes three dimensional graphics to position and size a three dimensional brush primitive according to user input.
  • the brush is comprised of a geometric component, typically a polygonal mesh, and a texture map component. It is the texture map component that imparts shape and local transparency characteristics to the visualized brush.
  • the result is very similar to physical drawings or paintings on paper or other physical medium.
  • the system may also be utilized to accomplish three dimensional painting. That is, painting directly on a three dimensional object in a scene with respect to lighting and all other components in the scene.
  • the three dimensional object or scene to be painted on may be displayed as a shaded object in any view under any lighting conditions.
  • the operation of the system in this sense is very similar to that used to produce a visually two dimensional result.
  • the polygonal mesh representing the drawing primitive, is scaled and translated to the appropriate location according to user input.
  • the X, Y coordinates are converted from model space to screen space by passing them through the current transformations.
  • These screen space X, Y coordinates are then used as indices into the Z-buffer depth buffer, and new Z values are obtained for each vertex in the polygonal mesh.
  • the actual Z or depth data may also be generated from a mathematical surface description evaluated at each X, Y coordinate, or read from a copy of the actual Z-buffer at a known state stored in the memory unit.
  • New vertex normals are then computed for each vertex in the polygonal mesh to ensure proper visual display.
  • the brush conforms to the surface being painted as closely as possible given the constraints of the polygonal mesh.
  • This technique requires the availability of a Z-buffer in the graphics processor 54 or frame buffer as described in the above referenced book, Fundamentals of Computer Graphics, section 15.5.
  • This technique may also be used to alter the appearance of the surface.
  • the vertex normals which are generated to ensure accurate visual display of the painted surface can be perturbed either randomly or systematically through the brush tool to make the surface appear rough or mottled.
  • the magnitude of the effect of the normal perturbation is subject to several controlling factors.
  • the perturbation can be constrained to very small differences from the original computed normal producing the visual appearance of sand or small ripples. If the normals are perturbed further from the actual the surface may appear mottled.
  • the relative proximity of the polygonal mesh subdivisions also plays a role in the appearance of the surface when the normals are subject to perturbation. Closer subdivisions produce a finer grained surface appearance like sand while further spacing of subdivisions produces larger surface deformities such as waves or rolling hills.
  • the beginning and ending of the three dimensional painting process are similar to the initially described technique for two dimensional painting.
  • the distinct intermediate steps consist of managing the vertices and representing the conforming polygonal mesh operation. It is these steps that enable the drawing primitive to take on a different shape in the Z dimension with every instance.
  • the polygonal mesh wraps itself onto the surface being painted or drawn on by referencing the depth Z values associated with the surface. In practice a physical surface is not required as the necessary surface information may be generated algorithmically or by any of a variety of other means.
  • the performance of the painting or drawing tool is insensitive to the complexity of the model or surface being painted on.
  • the performance imparted by the conforming polygonal mesh is sensitive only to the number of subdivisions in the polygonal mesh and the speed of the three dimensional graphics pipeline in the graphics accelerator.
  • the polygonal mesh conforms to the underlying surface by virtue of sampling appropriate Z value from the graphics accelerator or frame buffer.
  • the degree to which the polygonal mesh primitive conforms to the surface is a function of the mesh subdivision spacing. The closer the spacing the tighter the mesh will conform to the surface. This spacing can be effected by either changing the number of subdivisions or changing the size of the brush or a combination of both. Subdivisions spaced widely apart cause the mesh to conform loosely potentially eliminating detail.
  • the polygonal mesh conforms closer to the actual surface as the subdivisions get closer, ultimately preserving even the smallest detail.
  • the visual result is that of painting with the selected brush and paint parameters directly on a three dimensional surface. Paint is a much more complex medium when considered in the three dimensional scenario as well. Paint in this context may be represented by more than a simple color, but may also be represented by all the properties of physical paint including ambient, diffuse and specular colors, shininess, and surface roughness.
  • the concept of the conforming mesh in the three dimensional paint scenario can take on other variations. One such variation enables the painting of actual geometric changes or detail onto an existing surface or model. This again requires the use of a polygonal mesh as the brush primitive. The difference is that only certain portions of the mesh are permitted to conform to the surface.
  • the rest of the polygonal mesh has a defined shape relative to the conforming vertices. This enables an artist to paint a groove or any other positive or negative detail onto the existing surface based on the inherent relative shape of the polygonal mesh.
  • the conforming polygonal mesh primitive can also be used to duplicate surfaces or geometric features.
  • the depth information can be received as source from a location on the surface or model and then transferred to another location and orientation through the normal mechanisms of brush control discussed above.
  • entire geometric volumes may not only be utilized as the brush source data, but may also be used as the actual brush primitive. The volume may then be manipulated and placed back into the scene or onto the model at any location or orientation. This kind of painting method goes beyond basic visual painting to the concept of truly modelling geometric data with a painting device. It is conceivable that entire geometric models or surfaces can be painted utilizing this technique.
  • FIGURE 6 illustrating components of the system interconnected by a data bus 100. Although some elements of the system have been treated previously, a new set of numerals are used to accommodate for potential component variation.
  • a oveable pointing device 102 provides input information, including position and pressure, to a central processor unit 104, which is subsequently connected to the data bus 100.
  • Three storage structures are utilized in this embodiment.
  • Basic data is contained in a general data storage unit or disk 106, current brush information and characteristics are held in memory 108, and the texture map which is used with the current brush or drawing tool is held in texture memory 107.
  • Data files containing brush transparency characteristics are loaded from data storage 106 into memory 108 on an as needed basis. These local transparency characteristics may also be generated, be a function of other data, or be read from the frame buffer 116. This data is then processed and loaded into texture memory 110. Subsequently, the texture will apply to all drawing primitives until a new texture map is loaded or selected.
  • the geometry used for the brush primitive is also generated as needed and stored in memory 108.
  • the central processor unit 104 sends the brush primitive from memory 108 to the graphics processor 112 along with other pertinent graphics data including transformations, color, and transparency.
  • the graphics processor 112 then draws the primitive into the frame buffer 116 as appropriate and according to the specified transformations and other graphical information.
  • the frame buffer is immediately visualized on the display unit 118, thus giving the impression of a paint brush drawing in real ⁇ time.
  • the force or pressure applied to the pointing device may vary several of the brush appearance parameters including color, size, and transparency. All of these may be interpolated through a specified range according to pressure response characteristics.
  • the mesh conforming unit 114 When painting on an underlying surface or model instead of a flat canvas, the mesh conforming unit 114 is active. This enables the polygonal mesh Z values to be updated with each instance of the brush to match the underlying surface at that point.
  • the operation of the mesh conforming unit 114 is the last step in the brushing process before the primitive is sent to the graphics processor 112 to be drawn into the frame buffer 116.
  • the mesh conforming unit 114 samples new Z depth values from the frame buffer and computes a new vertex normal for each vertex in the polygonal mesh primitive. The process then continues with the graphics processor 112 drawing the brush primitive into the frame buffer for immediate display.
  • the three dimensional operation of the system in FIGURE 6 is similar to that illustrated in FIGURE 5.
  • the primary difference is the additional query that occurs after the completion of the step of transforming the brush primitive. Following this step a query is raised to determine if the brush primitive is a conforming mesh. If so the mesh conforming structure is activated before proceeding in order to sample new Z depth values from the underlying surface. Then the primitive is sent to the graphics processor and drawn as explained previously.
  • the characteristics of the three dimensional drawing primitive are defined at the vertices of component polygons that make up the drawing primitive.
  • an exemplary drawing primitive 120 is shown considerably enlarged.
  • the drawing primitive 120 is made up of several polygons 124 including component polygons 124a, 124b and 124c.
  • the characteristics of the component polygons 124a and 124b are defined, in part, at their vertices 126a, 126b and 126c.
  • the color, opacity, surface normal and other characteristics of the component polygons are defined at each vertex.
  • a drawing primitive that resembles the airbrush discussed earlier is created by properly defining the opacity at the vertices 126a, 126b and 126c of the component polygons.
  • a cross-sectional view of Figure 7 along the line 8-8 is depicted with space as the abscissa and opacity as the ordinate.
  • the curve 128 in Figure 8 shows the opacity of the drawing primitive 120 ( Figure 7) highest in the center of the primitive and lowest at the outer edges of the primitive.
  • a circular brush pattern 122 Figure 7 could be created where the circle is opaque in the center and increasingly transparent toward the circumference.
  • the vertical lines 130 in Figure 8 represent the opacity defined at each of the vertices that lie along line 8-8.
  • the first vertical line 127 to the right of the ordinate in Figure 8 represents the opacity at the vertex 126c in Figure 7.
  • . igure 8 represents the opacity at the vertex 126a in Figure 7.
  • the opacity is greater at the vertex 126a than at the vertex 126c.
  • the degree to which the displayed brush stroke matches the brush pattern being emulated depends in part on the configuration of the component polygons within the drawing primitive. This is because pixel interpolation techniques typically use linear algorithms that only provide an approximation of the actual characteristics at a given pixel. Consequently, non-linear changes in brush characteristics such as the opacity represented by curve 128 in Figure 8 will not be accurately represented if the vertices of the component polygons are not spaced sufficiently close to one another. Thus, the accuracy of the displayed brush stroke will depend on the density of the component polygons within the drawing primitive.
  • the embodiment implementing Figures 7 and 8 eliminates the need for the texture mapping capabilities discussed earlier since the characteristics defined by the texture map in the previous embodiment are now defined at the vertices of the component polygons that make up the drawing primitive. Consequently, this embodiment can be used in older or less expensive (limited) graphics systems that do not have texture mapping hardware. Moreover, by increasing the density of the component polygons within the drawing primitive, the same brush resolution can be achieved using this approach as is achieved using the texture map approach. However, an increase in the density of the component polygons will typically have an adverse effect on the real ⁇ time performance of the system.
  • this embodiment is used in the same manner as the texture map embodiment.
  • Both two dimensional and three dimensional painting would be performed in the same manner except that the characteristics that were previously defined by the texture map and processed by the texture mapping hardware are defined by the component polygons and processed by conventional polygon rendering techniques.
  • similar three dimensional affine transformations, three dimensional scaling, x-y coordinate translations and z-coordinate transforms would be used in this embodiment.
  • the drawing primitive can still function as a three dimensional conforming mesh.
  • the density of the component polygons will be chosen depending on the resolution that is required for accurately displaying both the brush pattern and the contours of the three dimensional surface.
  • the drawing primitive while depicted in Figure 7 as a polygonal mesh, could take any number of forms.
  • the drawing primitive could be defined by geometric shapes other than polygons such as circles, spheres or ellipsis.
  • the drawing primitive could be a single polygon instead of a polygonal mesh.
  • the characteristics of the drawing primitive would be defined at the vertices of the drawing primitive itself.
  • the structural aspects of a system in accordance with this embodiment are very similar to those of a texture map embodiment. One difference of note is that the components within the dashed boxes in Figures 4 and 6 (the texture map unit 56 in Figure 4 and the texture memory 107 in Figure 6) may not be needed in the current embodiment.
  • the appropriate drawing primitive is still retrieved at blocks 62 and 64.
  • the drawing primitive typically includes information that defines additional characteristics of the drawing primitive.
  • the texture mapping operations represented by blocks 68, 70 and 72 would not have to be performed. Instead, the process would proceed directly to blocks 74, 76 and 78 where the drawing primitive is rendered, blended into the frame buffer and displayed.
  • the drawing primitive's shape conforms to the shape of the brush or other physical drawing tool that appears on the display screen. For example, a drawing primitive 132 as depicted in Figure 9 could be used to paint with a circular brush.
  • the drawing primitive of Figure 9 uses a radial grid.
  • the radial grid is constructed by subdividing a circular brush pattern by a series of concentric circles (simulated by the lines 134 and 135) and joined radial lines 136.
  • the density of the polygons 142 that make up the grid can be increased as needed by adding more concentric lines 134 or more radial lines 138 and 140.
  • the portions of the simulated circle 132 that are farther from the center 137 would typically have more radial lines than the inner simulated circles 134 and 135.
  • the drawing primitive of Figure 9 When the drawing primitive of Figure 9 is defined by characteristic information at the vertices of its component polygons (as discussed above) the drawing primitive has the advantage that all the component polygons 142 in the primitive contribute to the brush shape. This is in contrast with some of the embodiments of the drawing primitive of Figures 2 and 7.
  • the primitive 120 consists of a square grid made up of square component polygons 124a, 124b and 124c.
  • this type of primitive is used to draw a brush shape such as circle 122
  • several of the polygons such as component polygon 124c are totally transparent.
  • polygons such as component polygon 124c will be rendered even though they make no contribution to the display.
  • a drawing primitive according to this embodiment of the invention could take a variety of forms in addition to the radial mesh depicted in Figure 9.
  • the primitive could have a relatively simple structure such as a single triangle or a relatively complex structure such as a three dimensional radial mesh that could be used with a spherical brush.
  • the physical structure of the drawing primitive is adapted to provide detail where it is needed.
  • the drawing primitive is typically adapted when the level of detail of what is being painted either increases or decreases. For example, if more detail is needed in some aspect of what is being painted, the size of the component polygons making up the drawing primitive could be decreased.
  • the shape of the component polygons making up the drawing primitive could also be changed as needed.
  • the desired shape of the simulated brush can affect both the density and the shape of component polygons within a drawing primitive.
  • the density of the component polygons would typically be increased in areas of the drawing primitive where there are non-linear line segments.
  • component polygons 144 are an example of where smaller polygons would be used at the circumference of the circle for this purpose.
  • Component polygons 144 also show how the shape of the polygons is chosen to provide a desired brush characteristic. In this case, triangles are used to define the circumference of the circular brush.
  • Changing color, transparency or other characteristics of the brush could also have a bearing on the physical structure of the drawing primitive.
  • a higher density of component polygons would typically be used in the portions of the drawing primitive where some characteristic of the drawing primitive is changing.
  • FIG 10 a modification of Figure 8 is shown.
  • the amplitude of the curve 148 represents some characteristic of the drawing primitive such as opacity (a) over a space (x) .
  • the vertical lines 150 represent values of that characteristic at the point where the curve 148 intersects the vertices of the component polygons.
  • the large arrows 154 indicate the locations of the vertices in Figure 8.
  • This technique can also be used when painting contoured three dimensional surfaces.
  • the brush could adapt to the changes in contour by increasing the density of the component polygons in the portions of the drawing primitive that are currently painting that portion of the surface.
  • This adaptation could be performed either manually or automatically.
  • manual adaptation the user would merely use a denser brush to paint on highly contoured surfaces than he or she would use on less contoured surfaces.
  • automatic adaptation the surface would be sampled as the brush stroke moves across the surface. When changes in the surface that require a different density brush are encountered, the drawing primitive would be changed to obtain the desired result.
  • this embodiment provides a method of painting in three dimensions with the required level of detail while providing a way to reduce processing needs by only putting the details in the drawing primitive where it is needed.
  • painting on a three dimensional surface is accomplished using a map implemented in a memory that contains the surface normal information of that surface.
  • Surface normals are used in three dimensional shading to create the effect in the display of a light source shining on a three dimensional surface.
  • the use of surface normals is well known in the art and is discussed in the above referenced book, Fundamentals of Interactive Computer Graphics, chapter 16.
  • surface normals consist of three components, Nx, Ny, and Nz, that mathematically describe the orientation of the surface in three dimensional space.
  • a map that contains the surface normal information for every pixel in the display is generated. This map is generated using the surface normals of the objects in the display. The information in the map is then used to assign the surface normal characteristic information at the vertices of the brush primitive (discussed earlier) .
  • each polygon in the display has a surface normal defined at its vertices. These polygon vertex surface normals are used to generate the surface normals for every pixel in that polygon using various interpolation techniques.
  • the surface normal map is created by calculating the surface normals for all pixels in all polygons in the display. Referring to Figure 11, the resulting surface normal map for a display with "m" number of rows and "n" number of columns would contain "m" times "n” normal map entries.
  • the map is used to calculate the surface normals for the three dimensional drawing primitive.
  • the drawing primitive surface normals are calculated for each vertex of each component polygon that makes up the drawing primitive. These surface normals are obtained by retrieving the surface normals for each pixel in the map upon which the component polygon vertices lie. As the drawing primitive moves through display space, the surface normals for each vertex within the drawing primitive are read in from the surface normal map. When the drawing primitive is rendered, the surface normals for all the pixels in the drawing primitive are calculated using known polygon rendering techniques.
  • the surface normals for each pixel can be calculated using standard interpolation techniques. However, calculating the surface normal for each pixel can be a very time consuming operation. To reduce the time spent on this operation, the color interpolation capabilities of standard graphics hardware are used to perform the interpolation in a preferred embodiment.
  • This preferred method of generating the surface normal map proceeds as follows.
  • the surface normals at the vertices of each polygon in the display are converted into color space.
  • the three components of the surface normals (Nx, Ny and Nz) which are defined in a -1.0 to 1.0 space are normalized to color space values which consist of three components (Cr, Cg and Cb) defined in a 0.0 to 1.0 space.
  • These polygons are then rendered using the graphics hardware.
  • the graphics hardware performs color interpolation on the "color” defined at the vertices of these polygons which is in actuality the surface normal information.
  • These polygons are then "drawn" into the frame buffer.
  • the frame buffer contains the interpolated "color" information for each pixel.
  • the frame buffer would be double- buffered so that this normal map image would not be displayed.
  • the data in the frame buffer is then read out and the "color" for each pixel is reconverted back into normal space and stored in the normal map.
  • the surface normals may be directly obtained through a look- up operation which substantially increases the interactive performance of all functionality that requires surface normals from the object being painted.
  • FIG. 1 a typical painting operation is represented.
  • the surface normal map is generated by the central processor unit 52 ( Figure 4) and graphics processor 54, if needed, using either of the methods discussed above. This map is then stored in memory 52.
  • the central processor unit 52 retrieves the appropriate drawing primitive from memory 52.
  • the input signals from the input device 50 are received and processed by the central processor unit 52.
  • the central processor unit 52 retrieves the surface normals for the drawing primitive from the surface normal map at block 164 and sends the drawing primitive to the graphics processor 54.
  • the graphics processor 54 then renders the drawing primitive (block 168) and blends the results into the frame buffer 58 (block 170) .
  • the image in the frame buffer is displayed by the display unit 60.
  • the process described in blocks 162 through 172 repeats until the painting procedure is complete (block 174) .
  • a mask is used to mask off areas in the three dimensional display that should not be painted. This mask is created by assigning a depth value for each of the pixels that should not be painted. The drawing primitive is then assigned a depth value that is farther from the viewer than the depth value assigned to the mask. When the drawing primitive is blended into the frame buffer 58 ( Figure 4) , the brush stroke will not be displayed because it will be "behind" the mask.
  • FIG. 13 a perspective view of a three dimensional display is shown. It should be noted that the techniques described herein can be used with an orthographic projection as well.
  • a viewer at eye-point E views a screen S that represents a three dimensional space represented by the pyramid shaped area between the screen S and the background V.
  • the pixels 190 on screen S that represent the area 182 will have values assigned that correspond to the depth of the mask which is represented in Figure 13 by the hypothetical object 192.
  • the area 182 will effectively be behind the mask.
  • the brush stroke will be displayed for pixels 188 where no mask value is assigned. However, if the area 182 is painted on, this part of the brush stroke will not be displayed because it is "behind" the object 192.
  • three dimensional paint masking can be performed using the z- buffer 54 ( Figure 4) .
  • the mask values are written into the z-buffer at the locations that correspond to the pixels that are to be masked.

Abstract

A computer graphics painting system (A) defined in terms of three-dimensional graphics and texturing mapping. A three-dimensional drawing primitive, most commonly a polygonal mesh (24), is directed along a path (S1) specified by a tablet (T), mouse, or other input stream (P). The primitive is transformed to sequential locations along the stroke in three-dimensional space. In one embodiment, at each location the primitive is processed with texture mapping techniques and blended into the frame buffer (21, 58 and 116) for real-time display. In another embodiment, the primitive is defined by characteristic information assigned at the primitive's vertices (126a, 126b and 126c). In another embodiment, the primitive's vertex information is obtained by retrieving the information from a map. The brush primitive may take many forms to achieve a wide variety of painting effects and styles. The polygonal mesh form may also be active in conforming to any underlying surface or model data, thus enabling real-time painting of three-dimensional objects.

Description

REAL-TIME IMAGE GENERATION SYSTEM FOR
SIMULATING PHYSICAL PAINT. DRAWING MEDIA. AND FEATURE
MODELING WITH 3-D GRAPHICS
Field of the Invention
The present development relates generally to computer graphics and more specifically to real-time interactive creation of computer graphics images.
Background and Summary of the Invention
A variety of computer graphics system peripherals enable the display of electronic imagery. Representative signals are typically raster scanned from a frame buffer memory into the display device. Input is provided by a user through a pointing device. As the user moves the pointing device a trace of the trajectory appears on the display. As described in the Book, Principles of Computer Graphics, Second edition, Newman and Sproull, McGraw-Hill Book Company, 1979, Sections 12-4 and 17-2. Various pointing devices can be used to generate strokes of color in a computer graphics display, just as in painting on a canvas.
Computer based paint applications were developed shortly after the first graphics displays became available. Over time the basic techniques have changed very little. A user specifies a stroke through the use of a locational input device and a line is drawn connecting each input location, or a dot is drawn at each location. These lines or dots were intended to visually represent a pen or brush stroke. Generally, as the terms "paint" and "brush stroke" are used below, they are deemed to embrace painting, inking and so on to accomplish various effects or formats as a brush, airbrush, and so on.
As a stroke is defined using the basic techniques, screen picture elements (pixels) within a specified distance from the input location are colored appropriately. Recently techniques have been refined so that new paint data blends with existing picture information instead of just writing over it. These techniques require tremendous amounts of color and transparency blending processing, putting real-time performance beyond the capabilities of most similar applications. This pixel based approach imposes limitations as to painting techniques, effects, and primitive forms. Such systems are disclosed in U.S. Patents 4,602,286 (Kellar, et al.) and 4,633,416 (Walker).
Traditional two dimensional pixel based computer paint systems have been generally embraced by the artistic, design, and entertainment communities. This widespread application comes despite serious limitations with regards to both expense and interactive performance. Current systems are either very expensive due to the special purpose computer hardware required to achieve acceptable performance levels or are slow so as not to accurately reproduce the feel of a physical drawing tool. Inadequate performance is the result of the large amount of processing that is required to color a single pixel in the display device. General purpose processors are unable to process the input at rates necessary to mimic the feel of physical tools. More recently artists trained in three dimensional modeling and animation techniques wish to paint directly on three dimensional objects rather than simply on a flat canvas. A solution to this requires an object space system which accounts for lighting and other environmental factors. Research along these lines has resulted in a geometric pick and color solution that assigns a new color to the picked polygons and redraws them. Such a solution is restricted to operate along the polygonal borders of the object being painted. All color changes are hard edged and follow the angular edges of the polygonal model. The result appears very unnatural and geometric. A realistic looking result is only attained by generating a secondary output of texture maps that correspond to the "painted" data which can then be used as input to a software renderer. Such a system is described in Computer Graphics, Volume 24, No. 4, August 1990, in an article titled Direct WYSIWYG Painting and Texturing on 3-D Shapes, Hanrahan and Haeberli. The limitations of such a system are prohibitive to the point that there is no known commercial system available based on these techniques. Prior two dimensional paint systems are based on pixel operations and output while research into three dimensional paint systems is limited to coloring polygons in the existing model structure. This inherent difference between two dimensional and three dimensional techniques is a primary reason for the absence of a widely known, commercially viable three dimensional paint system. True three dimensional painting requires a technique that bridges the gap and combines the appropriate technology from both two dimensional and three dimensional graphics techniques.
The present development takes a new approach to traditional two dimensional painting and provides a viable solution to the three dimensional problem. The approach may involve the use of a three dimensional graphic primitive as the basic painting unit rather than pixels. Utilizing such a higher level primitive results in a far more flexible and powerful painting tool. The three dimensional drawing primitive utilizes all the acceleration and functionality of generally available three dimensional computer graphics accelerator devices. Dependence on the host computer processor for performance is eliminated and may be shifted to the graphics accelerator.
Virtually any physical drawing tool can be electronically duplicated by using hardware accelerated texture mapping. In one embodiment, the basic drawing primitive may take various forms including a simple polygon, a set of polygons such as a cube or sphere, or any form of polygonal mesh or surface. The polygonal mesh may be subdivided to varying degrees in both the horizontal and vertical dimensions to produce numerous characteristic variations.
The use of a three dimensional painting primitive provides a bridge between two dimensional and three dimensional graphics and resolves many of the problems mentioned previously. One method to perform true three dimensional painting is accomplished by holding two dimensions of the polygonal mesh constant and making the third dimension conform to underlying surface information.
A typical implementation will hold the X and Y components of the mesh primitive constant while allowing the Z component to be modified to match the underlying surface data at each vertex in the brush mesh. In this sense the three dimensional brush has substantially the same characteristics as the flat canvas brush except that it conforms to the shape of the underlying surface at that location. The three dimensional brush primitive is processed through the accelerated three dimensional graphics pipeline resulting in the visual effect of painting in real-time on either a canvas or some underlying three dimensional surface.
The three dimensional graphic primitive of the present development can also be used in older or lower-cost computer graphics systems that do not have hardware texture mapping capabilities. In these systems, the physical drawing tool is electronically duplicated by defining primitive characteristic information representative of the physical drawing tool at the vertices of the primitive. For example, by defining data, as the transparency or surface normals at each vertex within the primitive, a brush with the desired shape, transparency and shading properties can be created. Brief Description of the Drawings
The drawings which constitute a part of the specification with exemplary embodiments exhibiting various objectives and features herein, are set forth, specifically: FIGURE 1 is a block diagram and perspective view of a system in accordance with the present invention;
FIGURE 2 is a graphic representation illustrating a functional aspect of the painting operation of the system of FIGURE 1; FIGURES 3a, 3b, 3c and 3d are graphic representations related to FIGURE 2;
FIGURE 4 is a block diagram of the system of FIGURE 1; FIGURE 5 is a flow chart illustrative of one aspect of operation in the system of FIGURE 4; FIGURE 6 is a block diagram representing a structure implementing the system of FIGURE 1;
FIGURE 7 is a graphic representation illustrating a functional aspect of the painting operation of an alternative embodiment of the present invention; FIGURE 8 is a graphic representation related to FIGURE
V;
FIGURE 9 is a graphic representation in plan view illustrating a functional aspect of the painting operation of an alternative embodiment of the present invention; FIGURE 10 is a graphic representation in section illustrating a functional aspect of the painting operation of an alternative embodiment of the present invention;
FIGURE 11 is a graphic representation illustrating a surface normal map used in an alternative embodiment of the present invention;
FIGURE 12 is a flow chart illustrative of one aspect of operation of an alternative embodiment of the present invention that uses the surface normal map of FIGURE 11; and
FIGURE 13 is a graphic representation illustrating a view frustum radiating from an eye-point in a three dimensional graphics display further illustrating a paint mask used in an alternative embodiment of the present invention.
Description of the llustrative Embodiment
As required, a detailed illustrative embodiment of the present invention is disclosed herein. However, computer graphics systems, painting structures, primitive forms, graphics processing and component operating structures utilized in accordance with the present invention may be embodied in a wide variety of forms, some of which may be quite different from those of the disclosed embodiment. Consequently, the specific structural and functional details disclosed herein are merely representative, yet in that regard, they are deemed to afford the best embodiment for purposes of disclosure and to provide a basis for the claims herein, which define the scope of the present invention. With regard to prior systems, some of the basic characteristics of input and drawing are known.
Referring to FIGURE 1, a pointing device, here represented as an electronic digitizing tablet T is connected through a computer graphics system A to a display device D. The display device graphically represents paint strokes which coincide with trajectories of a moving stylus P associated with the digitizing tablet T. Stroke SI as defined by a user with stylus P, results in the response of an electronic brush B to produce a persistent paint stroke S2 on the display device D. The paint stroke S2 is rendered in real-time and may reflect any of numerous effects including conforming to a surface in three dimensional painting. The digitizing tablet T provides a working surface 12 for the stylus P. The electronic representation of the brush B (polygon 17 and circle 19, treated below) responds to the trajectory of the stroke SI on the surface 12 in order to visualize the stroke S2 as paint on the screen 14.
The pointing device may take various forms but is represented here as a digitizing tablet T with a pressure sensitive stylus P. Many such devices commercially available from several manufacturers, are suitable for use with this system as described. The stylus signals are provided through a cable 16 to a graphics unit 18. Structurally, the graphics unit 18 comprises a dynamic three dimensional computer operating in cooperation with a memory 20 to drive a frame buffer 21 associated with the display device D. In the disclosed system, the display device D includes a cathode ray tube 23 defining the screen 14. The digitizing tablet T provides both coordinate signals according to stylus position and force or pressure signals according to the pressure applied to the stylus P. While a sequence of position signals define the stroke SI, the pressure signals may influence a variety of brush characteristics such as size, transparency, and color. Therefore, any number of characteristics of the rendered stroke S2 may be modified by the pressure applied to the stylus P.
Note that the system of FIGURE 1 does not simply color pixels within a specified distance from the stroke trajectory. Rather, a three dimensional primitive is employed and combined with texture mapping techniques to appear as a brush or other physical drawing tool on the screen 14. Any three dimensional object may be used as the brush primitive, however one primitive for this embodiment for both speed and flexibility is a polygonal mesh
(described below) . The characteristics of this mesh are not constant and may be modified at user discretion. The brush may actually be represented by any three dimensional graphics primitive including (but not limited to) a cube, a sphere, a polygonal shape, or a surface. Likewise, the polygonal mesh mentioned previously is not required to remain in any given plane. The mesh itself may take on values in any dimension to enable painting with any shape in any dimension. Most commonly, the X and Y dimensions of the mesh are fixed and the Z dimension is active to accomplish the three dimensional painting as mentioned above.
The polygonal mesh which represents the basic drawing primitive is rendered in conjunction with a texture map. For most brush types the texture map is a circle with some degree of transparency fall off with increasing distance from the center, but in practice the texture map may consist of any shape and transparency characteristics. It is the texture map which gives the rectangular shaped polygonal mesh the soft round appearance of an airbrush or the harder round point of a pencil. The texture mapped polygonal mesh is drawn in a sequence of locations as specified by the stroke SI to produce the visualization of the stroke S2. Brush strokes are rendered on the screen by drawing the texture mapped polygonal mesh at a series of overlapping locations to give the appearance of a smooth stroke.
Traditional three dimensional computer graphics involve the use of sets of polygons to define solid areas or volumes. Graphical objects are defined by solid volumes that in turn are defined by primitive polygons. Traditionally, the polygons are transformed and processed to produce animations and computer graphics imagery. These techniques are well known and widely employed. Related processes are described in U.S. Patents 3,816,726 Computer Graphics Clipping System for Polygons. Sutherland, et al.; and 3,889,107 System of Polygon Sorting by Dissection. Sutherland. Detailed operations and structures of polygon manipulation and display are disclosed in the above referenced book, Principles of Computer Graphics. section 16-1.
Texture mapping polygons and surfaces is also a well known and widely used technique in computer graphics; e.g., see U.S. Patent 4,855,943, System for Texturing Computer Graphics Images, Robinson. Texture mapping is typically used to add detail and realism to computer rendered objects and scenes. Texturing enables the modulation of color and transparency across a single polygon, a set of polygons, or any other graphic primitive.
In the scenario of the present invention a single channel transparency texture map is employed to enable most traditional brushes and brushing operations. This provides a flexible implementation by permitting all brush parameters except for the local transparency characteristics to be controlled by simple primitive or context attributes. The texture map, however, is not limited to a single channel or brush transparency characteristics. It may consist of multiple channels which contain a wide variety of visual information. A single channel texture map consists of a two dimensional grid of data values. These data values may pertain to any visual component of the drawing primitive including color or transparency. Multi-channel texture maps are an association, or grouping, of more than one data grids with each channel pertaining to a different visual characteristic.
Referring to FIGURE 2, the brush components are shown considerably enlarged. The polygonal mesh 24 (at polygon 17) is shown with the maximum perimeter of an exemplary texture map for a round brush (circle 19) . Polygonal mesh primitives are well known in the art as described in the book, Fundamentals of Interactive Computer Graphics. Foley and Van Dam, 1984, Addison-Wesley Publishing Company, see section 15.9 regarding curved surfaces. The function and behavior of the polygonal mesh are treated in greater detail later in this description. The polygonal mesh 24 (FIGURE 2) is mathematically defined in the system 18 (FIGURE 1) and is transformed to sequential locations as directed by the stylus P, to display or render the stroke SI on the display screen as stroke S2 in real-time. To form the stroke S2 (FIGURE 2) in the display, each instance of the polygonal mesh 24 is drawn cumulatively into the frame buffer 21. The texture mapped polygonal mesh writes over and blends with existing display data in the frame buffer 21, and remains visible until subsequently drawn over and obscured or explicitly cleared. This is in accordance with traditional physical painting on a canvas.
In the scenario of painting on a flat canvas, processing the polygonal mesh 24 is accomplished through basic three dimensional affine transformations. The painting canvas is presented through any three dimensional viewing transformation or projection. The size of the brush is controlled by a local three dimensional scale operation applied to the polygonal mesh with the X and Y scale factors set to the specified brush size and the Z scale factor set to one. The location of the stylus P on the digitizing tablet determines the X and Y translation factors and thus the position of the brush on the screen. This mechanism fully utilizes basic three dimensional principles and capabilities of any three dimensional graphics accelerator to provide real-time two dimensional painting tools. Several graphics interface standards are currently available that provide a program interface to the graphics functionality required.
To this point it has been shown that a texture mapped three dimensional primitive, exemplified by a polygonal mesh 24, can be utilized to produce the visual appearance of real-time two dimensional painting and drawing. Other physical brush parameters are related to the force or pressure applied to stylus P along a stroke to more closely simulate the tools used by a traditional artist. The overall transparency of the electronic drawing tool can be a function of stylus pressure. The pressure is converted to a transparency value through a user controlled algorithm and applied globally to the brush primitive. This global transparency works in conjunction with the local transparency of the texture map to produce a brush that is transparent to the proper degree even where the texture map is completely opaque. The fine art technique of putting different paint colors on opposing sides of a brush can be simulated using graphical color interpolation techniques. This electronic analogy also enables multi-color effects not available with physical tools through the use of assigning colors to each vertex of the polygonal mesh. These include stippled color variations and radial color transitions in addition to traditional linear transitions.
Transformations in the Z dimension are facilitated by the present invention since the painting primitive is three dimensional. In this regard the brush primitive can be transformed through rotate, translate, and scale operations in Z as well as X and Y. From this it is possible to generate true three dimensional effects. The brush can be moved towards or away from the user giving the effect of new paint appearing in front of or behind existing paint or drawings as in masking or layering applications. Rotations in Z make the brush plane non-parallel to the viewing plane enabling many effects including simple perspective.
The geometric basis for the standard brushes is the polygonal mesh 24 as shown in FIGURE 2. The representation shows the polygonal mesh to the quadrilaterals, but it may also be triangles or any other appropriate mesh primitive. The graphical element used for the drawing primitive may be defined in any appropriate coordinate space. The density of the mesh within these bounds may vary from 2 x 2 with no internal subdivisions up to any practical limit. The number of subdivisions need not be equal in the X and Y dimensions and the subdivision density may also vary along both axes. When painting in the flat canvas scenario the Z values in the mesh are some constant value. However, when painting on an underlying three dimensional surface each Z value in the mesh changes with every instance of the brush primitive. The degree to which the polygonal mesh conforms to the surface is a function of the proximity of the mesh subdivisions. The subdivisions become closer together either through reducing the size of the brush or increasing the number of subdivisions or both. Other techniques may be employed whereby the mesh automatically subdivides as necessary to conform to the surface being painted on. This self-adapting technique may be based on any spatial relationship or property of the surface including angular tolerance, spatial differences, or chord deviations.
As discussed above, the basic painting primitive may be virtually any three dimensional surface or polygonal element. The texture map applied to the brush primitive is equally as flexible and may take many forms. The definition of the texture map may be generated, read from a data file, or even captured from the frame buffer. Consider a transparency texture map as defined by a standard gaussian distribution. This produces a transparency map that is opaque in the center and becomes gradually more transparent as distance from the center increases, according to the distribution, until it becomes completely transparent. The texture map in this case holds only transparency information using the color as specified in the graphics context. In this case the graphics context is simply the current state of all parameters that affect the visual display of any graphic primitive. The transparency texture map used for all normal brushing may consist of various transparency distributions or fall off including conical, spherical, or any user designed profile. Examples of this are shown in
FIGURE 3. Texture maps of more than one channel may also be utilized in conjunction with the brush primitive. These multi-channel textures may contain as many channels as are supported by the texture mapping unit. A full multi-channel texture map enables highly complex brushes and brush patterns by combining detailed color data with transparency information and other visual data. For example, considering FIGURE 2 in a cross-section along the line 3-3 indicates space as the abscissa with opacity as the ordinate and provides the representation of FIGURE 3a. Essentially, the circle 19 is shown as a section through a symmetrical cylinder defining an opaque brush. Another variation of the texture map may be somewhat like an airbrush and is depicted in FIGURE 3b. The sectional representation of the symmetrical texture map involves a brush that is progressively more transparent toward the edges 28 and is completely opaque at the center 30. While, a multitude of possibilities exist, consider another example. FIGURE 3c represents a conical configuration sectioned as a triangle 32. Again, brush transparency falls off from opaque 34 to completely transparent a given distance from the center 36. As still another possibility, FIGURE 3d illustrates a texture map with a central void 38. Accordingly, the opaque or intense area of the map is defined as a toroid 40 that might be variously colored. Again, the formats are merely representative of a multitude of possibilities. Although these examples all use symmetrical texture maps, asymmetrical maps according to shape or transparency may also be used.
The block diagram in FIGURE 4 shows the structural aspects of the system. A pointing device, again shown as a digitizing tablet 50, provides X, Y planar coordinate or position input signals, along with a force or pressure signal to a central processor unit 52. This central processor 52 defines the brush primitive and executes preliminary data processing for a graphics processor 54. The main processor 52 provides three dimensional graphics primitive data to the graphics processor 54, which performs all three dimensional processing. The graphics processor 54 executes texture mapping operations using data from a texture memory 56, as well as all transformation and lighting operations. The resulting data is drawn into a frame buffer 58 for driving a display unit 60.
Computer graphics systems consisting of a central processor unit 52 and a graphics processor 54 are disclosed in the reference book, Fundamentals of Interactive Computer Graphics. Foley. As known in the art, graphic primitives are processed in the graphics processor 54 and scan converted for display in the frame buffer 58. In the present system, the tablet 50 provides coordinate information to the central processor unit 52 to define subsequent primitive transformations for the graphics processor 54. The defined primitive is processed as explained above, ultimately being visualized as the brush B (FIGURE 1) . With respect to physical painting, all subsequent strokes overwrite and blend with previous strokes and existing background until explicitly cleared. Furthermore, any colors or patterns which result on the display may be sampled or read back from the frame buffer for use in subsequent painting or drawing operations. The basic operation of the system in FIGURE 4 is treated in FIGURE 5. From the entry point 60 an initial query involves the drawing primitive (texture map) to be used. As indicated by query block 62, if the current drawing primitive is to continue use there is no change. Otherwise, as indicated by block 64, a new drawing primitive or texture map is designated for use and loaded. Once the appropriate drawing primitive is loaded, it is transformed to the proper size, position and orientation as indicated by block 66. With the transformation completed, the process advances to query block 68 to determine whether or not texture mapping is to be applied. If texture mapping is not required, the process branches around the next query block 70 which determines if the current texture map is to continue use. If not the process continues to block 72 where the new texture map is loaded into texture memory 56. At this point all process flow options come back together and continue to block 74. At this point, the current brush primitive is sent to the graphics accelerator where it is properly rendered according to current color and material selections, environment lighting, and the current texture map and texture mapping parameters. Processing then continues to block 76 where the result from block 74 is blended appropriately in to the frame buffer. The process is completed when the frame buffer is visualized on the display device in real time. As subsequent input from the input device is received the brush primitive is transformed to new locations and processed again according to the same procedure.
Once the appropriate drawing primitive is loaded, it is transformed to the proper size, position and orientation. With the transformation completed, the process may advance to determine whether or not texture mapping is to be applied. From the block 62, the process is outlined through a series of block-represented steps as illustrated. Specifically, the process is indicated by blocks: 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86 and 90.
From the above description it is apparent that the system described utilizes three dimensional graphics to position and size a three dimensional brush primitive according to user input. The brush is comprised of a geometric component, typically a polygonal mesh, and a texture map component. It is the texture map component that imparts shape and local transparency characteristics to the visualized brush. The result is very similar to physical drawings or paintings on paper or other physical medium. The system may also be utilized to accomplish three dimensional painting. That is, painting directly on a three dimensional object in a scene with respect to lighting and all other components in the scene. The three dimensional object or scene to be painted on may be displayed as a shaded object in any view under any lighting conditions.
The operation of the system in this sense is very similar to that used to produce a visually two dimensional result. The polygonal mesh, representing the drawing primitive, is scaled and translated to the appropriate location according to user input. At this point the X, Y coordinates are converted from model space to screen space by passing them through the current transformations. These screen space X, Y coordinates are then used as indices into the Z-buffer depth buffer, and new Z values are obtained for each vertex in the polygonal mesh. The actual Z or depth data may also be generated from a mathematical surface description evaluated at each X, Y coordinate, or read from a copy of the actual Z-buffer at a known state stored in the memory unit. New vertex normals are then computed for each vertex in the polygonal mesh to ensure proper visual display. In this sense the brush conforms to the surface being painted as closely as possible given the constraints of the polygonal mesh. This technique requires the availability of a Z-buffer in the graphics processor 54 or frame buffer as described in the above referenced book, Fundamentals of Computer Graphics, section 15.5.
This technique may also be used to alter the appearance of the surface. The vertex normals which are generated to ensure accurate visual display of the painted surface can be perturbed either randomly or systematically through the brush tool to make the surface appear rough or mottled. The magnitude of the effect of the normal perturbation is subject to several controlling factors. The perturbation can be constrained to very small differences from the original computed normal producing the visual appearance of sand or small ripples. If the normals are perturbed further from the actual the surface may appear mottled. The relative proximity of the polygonal mesh subdivisions also plays a role in the appearance of the surface when the normals are subject to perturbation. Closer subdivisions produce a finer grained surface appearance like sand while further spacing of subdivisions produces larger surface deformities such as waves or rolling hills.
The beginning and ending of the three dimensional painting process are similar to the initially described technique for two dimensional painting. The distinct intermediate steps consist of managing the vertices and representing the conforming polygonal mesh operation. It is these steps that enable the drawing primitive to take on a different shape in the Z dimension with every instance. The polygonal mesh wraps itself onto the surface being painted or drawn on by referencing the depth Z values associated with the surface. In practice a physical surface is not required as the necessary surface information may be generated algorithmically or by any of a variety of other means.
Under the circumstances of painting in three dimensions, the performance of the painting or drawing tool is insensitive to the complexity of the model or surface being painted on. The performance imparted by the conforming polygonal mesh is sensitive only to the number of subdivisions in the polygonal mesh and the speed of the three dimensional graphics pipeline in the graphics accelerator. The polygonal mesh conforms to the underlying surface by virtue of sampling appropriate Z value from the graphics accelerator or frame buffer. The degree to which the polygonal mesh primitive conforms to the surface is a function of the mesh subdivision spacing. The closer the spacing the tighter the mesh will conform to the surface. This spacing can be effected by either changing the number of subdivisions or changing the size of the brush or a combination of both. Subdivisions spaced widely apart cause the mesh to conform loosely potentially eliminating detail. The polygonal mesh conforms closer to the actual surface as the subdivisions get closer, ultimately preserving even the smallest detail. The visual result is that of painting with the selected brush and paint parameters directly on a three dimensional surface. Paint is a much more complex medium when considered in the three dimensional scenario as well. Paint in this context may be represented by more than a simple color, but may also be represented by all the properties of physical paint including ambient, diffuse and specular colors, shininess, and surface roughness. The concept of the conforming mesh in the three dimensional paint scenario can take on other variations. One such variation enables the painting of actual geometric changes or detail onto an existing surface or model. This again requires the use of a polygonal mesh as the brush primitive. The difference is that only certain portions of the mesh are permitted to conform to the surface. The rest of the polygonal mesh has a defined shape relative to the conforming vertices. This enables an artist to paint a groove or any other positive or negative detail onto the existing surface based on the inherent relative shape of the polygonal mesh. In addition to painting new geometric data, the conforming polygonal mesh primitive can also be used to duplicate surfaces or geometric features. The depth information can be received as source from a location on the surface or model and then transferred to another location and orientation through the normal mechanisms of brush control discussed above. Furthermore, entire geometric volumes may not only be utilized as the brush source data, but may also be used as the actual brush primitive. The volume may then be manipulated and placed back into the scene or onto the model at any location or orientation. This kind of painting method goes beyond basic visual painting to the concept of truly modelling geometric data with a painting device. It is conceivable that entire geometric models or surfaces can be painted utilizing this technique.
The data generated by the above described three dimensional painting process goes beyond the static image resulting on the display device. Since the paint is applied directly on three dimensional data it is possible to compile and extract the painted information for use as a texture map in the traditional sense. Creating the texture maps with this approach ensures perfect, placement of texture maps exactly as painted on the surface or geometric data. This enables painted data to be utilized as input to animation and rendering in traditional three dimensional applications. In consideration of a comprehensive hardware embodiment, reference will now be made to FIGURE 6 illustrating components of the system interconnected by a data bus 100. Although some elements of the system have been treated previously, a new set of numerals are used to accommodate for potential component variation. A oveable pointing device 102 provides input information, including position and pressure, to a central processor unit 104, which is subsequently connected to the data bus 100. Three storage structures are utilized in this embodiment. Basic data is contained in a general data storage unit or disk 106, current brush information and characteristics are held in memory 108, and the texture map which is used with the current brush or drawing tool is held in texture memory 107. Data files containing brush transparency characteristics are loaded from data storage 106 into memory 108 on an as needed basis. These local transparency characteristics may also be generated, be a function of other data, or be read from the frame buffer 116. This data is then processed and loaded into texture memory 110. Subsequently, the texture will apply to all drawing primitives until a new texture map is loaded or selected. The geometry used for the brush primitive is also generated as needed and stored in memory 108. The central processor unit 104 sends the brush primitive from memory 108 to the graphics processor 112 along with other pertinent graphics data including transformations, color, and transparency. The graphics processor 112 then draws the primitive into the frame buffer 116 as appropriate and according to the specified transformations and other graphical information. The frame buffer is immediately visualized on the display unit 118, thus giving the impression of a paint brush drawing in real¬ time. The force or pressure applied to the pointing device may vary several of the brush appearance parameters including color, size, and transparency. All of these may be interpolated through a specified range according to pressure response characteristics.
When painting on an underlying surface or model instead of a flat canvas, the mesh conforming unit 114 is active. This enables the polygonal mesh Z values to be updated with each instance of the brush to match the underlying surface at that point. The operation of the mesh conforming unit 114 is the last step in the brushing process before the primitive is sent to the graphics processor 112 to be drawn into the frame buffer 116. The mesh conforming unit 114 samples new Z depth values from the frame buffer and computes a new vertex normal for each vertex in the polygonal mesh primitive. The process then continues with the graphics processor 112 drawing the brush primitive into the frame buffer for immediate display.
The three dimensional operation of the system in FIGURE 6 is similar to that illustrated in FIGURE 5. The primary difference is the additional query that occurs after the completion of the step of transforming the brush primitive. Following this step a query is raised to determine if the brush primitive is a conforming mesh. If so the mesh conforming structure is activated before proceeding in order to sample new Z depth values from the underlying surface. Then the primitive is sent to the graphics processor and drawn as explained previously.
In an alternative embodiment, the characteristics of the three dimensional drawing primitive are defined at the vertices of component polygons that make up the drawing primitive. Referring to Figure 7, an exemplary drawing primitive 120 is shown considerably enlarged. The drawing primitive 120 is made up of several polygons 124 including component polygons 124a, 124b and 124c. The characteristics of the component polygons 124a and 124b are defined, in part, at their vertices 126a, 126b and 126c. As shown in conjunction with vertex 126a, the color, opacity, surface normal and other characteristics of the component polygons are defined at each vertex.
By defining the appropriate information at the vertices of the component polygons, the characteristics of the drawing primitive itself is defined. For example, a drawing primitive that resembles the airbrush discussed earlier is created by properly defining the opacity at the vertices 126a, 126b and 126c of the component polygons. Referring to Figure 8, a cross-sectional view of Figure 7 along the line 8-8 is depicted with space as the abscissa and opacity as the ordinate. The curve 128 in Figure 8 shows the opacity of the drawing primitive 120 (Figure 7) highest in the center of the primitive and lowest at the outer edges of the primitive. By defining a similar opacity falloff symmetrically from the center of the drawing primitive, a circular brush pattern 122 (Figure 7) could be created where the circle is opaque in the center and increasingly transparent toward the circumference.
The vertical lines 130 in Figure 8 represent the opacity defined at each of the vertices that lie along line 8-8. For example, the first vertical line 127 to the right of the ordinate in Figure 8 represents the opacity at the vertex 126c in Figure 7. The middle vertical line 129 in
. igure 8 represents the opacity at the vertex 126a in Figure 7. In accordance with the characteristics of the airbrush pattern, the opacity is greater at the vertex 126a than at the vertex 126c. Once the characteristics at each of the component polygon vertices has been defined, the drawing primitive is rendered using standard polygon mesh rendering technique; When the component polygons that make up the drawing primitive are rendered, the characteristics of the pixels that lie between the vertices of the component polygons are calculated using known interpolation techniques. The resulting image is that of a single drawing primitive with characteristics that vary within the drawing primitive according to the variations in the brush being emulated. The degree to which the displayed brush stroke matches the brush pattern being emulated depends in part on the configuration of the component polygons within the drawing primitive. This is because pixel interpolation techniques typically use linear algorithms that only provide an approximation of the actual characteristics at a given pixel. Consequently, non-linear changes in brush characteristics such as the opacity represented by curve 128 in Figure 8 will not be accurately represented if the vertices of the component polygons are not spaced sufficiently close to one another. Thus, the accuracy of the displayed brush stroke will depend on the density of the component polygons within the drawing primitive. The embodiment implementing Figures 7 and 8 eliminates the need for the texture mapping capabilities discussed earlier since the characteristics defined by the texture map in the previous embodiment are now defined at the vertices of the component polygons that make up the drawing primitive. Consequently, this embodiment can be used in older or less expensive (limited) graphics systems that do not have texture mapping hardware. Moreover, by increasing the density of the component polygons within the drawing primitive, the same brush resolution can be achieved using this approach as is achieved using the texture map approach. However, an increase in the density of the component polygons will typically have an adverse effect on the real¬ time performance of the system.
In most other respects this embodiment is used in the same manner as the texture map embodiment. Both two dimensional and three dimensional painting would be performed in the same manner except that the characteristics that were previously defined by the texture map and processed by the texture mapping hardware are defined by the component polygons and processed by conventional polygon rendering techniques. Thus, similar three dimensional affine transformations, three dimensional scaling, x-y coordinate translations and z-coordinate transforms would be used in this embodiment. In addition, the drawing primitive can still function as a three dimensional conforming mesh. However, in this embodiment the density of the component polygons will be chosen depending on the resolution that is required for accurately displaying both the brush pattern and the contours of the three dimensional surface.
As in the texture map embodiment, in this embodiment the drawing primitive, while depicted in Figure 7 as a polygonal mesh, could take any number of forms. For example, the drawing primitive could be defined by geometric shapes other than polygons such as circles, spheres or ellipsis. In addition, the drawing primitive could be a single polygon instead of a polygonal mesh. In this case, the characteristics of the drawing primitive would be defined at the vertices of the drawing primitive itself. In addition, the structural aspects of a system in accordance with this embodiment are very similar to those of a texture map embodiment. One difference of note is that the components within the dashed boxes in Figures 4 and 6 (the texture map unit 56 in Figure 4 and the texture memory 107 in Figure 6) may not be needed in the current embodiment.
Finally, most of the basic system operations mentioned previously are performed in the current embodiment. Referring to Figure 5, the appropriate drawing primitive is still retrieved at blocks 62 and 64. However, in this embodiment, the drawing primitive typically includes information that defines additional characteristics of the drawing primitive. In addition, the texture mapping operations represented by blocks 68, 70 and 72 would not have to be performed. Instead, the process would proceed directly to blocks 74, 76 and 78 where the drawing primitive is rendered, blended into the frame buffer and displayed. In another embodiment of the present invention, the drawing primitive's shape conforms to the shape of the brush or other physical drawing tool that appears on the display screen. For example, a drawing primitive 132 as depicted in Figure 9 could be used to paint with a circular brush.
Instead of using a square grid such as the one depicted in Figures 2 and 7, the drawing primitive of Figure 9 uses a radial grid. The radial grid is constructed by subdividing a circular brush pattern by a series of concentric circles (simulated by the lines 134 and 135) and joined radial lines 136. The density of the polygons 142 that make up the grid can be increased as needed by adding more concentric lines 134 or more radial lines 138 and 140. As shown in Figure 9, the portions of the simulated circle 132 that are farther from the center 137 would typically have more radial lines than the inner simulated circles 134 and 135.
When the drawing primitive of Figure 9 is defined by characteristic information at the vertices of its component polygons (as discussed above) the drawing primitive has the advantage that all the component polygons 142 in the primitive contribute to the brush shape. This is in contrast with some of the embodiments of the drawing primitive of Figures 2 and 7. Referring to Figure 7, the primitive 120 consists of a square grid made up of square component polygons 124a, 124b and 124c. When this type of primitive is used to draw a brush shape such as circle 122 several of the polygons such as component polygon 124c are totally transparent. As a result, when the drawing primitive 120 is processed, polygons such as component polygon 124c will be rendered even though they make no contribution to the display.
In contrast, no transparent component polygons are included in the drawing primitive of Figure 9.
Consequently, component polygons that do not contribute to the brush shape will not be processed. As a result, a drawing primitive according to the present invention will be processed more efficiently since only polygons that contribute to the brush will be sent to the graphics processor for rendering.
A drawing primitive according to this embodiment of the invention could take a variety of forms in addition to the radial mesh depicted in Figure 9. For example, the primitive could have a relatively simple structure such as a single triangle or a relatively complex structure such as a three dimensional radial mesh that could be used with a spherical brush. In another embodiment of the present invention, the physical structure of the drawing primitive is adapted to provide detail where it is needed. The drawing primitive is typically adapted when the level of detail of what is being painted either increases or decreases. For example, if more detail is needed in some aspect of what is being painted, the size of the component polygons making up the drawing primitive could be decreased. In addition, the shape of the component polygons making up the drawing primitive could also be changed as needed. These results can be obtained by changing the density or shape of either the entire primitive or select portions of the drawing primitive. While the latter is typically more difficult to implement, it has the advantage that fewer component polygons would need to be rendered since the higher levels of detail are only provided where needed.
The desired shape of the simulated brush can affect both the density and the shape of component polygons within a drawing primitive. The density of the component polygons would typically be increased in areas of the drawing primitive where there are non-linear line segments. Referring to Figure 9, component polygons 144 are an example of where smaller polygons would be used at the circumference of the circle for this purpose. Component polygons 144 also show how the shape of the polygons is chosen to provide a desired brush characteristic. In this case, triangles are used to define the circumference of the circular brush.
Changing color, transparency or other characteristics of the brush could also have a bearing on the physical structure of the drawing primitive. For example, a higher density of component polygons would typically be used in the portions of the drawing primitive where some characteristic of the drawing primitive is changing. Referring to Figure 10, a modification of Figure 8 is shown. The amplitude of the curve 148 represents some characteristic of the drawing primitive such as opacity (a) over a space (x) . The vertical lines 150 represent values of that characteristic at the point where the curve 148 intersects the vertices of the component polygons. The large arrows 154 indicate the locations of the vertices in Figure 8. As shown by the smaller arrows 156 and the additional vertical lines 152, smaller component polygons are used in the portions of the drawing primitive where there are significant non-linear changes in the characteristic represented by curve 148. By focussing the density of the component polygons in the portions of the drawing primitive where the characteristics of the brush are changing and reducing the density in the areas where the characteristics are not changing, the processing of the drawing primitive will be more efficient since fewer polygons from areas where the characteristics are not changing will be rendered.
This technique can also be used when painting contoured three dimensional surfaces. Where the surface contours change rapidly, the brush could adapt to the changes in contour by increasing the density of the component polygons in the portions of the drawing primitive that are currently painting that portion of the surface. This adaptation could be performed either manually or automatically. In the case of manual adaptation, the user would merely use a denser brush to paint on highly contoured surfaces than he or she would use on less contoured surfaces. In the case of automatic adaptation, the surface would be sampled as the brush stroke moves across the surface. When changes in the surface that require a different density brush are encountered, the drawing primitive would be changed to obtain the desired result.
These same techniques can also be used when painting at different depths in the display. In a typical three dimensional graphics display, objects that are farther from the viewer would not have as much detail as object that are closer to the viewer. Consequently, when painting object that are farther from the viewer, the drawing primitive would be less dense than when painting objects that are closer to the viewer. Again, this adaptation could be done either manually or automatically. In either case, the depth of the object could be determined by sampling the depth value of the object in the graphic system's z-buffer.
In sum, this embodiment provides a method of painting in three dimensions with the required level of detail while providing a way to reduce processing needs by only putting the details in the drawing primitive where it is needed. In another embodiment of the present invention, painting on a three dimensional surface is accomplished using a map implemented in a memory that contains the surface normal information of that surface. Surface normals are used in three dimensional shading to create the effect in the display of a light source shining on a three dimensional surface. The use of surface normals is well known in the art and is discussed in the above referenced book, Fundamentals of Interactive Computer Graphics, chapter 16. In a typical application, surface normals consist of three components, Nx, Ny, and Nz, that mathematically describe the orientation of the surface in three dimensional space.
In the current embodiment, using techniques in the art, a map that contains the surface normal information for every pixel in the display is generated. This map is generated using the surface normals of the objects in the display. The information in the map is then used to assign the surface normal characteristic information at the vertices of the brush primitive (discussed earlier) . To explain further, in a three dimensional display, each polygon in the display has a surface normal defined at its vertices. These polygon vertex surface normals are used to generate the surface normals for every pixel in that polygon using various interpolation techniques. Thus, the surface normal map is created by calculating the surface normals for all pixels in all polygons in the display. Referring to Figure 11, the resulting surface normal map for a display with "m" number of rows and "n" number of columns would contain "m" times "n" normal map entries.
Once the surface normal map has been generated, the map is used to calculate the surface normals for the three dimensional drawing primitive. The drawing primitive surface normals are calculated for each vertex of each component polygon that makes up the drawing primitive. These surface normals are obtained by retrieving the surface normals for each pixel in the map upon which the component polygon vertices lie. As the drawing primitive moves through display space, the surface normals for each vertex within the drawing primitive are read in from the surface normal map. When the drawing primitive is rendered, the surface normals for all the pixels in the drawing primitive are calculated using known polygon rendering techniques.
Using a map of surface normals to obtain the surface normals for the drawing primitive reduces the amount of computation that must be done when generating each part of the brush stroke. Existing techniques calculate surface normals by reading the depth value for each vertex and using that depth value to calculate the surface normal for each vertex. In the present embodiment, this is reduced to a look-up operation which is a much simpler operation.
The surface normals for each pixel can be calculated using standard interpolation techniques. However, calculating the surface normal for each pixel can be a very time consuming operation. To reduce the time spent on this operation, the color interpolation capabilities of standard graphics hardware are used to perform the interpolation in a preferred embodiment.
This preferred method of generating the surface normal map proceeds as follows. The surface normals at the vertices of each polygon in the display are converted into color space. Here, the three components of the surface normals (Nx, Ny and Nz) which are defined in a -1.0 to 1.0 space are normalized to color space values which consist of three components (Cr, Cg and Cb) defined in a 0.0 to 1.0 space. These polygons are then rendered using the graphics hardware. Here, the graphics hardware performs color interpolation on the "color" defined at the vertices of these polygons which is in actuality the surface normal information. These polygons are then "drawn" into the frame buffer. At this point, the frame buffer contains the interpolated "color" information for each pixel. In a preferred embodiment, the frame buffer would be double- buffered so that this normal map image would not be displayed. The data in the frame buffer is then read out and the "color" for each pixel is reconverted back into normal space and stored in the normal map. At this point the surface normals may be directly obtained through a look- up operation which substantially increases the interactive performance of all functionality that requires surface normals from the object being painted.
Referring to Figures 4 and 12, a typical painting operation is represented. At block 158 (Figure 12) the surface normal map is generated by the central processor unit 52 (Figure 4) and graphics processor 54, if needed, using either of the methods discussed above. This map is then stored in memory 52. At block 160 the central processor unit 52 retrieves the appropriate drawing primitive from memory 52. Next, the input signals from the input device 50 are received and processed by the central processor unit 52. The central processor unit 52 retrieves the surface normals for the drawing primitive from the surface normal map at block 164 and sends the drawing primitive to the graphics processor 54. The graphics processor 54 then renders the drawing primitive (block 168) and blends the results into the frame buffer 58 (block 170) . Then, at block 172, the image in the frame buffer is displayed by the display unit 60. The process described in blocks 162 through 172 repeats until the painting procedure is complete (block 174) .
Another embodiment of the invention implements the masking applications referred to above. A mask is used to mask off areas in the three dimensional display that should not be painted. This mask is created by assigning a depth value for each of the pixels that should not be painted. The drawing primitive is then assigned a depth value that is farther from the viewer than the depth value assigned to the mask. When the drawing primitive is blended into the frame buffer 58 (Figure 4) , the brush stroke will not be displayed because it will be "behind" the mask.
Referring to Figure 13, a perspective view of a three dimensional display is shown. It should be noted that the techniques described herein can be used with an orthographic projection as well. A viewer at eye-point E views a screen S that represents a three dimensional space represented by the pyramid shaped area between the screen S and the background V. If the three dimensional object 180 is to be painted excluding the area 182 the pixels 190 on screen S that represent the area 182 will have values assigned that correspond to the depth of the mask which is represented in Figure 13 by the hypothetical object 192. Thus, the area 182 will effectively be behind the mask. When the object 180 is being painted, the brush stroke will be displayed for pixels 188 where no mask value is assigned. However, if the area 182 is painted on, this part of the brush stroke will not be displayed because it is "behind" the object 192.
If this masking technique is used in conjunction with the surface normal map techniques discussed above, three dimensional paint masking can be performed using the z- buffer 54 (Figure 4) . In this case, the mask values are written into the z-buffer at the locations that correspond to the pixels that are to be masked.
From the above it is apparent that the system disclosed herein utilizing a three dimensional graphic primitive to visualize a drawing tool offers true real-time three dimensional electronic painting. The power and flexibility of three dimensional graphics enables performance, functionality, and effects beyond the traditional two dimensional pixel based approach. This system utilizes three dimensional polygonal processing and texture mapping techniques rather than simple pixel processing as in other prior systems. Real-time paint and drawing performance is achieved using relatively common and inexpensive structural forms. Recognizing that the system is implemented with standard three dimensional graphics components it should be noted that considerable variation may occur in the specific components and operating format. The scope of the present invention should be determined with reference to the claims set forth below.

Claims

What is claimed is: 1. A computer system (A) to paint on a graphics display (D) wherein the improvement is characterized by: a movable pointing device (P) for indicating locations of a trajectory in the graphics display (D) to define a stroke; a central processor (18, 52 and 104) including memory means (20, 52 and 108) for storing data including at least one three-dimensional primitive and coupled to said movable pointing device (P) to receive location signals indicative of said stroke; a display device (D) including a storage buffer (21, 58 and 116) and a display unit (60 and 118) ; and a graphics processor (18, 54, and 112) coupled to said central processor (18, 52 and 104) to receive primitive signals definitive of said three-dimensional primitive as located along said stroke for processing signals received to provide picture elements in said storage buffer (21, 58 and 116) for driving said display unit (60 and 118) to display said stroke.
2. A computer system (A) according to claim 1 further including a texture structure (18, 56 and 107) for texture mapping said three-dimensional primitive.
3. A computer system (A) according to claim 1 wherein said primitive is defined as a polygonal mesh (24) .
4. A computer system (A) according to claim 3 wherein said polygon mesh is a conforming mesh.
5. A computer system (A) according to claim 1 wherein said memory means (20, 52 and 108) stores image characteristics.
6. A computer system (A) according to claim 1 wherein said memory means (20, 52, 108) stores at least one polygon (17, 120 and 132) defining said primitive.
7. A computer system (A) according to claim 6 wherein said memory means (20, 52 and 108) stores vertex data for said polygons (17, 120 and 132) representative of image characteristics.
8. A computer system (A) according to claim 1 wherein said primitive comprises a radial grid (132) .
9. A computer system (A) for painting in a computer graphics display (D) wherein a pointing device (P) is actuated to define a paint stroke and a display unit (60 and 118) exhibits the paint stroke in real-time, wherein the improvement is characterized by: a central processor (18, 52 and 104) for receiving stroke signals defining said stroke as a series of locations in a display (D) to provide primitive signals representative of a three-dimensional primitive in a series of locations; a graphics processor (18, 54 and 112) coupled to receive said primitive signals for processing said primitive signals in said series of locations to provide picture element signals representative of the paint stroke; and a storage buffer (21, 58 and 116) for driving said display unit (60 and 118) coupled to receive said picture element signals to define the paint stroke.
10. A computer system (A) according to claim 9 further including a texture map apparatus (18, 56 and 107) for texturing said three-dimensional primitive to a predetermined format.
11. A computer system (A) according to claim 10 wherein said pointing device (P) further provides force signals representative of the force manually applied to said pointing device (P) and wherein a texture map is varied in accordance with said force signals.
12. A process for painting in a computer graphics display (D) wherein a painting device (P) is actuated to define a paint stroke and a display unit (60 and 118) exhibits the paint stroke in real-time, wherein the improved steps are characterized by: defining said stroke as a series of locations in a display (D) to provide primitive signals representative of a three-dimensional primitive in a series of locations; processing said primitive signals in a series of locations to provide picture element signals representative of the paint stroke; and storing said picture element signals representative of the paint stroke to drive the display unit (60 and 118) .
13. A process according to claim 12 wherein said primitive signals comprise signals definitive of image characteristics.
14. A process according to claim 12 wherein said primitive signals define at least one polygon (17, 120 and 132) .
15. A process according to claim 12 wherein said primitive signals define at least one polygon (17, 120 and 132) specifying vertices (126a, 126b and 126c) for said polygon along with characteristic data representative of image characteristics.
PCT/US1995/001670 1994-02-14 1995-02-10 Real-time image generation system for simulating physical paint, drawing media, and feature modeling with 3-d graphics WO1995022122A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP95910960A EP0745246A1 (en) 1994-02-14 1995-02-10 Real-time image generation system for simulating physical paint, drawing media, and feature modeling with 3-d graphics

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/195,112 1994-02-14
US08/195,112 US5592597A (en) 1994-02-14 1994-02-14 Real-time image generation system for simulating physical paint, drawing media, and feature modeling with 3-D graphics

Publications (1)

Publication Number Publication Date
WO1995022122A1 true WO1995022122A1 (en) 1995-08-17

Family

ID=22720097

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1995/001670 WO1995022122A1 (en) 1994-02-14 1995-02-10 Real-time image generation system for simulating physical paint, drawing media, and feature modeling with 3-d graphics

Country Status (3)

Country Link
US (2) US5592597A (en)
EP (1) EP0745246A1 (en)
WO (1) WO1995022122A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0812447A1 (en) * 1995-03-02 1997-12-17 Parametric Technology Corporation Computer graphics system for creating and enhancing texture maps
KR100536414B1 (en) * 1996-05-10 2006-04-06 소니 컴퓨터 엔터테인먼트 인코포레이티드 Recording media, methods of processing and recording and information and apparatus and graphics systems and methods
CN110136238A (en) * 2019-04-02 2019-08-16 杭州趣维科技有限公司 A kind of AR drawing method of combination physical light according to model
CN115329697A (en) * 2022-08-26 2022-11-11 北京国科恒通科技股份有限公司 Method, device and system for generating simulated three-dimensional circuit diagram and storage medium

Families Citing this family (116)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5598515A (en) * 1994-01-10 1997-01-28 Gen Tech Corp. System and method for reconstructing surface elements of solid objects in a three-dimensional scene from a plurality of two dimensional images of the scene
US5592597A (en) * 1994-02-14 1997-01-07 Parametric Technology Corporation Real-time image generation system for simulating physical paint, drawing media, and feature modeling with 3-D graphics
JPH08202850A (en) * 1995-01-26 1996-08-09 Sony Corp Paper fiber structure data generating method and device, paper fiber structure data and blotting plotting method and device
EP0784843A1 (en) * 1995-06-07 1997-07-23 International Business Machines Corporation Computer system with optimized display control
JP3402926B2 (en) * 1996-05-15 2003-05-06 シャープ株式会社 3D image processing device
US5982378A (en) * 1996-08-02 1999-11-09 Spatial Technology Inc. System and method for modeling a three dimensional object
US5841440A (en) * 1996-12-17 1998-11-24 Apple Computer, Inc. System and method for using a pointing device to indicate movement through three-dimensional space
US6786420B1 (en) 1997-07-15 2004-09-07 Silverbrook Research Pty. Ltd. Data distribution mechanism in the form of ink dots on cards
US5767855A (en) * 1997-05-19 1998-06-16 International Business Machines Corporation Selectively enlarged viewer interactive three-dimensional objects in environmentally related virtual three-dimensional workspace displays
US6803989B2 (en) * 1997-07-15 2004-10-12 Silverbrook Research Pty Ltd Image printing apparatus including a microcontroller
US6618117B2 (en) 1997-07-12 2003-09-09 Silverbrook Research Pty Ltd Image sensing apparatus including a microcontroller
AUPO850597A0 (en) * 1997-08-11 1997-09-04 Silverbrook Research Pty Ltd Image processing method and apparatus (art01a)
US7551201B2 (en) * 1997-07-15 2009-06-23 Silverbrook Research Pty Ltd Image capture and processing device for a print on demand digital camera system
US6624848B1 (en) 1997-07-15 2003-09-23 Silverbrook Research Pty Ltd Cascading image modification using multiple digital cameras incorporating image processing
US7110024B1 (en) 1997-07-15 2006-09-19 Silverbrook Research Pty Ltd Digital camera system having motion deblurring means
US6879341B1 (en) 1997-07-15 2005-04-12 Silverbrook Research Pty Ltd Digital camera system containing a VLIW vector processor
US6690419B1 (en) * 1997-07-15 2004-02-10 Silverbrook Research Pty Ltd Utilising eye detection methods for image processing in a digital image camera
US7714889B2 (en) * 1997-07-15 2010-05-11 Silverbrook Research Pty Ltd Digital camera using exposure information for image processing
US7705891B2 (en) 1997-07-15 2010-04-27 Silverbrook Research Pty Ltd Correction of distortions in digital images
AUPO802797A0 (en) * 1997-07-15 1997-08-07 Silverbrook Research Pty Ltd Image processing method and apparatus (ART54)
US6985207B2 (en) * 1997-07-15 2006-01-10 Silverbrook Research Pty Ltd Photographic prints having magnetically recordable media
US6486886B1 (en) * 1997-07-15 2002-11-26 Silverbrook Research Pty Ltd Bump map compositing for simulated digital painting effects
US6021417A (en) * 1997-10-31 2000-02-01 Foto Fantasy, Inc. Method of stimulating the creation of an artist's drawing or painting, and device for accomplishing same
KR19990063174A (en) * 1997-12-22 1999-07-26 시마 마사히로 Image Creation Device and Image Creation Method
US6268865B1 (en) * 1998-01-13 2001-07-31 Disney Enterprises, Inc. Method and apparatus for three-dimensional painting
US6011536A (en) * 1998-04-17 2000-01-04 New York University Method and system for generating an image having a hand-painted appearance
US6549212B1 (en) * 1998-07-16 2003-04-15 Silicon Graphics, Inc. System for user customization of attributes associated with a three-dimensional surface
CA2243816C (en) 1998-07-23 2005-11-01 Corel Corporation Method and system for rendering brush strokes with multiple nibs
AUPP702098A0 (en) 1998-11-09 1998-12-03 Silverbrook Research Pty Ltd Image creation method and apparatus (ART73)
US6201549B1 (en) * 1998-12-30 2001-03-13 Microsoft Corporation System and method for drawing and painting with bitmap brushes
US20040205483A1 (en) * 1999-03-01 2004-10-14 Yefim Massarsky Method of simulating the creation of an artist's drawing or painting and device for accomplishing same
US6348924B1 (en) * 1999-03-10 2002-02-19 Silicon Graphics, Inc. Method and apparatus for interactively painting volumetric particle flow paths and controlling a flow of the flow paths
AUPQ056099A0 (en) * 1999-05-25 1999-06-17 Silverbrook Research Pty Ltd A method and apparatus (pprint01)
US6560633B1 (en) 1999-06-10 2003-05-06 Bow Street Software, Inc. Method for creating network services by transforming an XML runtime model in response to an iterative input process
US6792605B1 (en) 1999-06-10 2004-09-14 Bow Street Software, Inc. Method and apparatus for providing web based services using an XML Runtime model to store state session data
US6717577B1 (en) 1999-10-28 2004-04-06 Nintendo Co., Ltd. Vertex cache for 3D computer graphics
US6618048B1 (en) 1999-10-28 2003-09-09 Nintendo Co., Ltd. 3D graphics rendering system for performing Z value clamping in near-Z range to maximize scene resolution of visually important Z components
US6894704B1 (en) 1999-11-22 2005-05-17 Adobe Systems Incorporated Processing complex regions of illustration artwork
US6720977B1 (en) * 1999-11-22 2004-04-13 Adobe Systems Incorporated Processing illustration artwork
KR20010054237A (en) * 1999-12-03 2001-07-02 김순구 Graphic Photo
US6914605B2 (en) * 2000-03-21 2005-07-05 Matsushita Electric Industrial Co., Ltd. Graphic processor and graphic processing system
US6636214B1 (en) 2000-08-23 2003-10-21 Nintendo Co., Ltd. Method and apparatus for dynamically reconfiguring the order of hidden surface processing based on rendering mode
US6639595B1 (en) * 2000-08-23 2003-10-28 Nintendo Co., Ltd. Achromatic lighting in a graphics system and method
US6700586B1 (en) 2000-08-23 2004-03-02 Nintendo Co., Ltd. Low cost graphics with stitching processing hardware support for skeletal animation
US6811489B1 (en) 2000-08-23 2004-11-02 Nintendo Co., Ltd. Controller interface for a graphics system
US7576748B2 (en) 2000-11-28 2009-08-18 Nintendo Co. Ltd. Graphics system with embedded frame butter having reconfigurable pixel formats
US6707458B1 (en) 2000-08-23 2004-03-16 Nintendo Co., Ltd. Method and apparatus for texture tiling in a graphics system
US7196710B1 (en) 2000-08-23 2007-03-27 Nintendo Co., Ltd. Method and apparatus for buffering graphics data in a graphics system
US7538772B1 (en) 2000-08-23 2009-05-26 Nintendo Co., Ltd. Graphics processing system with enhanced memory controller
US6636225B2 (en) * 2000-11-20 2003-10-21 Hewlett-Packard Development Company, L.P. Managing texture mapping data in a computer graphics system
JP3985467B2 (en) * 2001-01-19 2007-10-03 トヨタ自動車株式会社 Design support system and design support method
JP3910382B2 (en) * 2001-07-11 2007-04-25 株式会社日立製作所 Image matching device
US7236178B2 (en) * 2001-07-19 2007-06-26 Autodesk, Inc. Dynamically adjusted brush for direct paint systems on parameterized multi-dimensional surfaces
WO2003042923A1 (en) * 2001-11-13 2003-05-22 New York University Logic arrangements, storage mediums, and methods for generating digital images using brush strokes
US7181687B2 (en) * 2002-06-27 2007-02-20 Adobe Systems Incorporated Previewing the effects of flattening transparency
JP3748545B2 (en) * 2002-09-19 2006-02-22 株式会社ナムコ Program, information storage medium, and image generation apparatus
US20040085314A1 (en) * 2002-11-05 2004-05-06 Yu-Ru Lin Method for rendering outlines of 3D objects
JP4193979B2 (en) * 2003-03-17 2008-12-10 任天堂株式会社 Shadow volume generation program and game device
US7164423B1 (en) * 2003-04-30 2007-01-16 Apple Computer, Inc. Method and apparatus for providing an animated representation of a reorder operation
US7456851B2 (en) * 2003-05-20 2008-11-25 Honeywell International Inc. Method and apparatus for spatial compensation for pixel pattern on LCD displays
US7382378B2 (en) 2003-10-30 2008-06-03 Sensable Technologies, Inc. Apparatus and methods for stenciling an image
US7095418B2 (en) * 2003-10-30 2006-08-22 Sensable Technologies, Inc. Apparatus and methods for texture mapping
US7219085B2 (en) 2003-12-09 2007-05-15 Microsoft Corporation System and method for accelerating and optimizing the processing of machine learning techniques using a graphics processing unit
US7548892B2 (en) * 2004-04-30 2009-06-16 Microsoft Corporation Processing machine learning techniques using a graphics processing unit
EP1605408A1 (en) * 2004-06-11 2005-12-14 Saab Ab Image-based rendering (IBR)
DE202005001702U1 (en) * 2005-02-02 2006-06-14 Sata Farbspritztechnik Gmbh & Co.Kg Virtual painting system and paint spray gun
US7472815B2 (en) * 2005-09-21 2009-01-06 Ethicon Endo-Surgery, Inc. Surgical stapling instruments with collapsible features for controlling staple height
US7839416B2 (en) 2006-03-10 2010-11-23 University Of Northern Iowa Research Foundation Virtual coatings application system
US7839417B2 (en) * 2006-03-10 2010-11-23 University Of Northern Iowa Research Foundation Virtual coatings application system
US20080124698A1 (en) * 2006-11-28 2008-05-29 Ebensberger Jason M Virtual coatings application system with structured training and remote instructor capabilities
DE502007000825D1 (en) 2006-12-05 2009-07-16 Sata Gmbh & Co Kg Ventilation for the gravity cup of a paint spray gun
US8125498B2 (en) * 2007-01-03 2012-02-28 Siemens Medical Solutions Usa, Inc. Generating a 3D volumetric mask from a closed surface mesh
KR100967701B1 (en) * 2007-02-26 2010-07-07 한국외국어대학교 연구산학협력단 Reconstructing three dimensional oil paintings
US7817162B2 (en) * 2008-02-11 2010-10-19 University Of Northern Iowa Research Foundation Virtual blasting system for removal of coating and/or rust from a virtual surface
US9471996B2 (en) * 2008-02-29 2016-10-18 Autodesk, Inc. Method for creating graphical materials for universal rendering framework
US8134551B2 (en) * 2008-02-29 2012-03-13 Autodesk, Inc. Frontend for universal rendering framework
CA2717749C (en) 2008-03-12 2014-06-03 Jeffrey D. Fox Disposable spray gun cartridge
US8521478B2 (en) * 2008-04-01 2013-08-27 Autodesk, Inc. Automatic coloring of rigid groups of parts
US20090251468A1 (en) * 2008-04-03 2009-10-08 Peled Nachshon Animating of an input-image to create personal worlds
US8212806B2 (en) * 2008-04-08 2012-07-03 Autodesk, Inc. File format extensibility for universal rendering framework
US8667404B2 (en) * 2008-08-06 2014-03-04 Autodesk, Inc. Predictive material editor
US9342901B2 (en) * 2008-10-27 2016-05-17 Autodesk, Inc. Material data processing pipeline
DE202008014389U1 (en) 2008-10-29 2010-04-08 Sata Gmbh & Co. Kg Gravity cup for a paint spray gun
US8584084B2 (en) * 2008-11-12 2013-11-12 Autodesk, Inc. System for library content creation
US8352871B2 (en) 2008-12-04 2013-01-08 International Business Machines Corporation System and method for virtual environment preservation based on automated item reduction
DE102009032399A1 (en) 2009-07-08 2011-01-13 Sata Gmbh & Co. Kg Spray Gun
US20110276891A1 (en) * 2010-05-06 2011-11-10 Marc Ecko Virtual art environment
DE202010007355U1 (en) 2010-05-28 2011-10-20 Sata Gmbh & Co. Kg Nozzle head for a spraying device
US9305398B2 (en) * 2010-10-08 2016-04-05 City University Of Hong Kong Methods for creating and displaying two and three dimensional images on a digital canvas
EP2646166B1 (en) 2010-12-02 2018-11-07 SATA GmbH & Co. KG Spray gun and accessories
CN107537707B (en) 2011-06-30 2021-09-03 萨塔有限两合公司 Spray gun, spray medium guide unit, cover, base body and related method
US8994698B2 (en) 2012-03-02 2015-03-31 Adobe Systems Incorporated Methods and apparatus for simulation of an erodible tip in a natural media drawing and/or painting simulation
US8854342B2 (en) 2012-03-02 2014-10-07 Adobe Systems Incorporated Systems and methods for particle-based digital airbrushing
US8896579B2 (en) 2012-03-02 2014-11-25 Adobe Systems Incorporated Methods and apparatus for deformation of virtual brush marks via texture projection
EP2811460A3 (en) * 2013-06-04 2015-11-11 Technion Research & Development Foundation Limited Creating a synthetic model with organic veracity
CA155474S (en) 2013-09-27 2015-08-27 Sata Gmbh & Co Kg Spray gun
DE202013105779U1 (en) 2013-12-18 2015-03-19 Sata Gmbh & Co. Kg Air nozzle termination for a paint spray gun
US9495766B2 (en) * 2014-01-09 2016-11-15 Disney Enterprises, Inc. Simulating color diffusion in a graphical display
US20150243057A1 (en) * 2014-02-22 2015-08-27 Nvidia Corporation Methods of rendering graphics by stroking paths
CA159961S (en) 2014-07-31 2015-07-17 Sata Gmbh & Co Kg Spray gun
USD758537S1 (en) 2014-07-31 2016-06-07 Sata Gmbh & Co. Kg Paint spray gun rear portion
CN105289870B (en) 2014-07-31 2019-09-24 萨塔有限两合公司 Manufacturing method, spray gun, gun body and the lid of spray gun
FR3024916B1 (en) * 2014-08-14 2017-11-24 Allegorithmic SYSTEM AND METHOD FOR COLORIMETRIC AND GEOMETRIC PARAMETERS OF PROCEDURAL TEXTURES ON AN OBJECT
USD768820S1 (en) 2014-09-03 2016-10-11 Sata Gmbh & Co. Kg Paint spray gun with pattern
DE102015006484A1 (en) 2015-05-22 2016-11-24 Sata Gmbh & Co. Kg Nozzle arrangement for a spray gun, in particular paint spray gun and spray gun, in particular paint spray gun
US10339233B2 (en) * 2015-07-27 2019-07-02 Siemens Industry Software Ltd. Calculating thicknesses of applied coating material
DE102015016474A1 (en) 2015-12-21 2017-06-22 Sata Gmbh & Co. Kg Air cap and nozzle assembly for a spray gun and spray gun
CN205966208U (en) 2016-08-19 2017-02-22 萨塔有限两合公司 Hood subassembly and spray gun
CN205995666U (en) 2016-08-19 2017-03-08 萨塔有限两合公司 Spray gun and its trigger
US10424086B2 (en) * 2017-11-16 2019-09-24 Adobe Inc. Oil painting stroke simulation using neural network
WO2018184636A2 (en) 2018-08-01 2018-10-11 Sata Gmbh & Co. Kg Set of nozzles for a spray gun, spray gun system, method for embodying a nozzle module, method for seelcting a nozzle module from a set of nozzles for a paint job, selection system and computer program product
DE102018118737A1 (en) 2018-08-01 2020-02-06 Sata Gmbh & Co. Kg Nozzle for a spray gun, nozzle set for a spray gun, spray guns and method for producing a nozzle for a spray gun
DE102018118738A1 (en) 2018-08-01 2020-02-06 Sata Gmbh & Co. Kg Base body for a spray gun, spray guns, spray gun set, method for producing a base body for a spray gun and method for converting a spray gun
CN111722731B (en) * 2019-03-19 2022-06-07 福建天晴数码有限公司 Paintbrush implementation method and terminal of terrain system based on Unity engine
KR102570009B1 (en) 2019-07-31 2023-08-23 삼성전자주식회사 Electronic device and method for generating argument reality object
CN112529984B (en) * 2020-12-23 2023-12-26 中移(杭州)信息技术有限公司 Method, device, electronic equipment and storage medium for drawing polygon

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2140257B (en) * 1980-12-04 1985-09-18 Quantel Ltd Video image creation
US4514818A (en) * 1980-12-04 1985-04-30 Quantel Limited Video image creation system which simulates drafting tool
US4602286A (en) * 1982-01-15 1986-07-22 Quantel Limited Video processing for composite images
GB2157122B (en) * 1982-01-15 1986-09-24 Quantel Ltd Image composition system
US4646251A (en) * 1985-10-03 1987-02-24 Evans & Sutherland Computer Corporation Computer graphics, parametric patch parallel subdivision processor
US5251160A (en) * 1988-02-23 1993-10-05 Evans & Sutherland Computer Corporation System for blending surfaces in geometric modeling
US5237647A (en) * 1989-09-15 1993-08-17 Massachusetts Institute Of Technology Computer aided drawing in three dimensions
US5155813A (en) * 1990-01-08 1992-10-13 Wang Laboratories, Inc. Computer apparatus for brush styled writing
GB9008946D0 (en) * 1990-04-20 1990-06-20 Crosfield Electronics Ltd Image processing apparatus
US5592597A (en) * 1994-02-14 1997-01-07 Parametric Technology Corporation Real-time image generation system for simulating physical paint, drawing media, and feature modeling with 3-D graphics

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HAERBERLI: "PAINT BY NUMBERS: ABSTRACT IMAGE REPRESENTATIONS", COMPUTER GRAPHICS, vol. 24, no. 4, NEW YORK US, pages 207 - 214 *
INOUE: "SYSTEM-G ENABLES REAL-TIME 3D TEXTURE MAPPING", JEE JOURNAL OF ELECTRONIC ENGINEERING, vol. 27, TOKYO JP, pages 64 - 67, XP000128612 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0812447A1 (en) * 1995-03-02 1997-12-17 Parametric Technology Corporation Computer graphics system for creating and enhancing texture maps
EP0812447A4 (en) * 1995-03-02 1998-07-15 Parametric Tech Corp Computer graphics system for creating and enhancing texture maps
US5838331A (en) * 1995-03-02 1998-11-17 Parametric Technology Corporation Computer graphics system for creating and enhancing texture maps
KR100536414B1 (en) * 1996-05-10 2006-04-06 소니 컴퓨터 엔터테인먼트 인코포레이티드 Recording media, methods of processing and recording and information and apparatus and graphics systems and methods
CN110136238A (en) * 2019-04-02 2019-08-16 杭州趣维科技有限公司 A kind of AR drawing method of combination physical light according to model
CN115329697A (en) * 2022-08-26 2022-11-11 北京国科恒通科技股份有限公司 Method, device and system for generating simulated three-dimensional circuit diagram and storage medium

Also Published As

Publication number Publication date
EP0745246A1 (en) 1996-12-04
US5687304A (en) 1997-11-11
US5592597A (en) 1997-01-07

Similar Documents

Publication Publication Date Title
US5592597A (en) Real-time image generation system for simulating physical paint, drawing media, and feature modeling with 3-D graphics
EP0812447B1 (en) Computer graphics system for creating and enhancing texture maps
Hanrahan et al. Direct WYSIWYG painting and texturing on 3D shapes: (An error occurred during the printing of this article that reversed the print order of pages 118 and 119. While we have corrected the sort order of the 2 pages in the DL, the PDF did not allow us to repaginate the 2 pages.)
Lansdown et al. Expressive rendering: A review of nonphotorealistic techniques
US7446778B2 (en) Dynamically adjusted brush for direct paint systems on parameterized multi-dimensional surfaces
US6268865B1 (en) Method and apparatus for three-dimensional painting
US5903270A (en) Method and apparatus for mapping a two-dimensional texture onto a three-dimensional surface
EP0950988B1 (en) Three-Dimensional image generating apparatus
US5561745A (en) Computer graphics for animation by time-sequenced textures
Kurzion et al. Space deformation using ray deflectors
US5710878A (en) Method for facilitating material application for a group of objects of a computer graphic
Cignoni et al. A simple normal enhancement technique for interactive non-photorealistic renderings
US6078333A (en) Images and apparatus for carrying out the method
Koh et al. Real-time animation of human hair modeled in strips
Kim et al. Haptic editing of decoration and material properties
Wagner et al. A Non-Photorealistic Rendering Technique for Art-directed Hatching of 3D Point Clouds.
Buerger et al. Sample-based surface coloring
EP0978102A2 (en) Method and apparatus for mapping a two-dimensional texture onto a three-dimensional surface
CA2183245A1 (en) Real-time image generation system for simulating physical paint, drawing media and feature modeling with 3-d graphics
Wakita et al. A texturebased haptic model design with 3D brush
Huang A Survey of Pen-and-Ink Illustration in Non-photorealistic Rendering
Coconu Enhanced visualization of landscapes and environmental data with three-dimensional sketches
Strothotte et al. Rendering Line Drawings for Illustrative Purposes
Wei Volumetric cloud generation using a Chinese brush calligraphy style
Wilson Rich visualizations from discrete primitives

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CA

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2183245

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 1995910960

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1995910960

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1995910960

Country of ref document: EP