danielepanozzo / gp

MIT License
65 stars 37 forks source link

Assignment 4 Part III #11

Closed liubai01 closed 2 years ago

liubai01 commented 2 years ago

I try mp.subplot(.., uv=UV) in instructions, it looks like that:

image

The requirement is:

image

What is the color map here? How could we overlay the gradient map over uv checkerboard/grid?

Thank you.

danielepanozzo commented 2 years ago

The rendering you have is ok for the assignment. The rendering below requires to use a transparent grid texture and the color is the ratio of the uv triangle area over the triangle area of the 3D mesh.