Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 关于作业2,请问getcolor函数在哪里?

Viewing 1 reply thread
  • Author
    Posts
    • #3414 Score: 0
      DirtyCandy
      Participant

      有两个问题没太看懂,一是维护depth_buff时点(x,y)的对应的depth_buff中的索引应当用get_index()获得么?
      二是代码注释中提示use getcolor function来设置对应像素点的颜色,我并没有找到getcolor函数,请问是需要自己实现么?

    • #3415 Score: 1
      Angus
      Participant
      23 pts

      在Triangle的头文件中

      This post has received 1 vote up.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.