开发者

Ray casting with CSG tree

开发者 https://www.devze.com 2023-03-15 04:58 出处:网络
I\'m working a project in which I have to perform ray casting and use CSG 开发者_Go百科trees. But I don\'t know how to use the CSG trees or implement it for this project.

I'm working a project in which I have to perform ray casting and use CSG 开发者_Go百科trees. But I don't know how to use the CSG trees or implement it for this project. I can do the ray cast and give the final answer. My problem is really how to implement the tree and link it.


The following PhD thesis details various CSG rendering techniques in OpenGL. Part of the thesis illustrates how CSG trees are constructed and simplified. A program (with full C++ source code) demonstrates the various algorithms mentioned in the thesis and will also give you an implementation of a CSG tree.

0

精彩评论

暂无评论...
验证码 换一张
取 消