const&constexpr

While reviewing homework-code in GAMES101, I learned new things : not only the c++ grammer ,but also the graphics-algorithms, also how to architecture projects framwork. This is really amazing, I would like to express my gratitude to Prof.Yan and all the TAs.

This blog is about constexpr, which is a new feature in c++11.

Read more

Learn-from-Anima2D

This article is kind of an essay, not a very specific,technical one.

Anima2D is a plugin for Unity to make skeleton-based animation,I have learned how to use it making my character Ideling on Bilibili, I pushed the result on github.

However,I am a cs-er.So the source code of this plugin has a fatal attraction for me. I wonder why the author didn’t write any annotation for the project, this makes my reading really really tough. Maybe experienced-man never write annotations…the conclusion was based on my observation in my coding life up to now…Since I am a “chicken dish”,which means “菜鸡” in Chinese,I decided to write my own understanding step by step(kind of diary style)

Life is so hard```(cry by chicken dish Anna)

Read more

OpenPose-Practice

This article is for NOBODY, just for me to record.
I tried to download OpenPose from github and run the Demo on my laptop. Since my graphics card is medium-level AMD,and my cpu is i7. So I use the cpu-only model.

Read more

First-Met-With-RayTracing

Hey guys,speaking of RayTracing,I have to tell u that I’m really confused at the first time–What the hell is RayTracing?! Well u know I’m not the kind of person who is addicted to games, all I know about Graphics begins with the course UnityGame in my first year of Graduate,before that I am the one who doesn’t even know what pixel is! So not to mention those much more advanced technologies such as RayTracing!

I assume readers are the same with me! You just learned the really really basic graphics—! coordinates transformation,! uv mapping,! something about graphicspipeline,! unity games,(ok I admit that I’m a little irritable at present, cuz a bug cannot be fixed for a few days)suddenly a voice told you time to learn RayTracing, and it seems a mess with the existing knowledges in your head. Don’t worry, learn with me.

This article is going to be very very long, it’s about RayTracing,Acceleration,BRDF,PathTracing,Calculus,Global illumination,Unity,VScode etc, there will be lots pics and formulas. If you are patient enough to read through it, I promise you can learn something, but before this article, please scan the two articles:Lighting-Shading-Texture,Graphicspipeline,cuz we have lots things to link up.

Read more

something-from-vector-implementation

This article is for the readers who have a basic background of math, graphics, c++. Although I have written the code about Vector2,Vector3 by c++, but as time goes by, all the principles were forgotten. So I decided to write something about the simple program to get much more strong memory.
If you search the implementation of vector in github, you can find lots examples. Here’s an example vector.hpp, actually it’s too hard for me to read. Today’s vector.hpp is about the really basic syntax in c++ such as operator overloading, friends, inline etc.

Read more

address-opereator

This is for the readers who have basic c++ background. Those days I have noticed that there’s char ‘&’ in front of function. So decided to record it.

I suggest an online c++ compiler : (You can test your simple programs on it.)

Read more

Lighting-Shading-Texture

This article is for the novices that do not have too much graphics knowledge but understand the rough meaning of lighting mode/shader/texture mapping,and it’s better the reader is familiar with Unity.

I want to overview the Surface Shading & Texture Mapping,but it’s not a simple glance,I’ll try my best to describe this part in detail,including all kinds of textures:bump textures/environment maps/displacement mapping/shadow maps,the surface shading includes diffuse shading,phong shading etc. So there will be a lot of pictures and formulas.

With the above simplifications in mind, Let’s begin our trip.

Read more

Function-Template

This is for the readers who have basic c++ background. If you want to get the rough sketch of funtion template of c++, then there it is.

I suggest an online c++ compiler : http://coliru.stacked-crooked.com/ (You can test your simple programs on it.)

Read more

Graphics Pipeline Overview

Those days I have learned Graphics again. For deeper memory,I tried to overview the graphics pipleline in this article. Shame on me that forgetting while reading…also my pooor English.

This article is for the novices that do not have too much graphics knowledge but understand the rough meaning of rasterization/mvp matrics/shader/uv mapping,and it’s better the reader is familiar with Unity.

With the above simplifications in mind, Let’s begin the graphics pipeline.

Read more

To Readers

Hi,there~
This is Anna’s blog hometown.
So glad that my articles may help you on your problems.
If you have any question, please comment here or contact me at annayin1997@gmail.com
Nice to meet you and wish you no bug each day.

Read more
Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×