使用opengl的阴影体积问题
我无法使用以下方法找出阴影投影的解决方案 阴影体积和模板缓冲区。问题可以查看: www.dt.fee.unicamp.br/~ricfow/shadowProblem.avi
在另一个视频中: www.dt.fee.unicamp.br/~ricfow/shadowProblemAux.avi 仅绘制了与轮廓相关的面孔, 其中蓝色表示正面,红色表示背面。
可能是什么问题?
I cannot figure out a solution to my shadown projections using
shadow volumes and stencil buffers. The problem can be viewed in:
www.dt.fee.unicamp.br/~ricfow/shadowProblem.avi
In this other video:
www.dt.fee.unicamp.br/~ricfow/shadowProblemAux.avi
only the faces associated to the silhouettes have been draw,
where blue means front face and red back face.
What could be the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题解决了。一些属于轮廓的边缘被挤压了两次。谢谢。
Problem solved. Some edges beloging to the silhouettes were being extruded twice. Thanks.