Skip to content

Commit

Permalink
Merge pull request #84 from NJUCG/xiaoyaoing
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
mchenwang authored Nov 14, 2023
2 parents 044b614 + e8c716c commit 03f7ae2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Moer is developed by NJUMeta (www.njumeta.com) from Nanjing University.

![classroom](https://user-images.githubusercontent.com/46410388/204492936-a7fc480b-1557-44e9-afaf-56d0ff1537a2.jpg)
![hair](https://yjpp.oss-cn-hangzhou.aliyuncs.com/uPic/C6966B38E3AD16F8AC9CC9D86C73921E.jpg)
![hair](https://yjpp.oss-cn-hangzhou.aliyuncs.com/uPic/curly-hair.png)
![teapot](https://yjpp.oss-cn-hangzhou.aliyuncs.com/uPic/tea-pot.png)
![disney](https://yjpp.oss-cn-hangzhou.aliyuncs.com/uPic/disneybsdf.png)
## Checklist
Expand Down
7 changes: 0 additions & 7 deletions src/FunctionLayer/Material/HairMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,4 @@ std::shared_ptr < BxDF > HairMaterial::getBxDF(const Intersection & intersect) c
void HairMaterial::setFrame(Intersection &its, const Ray &ray) const {
its.shFrame = Frame(its.geometryNormal);
return;
Vec3d T, B, N;
N = its.geometryNormal;
B = its.geometryTangent;
T = cross(B, N);
T = normalize(T - dot(T, N) * N);
B = cross(N, T);
its.shFrame = Frame(T, B, N);
}

0 comments on commit 03f7ae2

Please sign in to comment.