开发者

Ray casting with CSG tree

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜