Tianke Youke

A sanctuary for secreting and rushing at night.

0%

奶奶身体还好,但心态不好。健忘、固执,自闭,悲观。她几乎没有什么盼头了。她觉得活得失败,活得不好。她觉得如今脸上无光。她说:

我最痛恨别人,半熟不熟的人见面,跟你打招呼,问你家里近况怎么样。我很生气,简直想骂回去。可是你骂了吧,人家觉得你是神经病。可是我要怎么回答呢?我这两个儿子,一个工作都丢了,一个身体又那样不好。

我命苦啊。我从小家里穷,也没人管我。13岁就出去工作养活自己了。跟了你爷爷,过的都是苦日子。他一个月三十四块五角钱,二十块钱给他爸妈,雷打不动的。家里饭都吃不起了,也要给。剩下十四块五,十块钱给我,他留四块五。抽最差的烟,走得那么早。

我要管家里所有事。他什么也不管啊,一日三餐,他妈,两个儿子,去河边洗衣服。我还要上班。我每天都好累。

阅读全文 »

Pytorch3D Rendering 的一些疑难杂症

有哪些?

  1. 有了相机内参 K,而render又需要NDC坐标系,那要怎么定义相机?
  2. 图像的黄蓝色反了?
  3. render 完的图像锯齿很严重?怎么抗锯齿(Antialiasing)?
  4. 皮肤表面反光太强,光滑得像镜面一样,怎样更自然?
  5. 怎么物体只剩半截,更远的部分似乎被截掉了?
  6. 没解决的问题:PBR(physical based rendering)
阅读全文 »

A camera is a mapping between the 3D world (object space) and a 2D image.

In general, the camera projection matrix P has 11 degrees of freedom: \[ P=K[R\ \ \ t] \]

Component # DOF Elements Known As
K 5 \(f_x, f_y, s,p_x, p_y\) Intrinsic Parameters; camera calibration matrix
R 3 \(\alpha,\beta,\gamma\) Extrinsic Parameters
t (or \(\tilde{C}\)) 3 \((t_x,t_y,t_z)\) Extrinsic Parameters

3D world frame ----- R, t ----> 3D camera frame ------ K -----> 2D image

阅读全文 »

Difficult situations:

  1. The Academic page is powered by Jekyll, while the blog website is powered by Hexo.
  2. And they are maintained in two separated repositories on Github.
  3. Besides [username].github.io, I have a domain jyzhu.top, and want to use my custom domain.
  4. All in all, I hope to visit the academic page is at jyzhu.top, while visit the blog is at jyzhu.top/blog.

Now let's configure.

  1. Rename the blog repo as blog; rename the academic page repo as [username].github.io.

  2. Edit the blog's Hexo config file:

    1
    2
    url: https://jyzhu.top/blog
    root: /blog/

    While no need to move all the files into a subfolder blog of your repo.

    The Jekyll config is simple. Nothing needs to specify.

  3. Edit the Github repo settings. Set the academic repo's custom domain as jyzhu.top. A CNAME file will be automatically added in the root. Now obviously, the jyzhu.top successfully refers to the academic page.

    Then you know what, everything is done! Because all other repos with github page turns on, are automatically mapped to subpaths of [username].github.io by Github. Then coz [username].github.io is mapped to [url], everything will be there, including [url]/blog for the blog repo.

阅读全文 »

齐次坐标系

之前不理解为什么要用一个和从小到大学的笛卡尔坐标系不同的齐次坐标系来表示东西,并且弄得很复杂;学了各种公式也很糊涂。现在终于明白了

齐次坐标系的现实意义

就是用来表示现实世界中我们眼睛看到的样子:两条平行线在无限远处能相交。

阅读全文 »