## Gram-Schmidt Orthonormalization

We can use it to find an orthonormal basis for Tangent, Bitangent and Normal ( Vector3 ): \begin{align} T &= T-\frac{(T \cdot N)N}{N \cdot N} \\ B &= B-\frac{(B \cdot N)N}{N \cdot N}-\frac{(B \cdot T)T}{T \cdot T} \end{a …
2013-04-03 Comments

## 3ds Max 2014

New features: Vector map support – Get new support for vector maps. Augmented particle flow system – Create better physical simulations in less time. Improved viewport performance – Get better interactive and …
2013-03-30 Comments

## DirectX Exporter for 3ds Max 2013 发布了!

2012-12-11 1 comment

## Baby Pomeranian

My baby two months old,  he’s so small and cute!  🙂
2012-12-04 Comments

## 3ds Max 导出X插件

2012-12-03 3 comments

## 曲线的标架运动习题

2011-04-24 Comments

## lit

In HLSL the lit function use dotDiffuse, dotSpecular and shininess as parameters and returns a lighting coefficient vector (ambient, diffuse, specular, 1) where: ambient = 1 diffuse = ((n • l) < 0) ? 0 : n • l specular = ((n …
2010-08-03 Comments

## Rotation

☆.  Rotation about the x, y, z axis \begin{align} R_x(\theta) &= \begin{bmatrix} 1 & 0 & 0\\ 0 & \cos\theta & -\sin\theta\\ 0 & \sin\theta & \cos\theta \end{bmatrix} = exp \left (\theta \begin{bmatrix …
2010-07-15 Comments

## 家里来了两只斑鸠

2010-06-07 Comments

## 为Hex Workshop添加右键打开特定文件的功能

Hex Workshop6右键打开.df文件时不支持中文目录, 写个reg文件来解决这问题 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.df\shell] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.df\shell\HexWorkshop] @=”用He …
2009-06-26 Comments

## 恢复注册表: 新建文本文档

2009-01-12 Comments

## 窗口无法修改其Owner

API函数GetWindow(hWnd, GW_OWNER)可以得到hWnd的owner窗口, GetParent(hWnd)也可以得到parent或者owner, 但微软怎么不做个SetWindow这样的API函数来真正修改其owner呢?, MFC虽然有SetOwner函数, 但查了一下源码, 发现只是把owner窗口保存起来而 …
2009-01-08 Comments

## Alin的五笔输入法

2009-01-03 Comments

## 使用UNALIGNED

2008-11-17 Comments

## DemoScene

2008-09-15 1 comment