Write in front
A few days ago I saw a question--about non-realsense graphics or stylized rendering what good books or paper, I just touched some and went inside to answer a bit. After the answer, you suddenly want to do a collection of this in unity, and some simple NPR papers or tutorials are implemented in unity. So these two days to do a bit. I put this project on GitHub (HTTPS://GITHUB.COM/CANDYCAT1992/NPR_LAB) and interested students can go and have a look.
Project Link: https://github.com/candycat1992/NPR_Lab
What NPR has implemented
In this two-day work, my main choice is about cartoon rendering some of the earliest papers, such as 1998 's a non-photorealistic Lighting Model for Automatic Technical illustration, This article was first presented in cartoon rendering using tones to simulate the style of illustration. Because the unity package is great, some of the results in the paper I didn't do in unity, and I'll update it when the Unity update is open and more functional.
I will always update this item if you want to see the NPR effect that you can tell me that there is time I will try to achieve.
Every time you update a project, if you add a new render effect, I will also indicate it in the project's README. For example, when I wrote this article, I implemented five simple NPR:
antialiased Cel Shading
Related Scene:antialiasedcelshadingscene
Reference:http://prideout.net/blog/?p=22
Tone Based Shading
Related Scene:tonebasedshadingscene
Reference:gooch A, Gooch B, Shirley P, et al. A non-photorealistic lighting model for automatic technical illustration[c]//proceedings of the 25th Annual Conference on Computer graphics and interactive techniques. ACM, 1998:447-452.
Stylized Highlights
Related Scene:stylizedhighlightsscene
Reference:anjyo K, Hiramitsu K. Stylized highlights for cartoon rendering and Animation[j]. Computer Graphics and Applications, IEEE, 2003, 23 (4): 54-61.
Pencil Sketch Shading
Related Scene:pencilsketchshadingscene
Reference:lake A, Marshall C, Harris M, et al. stylized rendering techniques for scalable real-time 3D Animation[c]//proc Eedings of the 1st International Symposium on Non-photorealistic Animation and rendering. ACM, 2000:13-2
Hatching
Related Scene:hatchingscene
Reference:praun E, Hoppe H, Webb M, et al. real-time hatching[c]//proceedings of the 28th Annual Conference on Computer G Raphics and interactive techniques. ACM, 2001:581.
The principle behind
Most of these experiments refer to papers, and a few are based on some tutorials. Most of them use only shader. In the project's readme, I gave the information for each effect reference and the scene name in the project. I was going to write a blog about every effect, but lately I've been writing books and there's a lab work to do, and it's not that much time, so the update will be slow. But in the current realization of several effects, we can find the realization principle from the paper, and shader is not complex.
Written in the last
This project is also purely interested, if you have any comments and suggestions welcome to my message. If you find my implementation is wrong, be sure to tell me.
Finally, I hope you can hava fun~
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
"NPR" non-photorealistic rendering lab