使用opengl的阴影体积问题

发布于 2024-11-25 08:58:54 字数 399 浏览 9 评论 0原文

我无法使用以下方法找出阴影投影的解决方案 阴影体积和模板缓冲区。问题可以查看: 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

许仙没带伞 2024-12-02 08:58:54

问题解决了。一些属于轮廓的边缘被挤压了两次。谢谢。

Problem solved. Some edges beloging to the silhouettes were being extruded twice. Thanks.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文