Skip to content

This renderer is based on the original source code of the book named Ray Tracing From The Ground UP. I extended it from the following aspects. Objects: part of sphere, part of tori, globe, and so on. Tessellation: sphere, horn, rotational sweeping surfaces, bezier patches (Utah teapot). 2D texture: solid cylinder checker, sphere checker. Scene b…

Notifications You must be signed in to change notification settings

libingzeng/RayTraceGroundUp

Repository files navigation

RayTraceGroundUp

This renderer is based on the original source code of the book named Ray Tracing From The Ground UP.
I extended it from the following aspects.
Objects: part of sphere, part of tori, globe, and so on.
Tessellation: sphere, horn, rotational sweeping surfaces, bezier patches (Utah teapot).
2D texture: solid cylinder checker, sphere checker.
Scene building: several scenes were built and the corresponding resultant images were produced.

Some of the resultant images were put in the folder ./results/picture

The default settings is to render the fifth scene, which is the most complicated one of the scenes.
If you want to render other scenes, you can modify the Macro, ChapterNum, in BuildShadedObjects.cpp to produce corresponding images.

If you can read simple Chinese, you could find more details in my blog: https://blog.csdn.net/libing_zeng/article/details/72625390
If you have any question to share with me, you can reach me by email: [email protected]

1.1 1.2 2.1 3.1 3.2 3.3 3.4 3.5

About

This renderer is based on the original source code of the book named Ray Tracing From The Ground UP. I extended it from the following aspects. Objects: part of sphere, part of tori, globe, and so on. Tessellation: sphere, horn, rotational sweeping surfaces, bezier patches (Utah teapot). 2D texture: solid cylinder checker, sphere checker. Scene b…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published