[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-70910":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},70910,"raytracing.github.io","RayTracing\u002Fraytracing.github.io","RayTracing","Main Web Site (Online Books)","https:\u002F\u002Fraytracing.github.io\u002F",null,"HTML",10392,999,97,75,0,7,23,59,21,44,"Creative Commons Zero v1.0 Universal",false,"release",true,[27,28,29,30,31],"book","graphics-rendering","markdeep","ray-tracing","raytracing","2026-06-12 02:02:45","Ray Tracing in One Weekend Book Series\n====================================================================================================\n\n| ![RT in One Weekend][cover1] | ![RT The Next Week][cover2] | ![RT The Rest of Your Life][cover3] |\n|:----------------------------:|:---------------------------:|:-----------------------------------:|\n|   [In One Weekend][book1]    |   [The Next Week][book2]    |   [The Rest of Your Life][book3]    |\n\n\nGetting the Books\n------------------\nThe _Ray Tracing in One Weekend_ series of books are now available to the public for free directly\nfrom the web.\n\n### Version 4.0.1\n\n  - [Ray Tracing in One Weekend][web1]\n  - [Ray Tracing: The Next Week][web2]\n  - [Ray Tracing: The Rest of Your Life][web3]\n\nThese books have been formatted for both screen and print. For more information about printing your\nown copies, or on getting PDFs of the books, see [PRINTING.md][] for more information.\n\n\nContributing\n-------------\nIf you'd like to contribute a PR _**please read our [contribution guidelines][CONTRIBUTING]\nfirst**_.\n\n\nProject Status\n---------------\nIf you'd like to check out the latest updates and watch our progress, we're on the `dev-patch`,\n`dev-minor`, and `dev-major` branches. You can also browse our issues and milestones to see what\nwe're planning.\n\nIf you're interested in contributing, email us! You can find our contact info at the head of each\nbook. Or just start [a new discussion][discussions] or [issue][issues].\n\n\nGitHub Discussions\n------------------\nDo you have general questions about raytracing code, issues with your own implmentation, or general\nraytracing ideas you'd like to share? Check out our [GitHub discussions][discussions] forum!\n\n\nDirectory Structure\n-------------------\nThe organization of this repository is meant to be simple and self-evident at a glance:\n\n  - `books\u002F` --\n    This folder contains the three raytracing books (in HTML), and some supporting material.\n\n  - `images\u002F` --\n    Contains all of the images and figures of the books. Can also be used to compare your\n    results.\n\n  - `style\u002F` --\n    Contains the css for the books and the site.\n\n  - `src\u002F` --\n    Contains the source.\n\n  - `src\u002F\u003Cbook>\u002F` --\n    Contains the final source code for each book.\n\n\nSource Code\n-----------\n### Intent\nThis repository is not meant to act as its own tutorial. The source is provided so you can compare\nyour work when progressing through the book. We strongly recommend reading and following along with\nthe book to understand the source. Ideally, you'll be developing your own implementation as you go,\nin order to deeply understand how a raytracer works.\n\n### Downloading The Source Code\nThe [GitHub home][] for this project contains all source and documentation associated with the _Ray\nTracing in One Weekend_ book series. To clone or download the source code, see the green \"Clone or\ndownload\" button in the upper right of the project home page.\n\n### Programming Language\nThis book is written in C++, and uses some modern features of C++11. The language and features were\nchosen to be broadly understood by the largest collection of programmers. It is not meant to\nrepresent ideal (or optimized) C++ code.\n\n### Implementations in Other Languages\nThe _Ray Tracing in One Weekend_ series has a long history of implementations in other programming\nlanguages (see [Implementations in Other Languages][implementations]), and across different\noperating systems. Feel free to add your own implementation to the list!\n\n### Branches\nIn general, ongoing development, with all of the latest changes, can be found in the `dev-patch`,\n`dev-minor`, and `dev-major` branches, minor and major changes, depending on the change level and\nrelease in progress. We try to keep CHANGELOG.md up to date, so you can easily browse what's new in\neach development branch. We may from time to time use additional development branches, so stay up to\ndate by reviewing the [CONTRIBUTING][] page.\n\nThe `release` branch contains the latest released (and live) assets. This is the branch from which\nGitHub pages serves up https:\u002F\u002Fraytracing.github.io\u002F.\n\n\nBuilding and Running\n---------------------\nCopies of the source are provided for you to check your work and compare against. If you wish to\nbuild the provided source, this project uses CMake. To build, go to the root of the project\ndirectory and run the following commands to create the debug version of every executable:\n\n    $ cmake -B build\n    $ cmake --build build\n\nYou should run `cmake -B build` whenever you change your project `CMakeLists.txt` file (like when\nadding a new source file).\n\nYou can specify the target with the `--target \u003Cprogram>` option, where the program may be\n`inOneWeekend`, `theNextWeek`, `theRestOfYourLife`, or any of the demonstration programs. By default\n(with no `--target` option), CMake will build all targets.\n\n    $ cmake --build build --target inOneWeekend\n\n### Optimized Builds\nCMake supports Release and Debug configurations. These require slightly different invocations\nacross Windows (MSVC) and Linux\u002FmacOS (using GCC or Clang). The following instructions will place\noptimized binaries under `build\u002FRelease` and debug binaries (unoptimized and containing debug\nsymbols) under `build\u002FDebug`:\n\nOn Windows:\n\n```shell\n$ cmake -B build\n$ cmake --build build --config Release  # Create release binaries in `build\\Release`\n$ cmake --build build --config Debug    # Create debug binaries in `build\\Debug`\n```\n\nOn Linux \u002F macOS:\n\n```shell\n# Configure and build release binaries under `build\u002FRelease`\n$ cmake -B build\u002FRelease -DCMAKE_BUILD_TYPE=Release\n$ cmake --build build\u002FRelease\n\n# Configure and build debug binaries under `build\u002FDebug`\n$ cmake -B build\u002FDebug -DCMAKE_BUILD_TYPE=Debug\n$ cmake --build build\u002FDebug\n```\n\nWe recommend building and running the `Release` version (especially before the final render) for\nthe fastest results, unless you need the extra debug information provided by the (default) debug\nbuild.\n\n### CMake GUI on Windows\nYou may choose to use the CMake GUI when building on windows.\n\n1. Open CMake GUI on Windows\n2. For \"Where is the source code:\", set to location of the copied directory. For example,\n   `C:\\Users\\Peter\\raytracing.github.io`.\n3. Add the folder \"build\" within the location of the copied directory. For example,\n   `C:\\Users\\Peter\\raytracing.github.io\\build`.\n4. For \"Where to build the binaries\", set this to the newly-created \"build\" directory.\n5. Click \"Configure\".\n6. For \"Specify the generator for this project\", set this to your version of Visual Studio.\n7. Click \"Done\".\n8. Click \"Configure\" again.\n9. Click \"Generate\".\n10. In File Explorer, navigate to build directory and double click the newly-created `.sln` project.\n11. Build in Visual Studio.\n\nIf the project is succesfully cloned and built, you can then use the native terminal of your\noperating system to simply print the image to file.\n\n### Running The Programs\n\nYou can run the programs by executing the binaries placed in the build directory:\n\n    $ build\\Debug\\inOneWeekend > image.ppm\n\nor, run the optimized version (if you compiled with the release configuration):\n\n    $ build\\Release\\inOneWeekend > image.ppm\n\nThe generated PPM file can be viewed directly as a regular computer image, if your operating system\nsupports this image type. If your system doesn't handle PPM files, then you should be able to find\nPPM file viewers online. We like [ImageMagick][].\n\n\nCorrections & Contributions\n----------------------------\nIf you spot errors, have suggested corrections, or would like to help out with the project,\n_**please review the [CONTRIBUTING][] document for the most effective way to proceed.**_\n\n\n\n[book1]:           books\u002FRayTracingInOneWeekend.html\n[book2]:           books\u002FRayTracingTheNextWeek.html\n[book3]:           books\u002FRayTracingTheRestOfYourLife.html\n[CONTRIBUTING]:    CONTRIBUTING.md\n[cover1]:          images\u002Fcover\u002FCoverRTW1-small.jpg\n[cover2]:          images\u002Fcover\u002FCoverRTW2-small.jpg\n[cover3]:          images\u002Fcover\u002FCoverRTW3-small.jpg\n[discussions]:     https:\u002F\u002Fgithub.com\u002FRayTracing\u002Fraytracing.github.io\u002Fdiscussions\u002F\n[GitHub home]:     https:\u002F\u002Fgithub.com\u002FRayTracing\u002Fraytracing.github.io\u002F\n[ImageMagick]:     https:\u002F\u002Fimagemagick.org\u002F\n[implementations]: https:\u002F\u002Fgithub.com\u002FRayTracing\u002Fraytracing.github.io\u002Fwiki\u002FImplementations\n[issues]:          https:\u002F\u002Fgithub.com\u002FRayTracing\u002Fraytracing.github.io\u002Fissues\u002F\n[PRINTING.md]:     PRINTING.md\n[web1]:            https:\u002F\u002Fraytracing.github.io\u002Fbooks\u002FRayTracingInOneWeekend.html\n[web2]:            https:\u002F\u002Fraytracing.github.io\u002Fbooks\u002FRayTracingTheNextWeek.html\n[web3]:            https:\u002F\u002Fraytracing.github.io\u002Fbooks\u002FRayTracingTheRestOfYourLife.html\n","该项目提供了一个在线系列书籍《Ray Tracing in One Weekend》，旨在教授光线追踪技术。核心功能包括通过三本逐步深入的书籍，从基础到高级全面介绍光线追踪算法，并提供了相应的源代码供读者实践和参考。技术上采用HTML进行网页展示，同时支持屏幕阅读与打印格式。这些资源非常适合希望学习计算机图形渲染、特别是光线追踪技术的学生、开发者以及爱好者使用。无论是初学者还是有一定经验的专业人士都能从中受益。",2,"2026-06-11 03:34:54","high_star"]