You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vec3f barycentric(Vec3f A, Vec3f B, Vec3f C, Vec3f P) {
I do not understand your barycentric method's way. When i implement lesson 2 with my own barycentric method (finding cross products of edges and check point is inside with dot product, x and y are in screen coordinates format, but z is world coordinate) the final image is not same as yours. this is my method, if you can give me the point it would be glad.
tinyrenderer/main.cpp
Line 38 in 68a5ae3
I do not understand your barycentric method's way. When i implement lesson 2 with my own barycentric method (finding cross products of edges and check point is inside with dot product, x and y are in screen coordinates format, but z is world coordinate) the final image is not same as yours. this is my method, if you can give me the point it would be glad.
The text was updated successfully, but these errors were encountered: