zsw

Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: 作业七光线相交测试异常 #5420 Score: 0
    zsw
    Participant
    -2 pt

    请问解决了吗。。我也是

    in reply to: 作业6 做完了4步之后运行仍是一片蓝 #5073 Score: -1
    zsw
    Participant
    -2 pt

    请问一下coords代表的是什么呀= = 我之前用的v3f(1-v-u,u,v),怪不得显示的不对

    This post has received 2 votes down.
    in reply to: 作业6问题 #5060 Score: 0
    zsw
    Participant
    -2 pt

    额 不是很明白 是在这个节点下的boundbox的所有物体的getIntersection 的比较吗?

    in reply to: 作业五求生成光线 #4861 Score: 0
    zsw
    Participant
    -2 pt

    多谢 明白了

    in reply to: 作业5 render()的疑惑 #4783 Score: 0
    zsw
    Participant
    -2 pt

    请问解决了吗= =难道x = i-eye_pos.x;y = j-eye_pos.y;这样不是求出primary ray direction吗。。。

    in reply to: 作业2提高问题求助 #3506 Score: 0
    zsw
    Participant
    -2 pt

    我也不知道是不是对的了= = 现在脑壳又糊涂了

    in reply to: 作业2提高问题求助 #3494 Score: 0
    zsw
    Participant
    -2 pt

    我想明白了,其实老师说的很清楚了,不用两个buffer,其实要维持的就是一个4倍大小的像素颜色值的一个sampleList,这个sampleList包括的就是每4X采样时的像素值,然后在每个点采样的时候,将在三角形里的颜色值给加到对应的点上,然后在设置颜色的时候取每个这个点对应的samplelsit的4个的平均值。

    Attachments:
    You must be logged in to view attached files.
    in reply to: 作业2提高问题求助 #3473 Score: 0
    zsw
    Participant
    -2 pt

    不,我没有sample_frame_buffer 我直接算的color
    一个像素分成4块,然后每个子像素判断在不在三角行里面,如果在 那么k++;
    如果不在,那么就取出sampledepthbuffer中的最前面的一个颜色,就是outsidecolor,
    然后在setpixel的时候set_pixel(Vector3f(i,j,z_interpolated),t.getColor()*k+outsidecolor*(1-k));

    This post has received 1 vote up and 1 vote down.
    in reply to: 作业2提高问题求助 #3471 Score: -1
    zsw
    Participant
    -2 pt

    对啊 我也在想这个问题 加了一个4倍大小的depthbuffer 不就是相当于多处理的了4倍吗

    This post has received 1 vote down.
    in reply to: [作业二]三角形比例不太对劲 #3325 Score: 0
    zsw
    Participant
    -2 pt

    我的才是比例有问题= = 同问 请问我的投影变换矩阵有问题吗 为什么比例不对=

    Attachments:
    You must be logged in to view attached files.
    in reply to: 作业提交问题 #2944 Score: 0
    zsw
    Participant
    -2 pt

    好的 多谢~

Viewing 11 posts - 1 through 11 (of 11 total)