Linear, nonperiodic: segments = nvertices -1;
Linear, periodic: segments = nvertices;
Cubic, nonperiodic: segments = (nvertices-4)/step +1;
Cubic, periodic: segments = nvertices/step;
Friday, June 23, 2006
Friday, June 16, 2006
[PRMAN]Basis
RtBasis spline = {
{ -1/6.0, 0.5, -0.5, 1/6.0},
{ 0.5, -1, 0.5, 0},
{ -0.5, 0, 0.5, 0},
{ 1/6.0, 2/3.0, 1/6.0, 0}
};
RtBasis hermite = {
{ 2, -2, 1, 1 },
{ -3, 3, -2, -1 },
{ 0, 0, 1, 0 },
{ 1, 0, 0, 0 }
};
RtBasis bezier = {
{ -1, 3, -3, 1 },
{ 3, -6, 3, 0 },
{ -3, 3, 0, 0 },
{ 1, 0, 0, 0 }
};
RtBasis catmullRom = {
{ -0.5, 1.5, -1.5, 0.5 },
{ 1.0, -2.5, 2.0, -0.5 },
{ -0.5, 0.0, 0.5, 0.0 },
{ 0.0, 1.0, 0.0, 0.0 }
};
Basis | Step |
---|---|
RiBezierBasis | 3 |
RiBSplineBasis | 1 |
RiCatmullRomBasis | 1 |
RiHermiteBasis | 2 |
RiPowerBasis | 4 |
一定要裝的firefox extensions
- Tabbrowser Preferences
- 用firefox有很大一部份的原因是喜歡他的tab,這個套件可以將tab作個人化的設定,例如在tab上按中鑑關閉tab、google search出來的結果直接是在新的tab.....。
- Foxmarks Bookmark Synchronizer
- 讓每一台電腦上的firefox都使用相同的書籤,這讓家裡公司到處跑的我可以一直維持著相同的書籤。
- Download Statusbar
- Right Encoding
- 新同文堂
- IE Tab
- Google toolbar
- Force Content-Type toolbar
Subscribe to:
Posts (Atom)