Viewing 2 reply threads
  • Author
    Posts
    • #16818 Score: 0
      xxl
      Participant

      有人碰到和我一样的问题吗?我想知道是怎么解决的!谢谢!!

    • #16823 Score: 1
      Eipi
      Participant
      1 pt

      可以看看https://games-cn.org/forums/topic/zuoye1sanjiaoxingdiandaowenti/

      This post has received 1 vote up.
      • This reply was modified 10 months, 2 weeks ago by Eipi.
      • #16826 Score: 0
        xxl
        Participant

        非常感谢!我已经解决了,正常的输入Znear和Zfar应该是负的,而调用这个函数时的输入是正的,所以要对函数内部做些改变!我现在对于它还有一个疑惑,正常我们在进行采样之前应该有一步视图变换,就是把(-1,1)的三次方变换到(0,width)*(0,height),为什么我看作业里的代码并没有这个操作呢?再次感谢你的帮助!

    • #16824 Score: 0
      Eipi
      Participant
      1 pt
Viewing 2 reply threads
  • You must be logged in to reply to this topic.