
Összefoglaló
A dolgozatban egy olyan procedurális eljárás részleteit tárgyaljuk, amellyel rajz- és festőművészek ecsetmintáinak stílusjegyeit elemezve azokból akár végtelen hosszú szekvencia készíthető, amit már meglévő, számítógépes tervezés során elkészült képekre és jelenetekre alkalmazva azt az illúziót kelti, mintha a művész sajátkezűleg rajzolta volna őket. A megközelítés alapjait már meglévő kutatási eredmények adják, amelyek továbbfejlesztésével a módszer éles ipari alkalmazása is lehetővé válik - az állóképek torzításán kívül az új algoritmus egy animációs mozifilm elkészítésében is szerepet kapott.
A módszer nehézsége, hogy a művész által készített ecsetvonások stílusának megőrzésén túlmenően nem engedhető meg, hogy a generált vonalak bármilyen szemmel látható periodicitással rendelkezzenek. Az algoritmus a művészi stílus elemzéséhez valószínűségi megfontolásokat alkalmaz: a Markov mezők tulajdonságai alapján az átmeneti valószínűségek függetlenné tehetők a megelőző állapotoktól. Az ecsetminta ennek következtében tetszőleges pontról, előzetes ismeretek hiányában is akár végtelen hosszúságban folytathatóvá válik.
Az eredményül kapott ecsetminta periodicitásának elkerüléséhez az útvonalakat nem helyben, hanem már előzetes tervezés során rangsoroljuk - azokat a lehetőségeket, amelyek nagy valószínűséggel a görbe végállapotához vezethetnek, az elemzés folyamán plusz költséggel büntetjük. Ehhez a mesterséges intelligencia területén jól ismert megerősítéses, vagy Q-tanulás módszerét alkalmazzuk.
Az eredmények ismertetése mellett a dolgozatban rámutatunk a már meglévő eljárások hiányosságaira, illetve arra, hogy miért nem bizonyulnak elégségesnek a fenti probléma megoldására, továbbá szó esik az ismertetett algoritmus egyéb területeken való felhasználási lehetőségeiről is.
Abstract
In this paper we discuss a procedural method that examines the brush strokes of painter artists and then generates similar strokes to render 3D objects on the computer. The result of the method maintains the illusion that the newly created picture was made by the particular artist.
The approach is based on previous research results and improves them to be appropriate for film industry applications. The developed method is integrated in a fully featured film rendering pipeline.
The main challenge of the problem is that any kind of visible periodicity is not acceptable while the algorithm's main aspect is the preservation of the artistic style of the painter for arbitrarily long strokes.
We apply a probabilistic approach to analyze the dynamics of motion: according to the attributes of Markov fields we can make state transition probabilities independent of the preceding states. Thus, we are able to compute the next state of the spline from any point.
To avoid visibly periodic output, it is a good idea to try to plan ahead and discover the path of transitions that lead to the last state of the sample stroke, and assign higher cost to them in advance to reduce the probability of not matured termination. To accomplish this, we iteratively apply and solve the reinforcement learning (or Q-learning) equation.
The paper also investigates other procedural approaches and discusses the reasons why they cannot be utilized for the same problem. There is also a discussion of other possible fields that may benefit from the algorithm.
Keywords: NPR, Q-learning, Markov fields, stochastic processes, hatching, brush synthesis, procedural graphics.
Downloads:
problem definition (hu) [pdf]
full text (hu) [pdf]
video [avi]
|