....if your diskspace is low, because it takes up considerable space. In my PC, the index file size is about 1 GB + . I thought i would be much smaller, but maybe google puts something more into its indexing algorithm so that the size grows bigger. But on the other hand, the search time is definitely faster than native windows XP searching program, so it's still worth the cost. Anyway, since most of us have hundreds gigabyte of harddisk space, it wouldn't be a big problem, except that you're like me who like to install a lot lot software into the system =.=
lately, i was approached by Asus, Quanta, and some others, and i have rejected the chances to have an interview = =". Hopefully my decisions are right ones, and the work permit for digimax can be solved immediately. Otherwise maybe i have to call them again to ask for interview =.=
I find a good website that teach me how to compute a barycentric coordinate of point P in the triangle T(v0,v1,v2). The formula can also be used to find is whether the P is inside T, which is the problem i want to solve.
The parametric coordinates (s,t) of P is the solution of the equation: w = su + tv, and the barycentric coordinates of P = b0V0 + b1V1 + b2V2 are equal to: b0 = (1-s-t), b1 = s, andb2 = t which satisfy: b0 + b1 + b2 = 1.
We can compute the solutions for s and t using only dot products as:
Here is my newest rendering of translucent material using PBRT. The rendering time is quite slow, about 2000 seconds using P4 with 768MB RAM. I am quite satisfied with the result. But maybe i need to add more surface reflection to make it more jade-like.