CN101901499A - Calligraphic creation method in three-dimensional virtual environment - Google Patents

Calligraphic creation method in three-dimensional virtual environment Download PDF

Info

Publication number
CN101901499A
CN101901499A CN 201010224888 CN201010224888A CN101901499A CN 101901499 A CN101901499 A CN 101901499A CN 201010224888 CN201010224888 CN 201010224888 CN 201010224888 A CN201010224888 A CN 201010224888A CN 101901499 A CN101901499 A CN 101901499A
Authority
CN
China
Prior art keywords
writing
brush
writing brush
key frame
path
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN 201010224888
Other languages
Chinese (zh)
Inventor
庄越挺
吴江琴
张振庭
俞凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN 201010224888 priority Critical patent/CN101901499A/en
Publication of CN101901499A publication Critical patent/CN101901499A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a calligraphic creation method in a three-dimensional virtual environment, which is characterized in that a triangle gridding is adopted to conduct modeling for a virtual writing brush, Bezier Lines or splines and other curves are utilized to fit a stroke writing path, morphology, rhythm and other related information are determined when the writing brush is in use in accordance with designated keyframes, the virtual writing brush is driven to move in the three-dimensional environment based on the writing path and the keyframes, transition frames among the keyframes are calculated by real-time interpolation, patterns drawn by each frame of the virtual writing brush are recorded simultaneously, and the patterns are integrated into strokes in the mode of tandem connection. The method is utilized to sufficiently display the effects of lifting, pressing, pausing and transition, degree of urgency of rhythm and the like during the writing process with the writing brush; and the effects of calligraphic creation are very close to writing effects with the writing brush in reality.

Description

Calligraphy creation method in the three-dimensional virtual environment
Technical field
The present invention relates to computer digit calligraphy creation field, relate in particular to the method for calligraphy creation in a kind of three-dimensional virtual environment.
Background technology
Today that computing machine is fast-developing and universal, for calligraphy art is applied to daily life widely, the digitizing calligraphy creation arises at the historic moment.The Brush calligraphy metamorphosis is abundant, and visual performance power is strong, is the focus of research.
The drafting of Brush calligraphy is usually based on the modeling of virtual brush." computer graphical and application " magazine (IEEE Computer Graphics and Applications (S0272-1716) in 1999,1999,19 (3): 74-81) introduce theory of elastic mechanics in a kind of virtual brush method of Gong Buing, the physical property of spring is applied to the deformation of pen hair, consider writing brush in pushing pen milli position and the variation of direction, made up the three-dimensional model of writing brush." computing machine and figure " magazine (Computer and Graphics in 2000,2000,24 (1): 99-113) use in the method for Gong Buing simply with three-dimensional inverted cone model modeling writing brush, stroke is considered as the stack of a series of intensive ellipses, principal axis of ellipse rotates with the writing brush motion, the profile of style of writing can be showed, but all more important skills such as side cutting edge of a knife or a sword centre forward in the brush writing process can't be showed." computer graphical forum " magazine (Computer Graphics Forum (S0167-7055) in 2002,2002,21 (3): the virtual brush modeling method utilization broad sense of 299-308) announcing is swept established law and is made up " writing unit " solid model, and introduction machine learning system, simulate painting and calligraphy effect true to nature, but calculate too complicated.Think in the method for SIGGRAPH (SIGGRAPH 2004.USA ACM Press2004) announcement in 2004 that the mass motion of pen hair has a significant impact individual tool, parametrization Chinese brush model (PHB) has been proposed, cast aside some chickenshits, simplified model, obtain good artistic effect." computer graphical and application " (IEEE Computer Graphics and Applications (S0272-1716) in 2004,2004,10:76-85) comprise the geometric model and the dynamic model of writing brush in the virtual brush model of Gong Buing, and on true writing brush, three-dimensional space position and the writing brush form that hardware device (Ultrasound Buzzer and Gyroscope) comes the perception writing brush is being installed, need and outer hardware supported and to use not be very natural.(Proceedings of the 2006IEEE International Conference on Multimedia and Expo in 2004, Toronto, 2006:2073-2076) method of Gong Buing has realized a 3D Chinese calligraphy playback system based on web on the basis of Brush calligraphy skeletal extraction, the writing process of writing brush that reappeared ground preferably, but cannot show the various metamorphosis and the movement rhythm of writing brush pen hair.
Summary of the invention
The objective of the invention is for overcome above-mentioned existing method calculation of complex, real-time is not strong, can not fine performance brush writing characteristic, ignored the shortcomings such as dynamic visual impact in the brush writing process, provide a kind of real-time, can realistic simulation the method for calligraphy creation in the three-dimensional environment of brush writing effect.
The calligraphy creation method may further comprise the steps in the three-dimensional virtual environment:
(1) at first adopt triangle gridding that virtual brush is carried out modeling, four basic control point (P on the given three dimensions 0, P 1, P 2, P 3), determine that a straight-line segment and one section three Bezier represent the axle center state SAxis=S (P of writing brush 0, P 1, P 2, P 3), with the various metamorphosis of triangle gridding simulation writing brush pen hair;
(2) according to the basic configuration of stroke, the path of writing with match strokes such as Bezier or SPL, according to the basic configuration of stroke, utilize curves such as Bezier or SPL to come the path of writing in match writing brush when motion, a stroke is the connection of one section curve or multistage curve;
(3) on writing the path, specifies required key frame in the calligraphy creation process according to writing needs, set the state of key frame, comprise the position of writing brush, the form of pen mao;
(4), drive virtual brush and in three-dimensional environment, move, in real time the transition frames between the interpolation calculation key frame based on writing path and key frame;
(5) pattern of each frame drafting of real time record virtual brush, its serial connection is integrated into stroke, open up the array of a two dimension, with the paper texture that it is initial, in writing process, calculate the polygon that virtual brush is drawn out in each frame in real time, fill in the two-dimensional array and the corresponding polygonal region of writing brush current location with mass colour, in real time adjacent polygons is coupled together in twos again, eliminate sawtooth.
Described basis is write needs and specify required key frame in the calligraphy creation process on being write the path, set the state of key frame, the position that comprises writing brush, the form of pen hair, be meant according to stroke and write needs, designated key frame point on the path, the state of setting key frame, the function of state of key frame is Wherein SAxis is a pen hair axle center function of state, has specified the writing brush grown form,
Figure BSA00000186284100022
For nib towards angle,
Figure BSA00000186284100023
Pos represents the coordinate of writing brush nib, the particular location of given pattern drafting just, F is the dynamics that writing brush presses down, 1≤F≤10, represent 10 grades of different dynamics of pushing, t is the time interval between current key frame and next key frame, and ω is the descriptor of the rhythm of writing brush motion, in order to the initial velocity of expression motion, Path is the Bezier in the path between this two key frame or the expression formula of SPL.
Described driving virtual brush in three-dimensional environment, move and in real time the transition frames between the interpolation calculation key frame be meant that the writing brush position of the transition frames between two key frames and state determined by these two key frames, the motion of specifying writing brush between two key frames is a uniform motion, for two adjacent key frame KeyFrame in the stroke iAnd KeyFrame I+1, its state is KFState iAnd KFState I+1KFState iAnd KFState I+1Between the path curve arc length be L, the time interval is t.Setting the timer triggering cycle in the computing machine is Δ t, and then the transition frame number is M=t/ Δ t between two key frames.For KFState iAnd KFState I+1Between transition frames F I, j, j ∈ [0, M-1] obtains Pos iTo F I, jThe path curve arc length s=v of position coordinates 0Δ t, thus F tried to achieve I, jCoordinate position on the plane finally obtains F I, jState
Figure BSA00000186284100031
Wherein Pos is the position of writing brush in the present frame, and by KFState iAnd KFState I+1Linear interpolation obtains pen hair axle center state SAxis, and nib is towards angle
Figure BSA00000186284100032
With press down dynamics F.
The beneficial effect that the present invention compared with prior art has:
1. this method calculated amount is little, real-time, can calculate transition frames in real time according to the key frame status information, draws calligraphy work, plays up three-dimensional calligraphy creation scene simultaneously.
2. this method can better be drawn calligraphy work, and fine performance stroke is carried by effects such as pauses and transitions in rhythm or melody, and lines are rich in strength, fully represents U.S. of the road strength of stroke.
3. this method can be reproduced the calligraphy creation process of writing in the three-dimensional visualization environment, and carrying by essential of exercise total numbers such as the circling round of the receiving towards shop twisted, the pen milli of pause and transition in rhythm or melody, the shaft of a writing brush, the vigour of style in writing, centre forward and side cutting edges of a knife or a sword of the speed emergency of the capable pen of writing brush, writing brush showed.
Description of drawings
Fig. 1 be under the original state and pressed state start writing the hair the axle center;
Fig. 2 be under the original state and pressed state under the form of triangle gridding;
Fig. 3 is the example of stroke path fitting;
Fig. 4 is the state of virtual brush when pushing and the pattern of drawing out;
Fig. 5 is the example of the polygon serial connection of virtual brush drafting;
Fig. 5 is the instance graph of calligraphy creation in the virtual three-dimensional virtual environment.
Embodiment
The calligraphy creation method may further comprise the steps in the three-dimensional virtual environment:
(1) at first adopt triangle gridding that virtual brush is carried out modeling, four basic control point (P on the given three dimensions 0, P 1, P 2, P 3), determine that a straight-line segment and one section three Bezier represent the axle center state SAxis=S (P of writing brush 0, P 1, P 2, P 3), with the various metamorphosis of triangle gridding simulation writing brush pen hair;
(2) according to the basic configuration of stroke, the path of writing with match strokes such as Bezier or SPL, according to the basic configuration of stroke, utilize curves such as Bezier or SPL to come the path of writing in match writing brush when motion, a stroke is the connection of one section curve or multistage curve;
(3) on writing the path, specifies required key frame in the calligraphy creation process according to writing needs, set the state of key frame, comprise the position of writing brush, the form of pen mao;
(4), drive virtual brush and in three-dimensional environment, move, in real time the transition frames between the interpolation calculation key frame based on writing path and key frame;
(5) pattern of each frame drafting of real time record virtual brush, its serial connection is integrated into stroke, open up the array of a two dimension, with the paper texture that it is initial, in writing process, calculate the polygon that virtual brush is drawn out in each frame in real time, fill in the two-dimensional array and the corresponding polygonal region of writing brush current location with mass colour, in real time adjacent polygons is coupled together in twos again, eliminate sawtooth.
Described basis is write needs and specify required key frame in the calligraphy creation process on being write the path, set the state of key frame, the position that comprises writing brush, the form of pen hair, be meant according to stroke and write needs, designated key frame point on the path, the state of setting key frame, the function of state of key frame is
Figure BSA00000186284100041
Wherein SAxis is a pen hair axle center function of state, has specified the writing brush grown form,
Figure BSA00000186284100042
For nib towards angle,
Figure BSA00000186284100043
Pos represents the coordinate of writing brush nib, the particular location of given pattern drafting just, F is the dynamics that writing brush presses down, 1≤F≤10, represent 10 grades of different dynamics of pushing, t is the time interval between current key frame and next key frame, and ω is the descriptor of the rhythm of writing brush motion, in order to the initial velocity of expression motion, Path is the Bezier in the path between this two key frame or the expression formula of SPL.
Described driving virtual brush in three-dimensional environment, move and in real time the transition frames between the interpolation calculation key frame be meant that the writing brush position of the transition frames between two key frames and state determined by these two key frames, the motion of specifying writing brush between two key frames is a uniform motion, for two adjacent key frame KeyFrame in the stroke iAnd KeyFrame I+1, its state is KFState iAnd KFState I+1KFState iAnd KFState I+1Between the path curve arc length be L, the time interval is t.Setting the timer triggering cycle in the computing machine is Δ t, and then the transition frame number is M=t/ Δ t between two key frames.For KFState iAnd KFState I+1Between transition frames F I, j, j ∈ [0, M-1] obtains Pos iTo F I, jThe path curve arc length s=v of position coordinates 0Δ t, thus F tried to achieve I, jCoordinate position on the plane finally obtains F I, jState
Figure BSA00000186284100044
Wherein Pos is the position of writing brush in the present frame, and by KFState iAnd KFState I+1Linear interpolation obtains pen hair axle center state SAxis, and nib is towards angle
Figure BSA00000186284100045
With press down dynamics F.
Embodiment
As shown in Figure 6, provided the example of calligraphy creation in the three-dimensional virtual environment.Describe the concrete steps that this example is implemented in detail below in conjunction with method of the present invention, as follows:
(1) links to each other with one section three B with the straight line section and fetch the axle center of simulation pen hair, simulate various metamorphosis in the brush writing process with triangle gridding;
(2) Chinese brush model that obtains based on step (1), the user waits the motion path of match writing brush, the just skeleton of stroke and sequential write with straight line, B é zier or SPL;
(3) write the path based on what step (2) obtained, the user specifies some key frames, determine the parameter information of key frame, 4 reference mark that comprise the writing brush axle center, the angle of the rotation of writing brush, the position of writing brush, the dynamics of pressing under the writing brush, the time interval and the stroke of current key frame and next key frame are write rhythm;
(4) key frame to obtain in the step (3), the number and the position of calculating transition frames between adjacent two key frames;
(5) calculate in real time the surface of contact of virtual brush and paper in the series of frames that obtains in (4), and with these surface of contact composition stroke writing that is together in series, real-time exhibition comes out in three-dimensional environment.
The operation result of this example shows in accompanying drawing 6, the user has specified the stroke path and the key frame of " book road " two words, system's interpolation is finished the transition frames between key frame, drive virtual brush, in three-dimensional virtual environment, wordbook is write out in real time, well reproduced the calligraphy creation process, carrying in the performance brush writing process by pause and transition in rhythm or melody and tempo variation, the word of drawing out is very much approaching with true brush writing result, has certain aesthetic value.

Claims (3)

1. calligraphy creation method in the three-dimensional virtual environment is characterized in that may further comprise the steps:
(1) at first adopt triangle gridding that virtual brush is carried out modeling, four basic control point (P on the given three dimensions 0, P 1, P 2, P 3), determine that a straight-line segment and one section three Bezier represent the axle center state SAxis=S (P of writing brush 0, P 1, P 2, P 3), with the various metamorphosis of triangle gridding simulation writing brush pen hair;
(2) according to the basic configuration of stroke, the path of writing with match strokes such as Bezier or SPL, according to the basic configuration of stroke, utilize curves such as Bezier or SPL to come the path of writing in match writing brush when motion, a stroke is the connection of one section curve or multistage curve;
(3) on writing the path, specifies required key frame in the calligraphy creation process according to writing needs, set the state of key frame, comprise the position of writing brush, the form of pen mao;
(4), drive virtual brush and in three-dimensional environment, move, in real time the transition frames between the interpolation calculation key frame based on writing path and key frame;
(5) pattern of each frame drafting of real time record virtual brush, its serial connection is integrated into stroke, open up the array of a two dimension, with the paper texture that it is initial, in writing process, calculate the polygon that virtual brush is drawn out in each frame in real time, fill in the two-dimensional array and the corresponding polygonal region of writing brush current location with mass colour, in real time adjacent polygons is coupled together in twos again, eliminate sawtooth.
2. calligraphy creation method in a kind of three-dimensional virtual environment according to claim 1, it is characterized in that: described basis is write needs and specify required key frame in the calligraphy creation process on being write the path, set the state of key frame, the position that comprises writing brush, the form of pen hair is meant according to stroke and writes needs, designated key frame point on the path, set the state of key frame, the function of state of key frame is Wherein SAxis is a pen hair axle center function of state, has specified the writing brush grown form,
Figure FSA00000186284000012
For nib towards angle,
Figure FSA00000186284000013
Pos represents the coordinate of writing brush nib, the particular location of given pattern drafting just, F is the dynamics that writing brush presses down, 1≤F≤10, represent 10 grades of different dynamics of pushing, t is the time interval between current key frame and next key frame, and ω is the descriptor of the rhythm of writing brush motion, in order to the initial velocity of expression motion, Path is the Bezier in the path between this two key frame or the expression formula of SPL.
3. calligraphy creation method in a kind of three-dimensional virtual environment according to claim 1, it is characterized in that: described driving virtual brush in three-dimensional environment, move and in real time the transition frames between the interpolation calculation key frame be meant that the writing brush position of the transition frames between two key frames and state determined by these two key frames, the motion of specifying writing brush between two key frames is a uniform motion, for two adjacent key frame KeyFrame in the stroke iAnd KeyFrame I+1, its state is KFState iAnd KFState I+1KFState iAnd KFState I+1Between the path curve arc length be L, the time interval is t.Setting the timer triggering cycle in the computing machine is Δ t, and then the transition frame number is M=t/ Δ t between two key frames.For KFState iAnd KFState I+1Between transition frames F I, j, j ∈ [0, M-1] obtains Pos iTo F I, jThe path curve arc length s=v of position coordinates 0Δ t, thus F tried to achieve I, jCoordinate position on the plane finally obtains F I, jState
Figure FSA00000186284000021
Wherein Pos is the position of writing brush in the present frame, and by KFState iAnd KFState I+1Linear interpolation obtains pen hair axle center state SAxis, and nib is towards angle
Figure FSA00000186284000022
With press down dynamics F.
CN 201010224888 2010-07-09 2010-07-09 Calligraphic creation method in three-dimensional virtual environment Pending CN101901499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010224888 CN101901499A (en) 2010-07-09 2010-07-09 Calligraphic creation method in three-dimensional virtual environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010224888 CN101901499A (en) 2010-07-09 2010-07-09 Calligraphic creation method in three-dimensional virtual environment

Publications (1)

Publication Number Publication Date
CN101901499A true CN101901499A (en) 2010-12-01

Family

ID=43227005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010224888 Pending CN101901499A (en) 2010-07-09 2010-07-09 Calligraphic creation method in three-dimensional virtual environment

Country Status (1)

Country Link
CN (1) CN101901499A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129710A (en) * 2010-12-30 2011-07-20 北京像素软件科技股份有限公司 Method and system for simulating flight path
CN103500461A (en) * 2013-09-18 2014-01-08 珠海金山网络游戏科技有限公司 Animation generation method for reducing real-time interpolation calculated amount
CN108492377A (en) * 2018-02-13 2018-09-04 网易(杭州)网络有限公司 Writing control method and device, mobile terminal in a kind of virtual scene
CN108805968A (en) * 2018-05-31 2018-11-13 西安电子科技大学 Virtual brush modeling method based on video
CN108876887A (en) * 2017-05-16 2018-11-23 北京京东尚科信息技术有限公司 rendering method and device
CN110084890A (en) * 2019-04-08 2019-08-02 中科云创(北京)科技有限公司 Mechanical arm text based on mixed reality makes carbon copies method and device
CN111831162A (en) * 2020-07-23 2020-10-27 吕嘉昳 Writing brush shape correction method based on touch screen

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
《Chinese Journal of Electronics》 20090430 BAI Bendu et al Chinese Hairy Brush: A Physically-based Model for Calligraphy 全文 1-3 第18卷, 第2期 2 *
《Computers & Graphics》 20000229 Helena T.F. Wong et al Virtual brush: a model-based synthesis of Chinese calligraphy 全文 1-3 第24卷, 第1期 2 *
《IEEE Computer Graphics and Applications》 19990630 Jintae Lee Simulating Oriental Black-Ink Painting 全文 1-3 , 2 *
《IEEE Computer Graphics and Applications》 20041031 Nelson S.H. Chu et al Real-Time Painting with an Expressive Virtual Chinese Brush 全文 1-3 , 2 *
《SIGGRAPH'04》 20041231 Ross B. Girshick Simulating Chinese Brush Painting: The Parametric Hairy Brush 全文 1-3 , 2 *
《计算机辅助设计与图形学学报》 20100630 张振庭 等 三维虚拟环境中的书法创作 第1011-1013页1-2节 1-3 第22卷, 第6期 2 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129710A (en) * 2010-12-30 2011-07-20 北京像素软件科技股份有限公司 Method and system for simulating flight path
CN103500461A (en) * 2013-09-18 2014-01-08 珠海金山网络游戏科技有限公司 Animation generation method for reducing real-time interpolation calculated amount
CN108876887A (en) * 2017-05-16 2018-11-23 北京京东尚科信息技术有限公司 rendering method and device
CN108876887B (en) * 2017-05-16 2021-12-14 北京京东尚科信息技术有限公司 Rendering method and device
CN108492377A (en) * 2018-02-13 2018-09-04 网易(杭州)网络有限公司 Writing control method and device, mobile terminal in a kind of virtual scene
CN108805968A (en) * 2018-05-31 2018-11-13 西安电子科技大学 Virtual brush modeling method based on video
CN108805968B (en) * 2018-05-31 2020-07-10 西安电子科技大学 Virtual writing brush modeling method based on video
CN110084890A (en) * 2019-04-08 2019-08-02 中科云创(北京)科技有限公司 Mechanical arm text based on mixed reality makes carbon copies method and device
CN111831162A (en) * 2020-07-23 2020-10-27 吕嘉昳 Writing brush shape correction method based on touch screen
CN111831162B (en) * 2020-07-23 2023-10-10 吕嘉昳 Writing brush shape correction method based on touch screen

Similar Documents

Publication Publication Date Title
CN101901499A (en) Calligraphic creation method in three-dimensional virtual environment
Wong et al. Virtual brush: a model-based synthesis of Chinese calligraphy
US9268418B2 (en) Simulation of an erodible tip in a natural media drawing and/or painting simulation
CN101944238B (en) Data driving face expression synthesis method based on Laplace transformation
CN104008569B (en) A kind of 3D scene generating method based on deep video
Guay et al. Space-time sketching of character animation
US10217253B2 (en) Methods and apparatus for simulation of a stateful brush tip in a natural media drawing and/or painting simulation
Spencer ZBrush character creation: advanced digital sculpting
CN101930618B (en) Method for producing individual two-dimensional anime
US8180613B1 (en) Wrinkles on fabric software
WO2011085674A1 (en) Method and device for animating and method and device for playing animation
CN104599305A (en) Two-dimension and three-dimension combined animation generation method
CN111324334A (en) Design method for developing virtual reality experience system based on narrative oil painting works
CN103116903A (en) Redirection method of two-dimensional animation role actions
US20120169737A1 (en) Unified system for articulating 3 dimensional animated character and creature models in computer graphics animation
CN100416611C (en) Network topology model construction based three-dimensional human face cartoon making method
Mi et al. The droplet virtual brush for Chinese calligraphic character modeling
US20230377268A1 (en) Method and apparatus for multiple dimension image creation
Yang et al. Creating a virtual activity for the intangible culture heritage
CN100446039C (en) Layering view point correlated model based computer assisted two-dimensional cartoon drawing method by hand
Miranda Intuitive Real-time Facial Interaction and Animation
Di Fiore et al. Multi-level performance-driven stylised facial animation
Wang et al. Application of the virtual landscape architecture geometric modeling
Zhou et al. 3D scan-based animation techniques for Chinese opera facial expression documentation
JP2002092639A (en) Method and device for forming animation representing particle behavior

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20101201