Skip to content

Commit

Permalink
同意序章格式并纳入目录、优化第5章序言翻译、修正引文署名 fix #187 (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
kanition authored Nov 23, 2024
2 parents f7ba3f9 + cabdedf commit 6e07ea1
Show file tree
Hide file tree
Showing 8 changed files with 272 additions and 268 deletions.
2 changes: 1 addition & 1 deletion bibliography.bib
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ @inproceedings{10.1145/1186822.1073278
}

@article{4015484,
author = {Yoon, Sung-eui and Lindstrom, Peter},
author = {Yoon, Sung-Eui and Lindstrom, Peter},
journal = {IEEE Transactions on Visualization and Computer Graphics},
title = {Mesh Layouts for Block-Based Caches},
year = {2006},
Expand Down
4 changes: 2 additions & 2 deletions content/chap05.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ \chapter{颜色和辐射度学}\label{chap:颜色和辐射度学}
本章中,我们将介绍描述电磁辐射的四个关键量:
\keyindex{通量}{flux}{}、\keyindex{强度}{intensity}{}、
\keyindex{辐射照度}{irradiance}{}和\keyindex{辐射亮度}{radiance}{}。
这些辐射量每一个都由它们的\keyindex{光谱功率分布}{spectral power distribution}{}(SPD)——
描述在各波长上的光量关于波长的函数
这些辐射量每一个都以它们的\keyindex{光谱功率分布}{spectral power distribution}{}(SPD)来描述,
即在各波长上的光量关于波长的分布函数
pbrt中用定义于\refsec{光谱表示}的类\refvar{Spectrum}{}来表示SPD。

\input{content/chap0501.tex}
Expand Down
6 changes: 3 additions & 3 deletions content/hallofshame.tex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\begin{center}
{\LARGE\bfseries 关于本仓库拒绝刊载于GitCode\\及其关联网站的声明}
\end{center}\vspace{30pt}
% \cahper[目录字符]{正文字符}
\chapter[关于本仓库拒绝刊载于GitCode及其关联网站的声明]{{\LARGE 关于本仓库拒绝刊载于GitCode及其关联网站的声明}}
\label{chap:关于本仓库拒绝刊载于GitCode及其关联网站的声明}

鉴于GitCode及其关联网站的过往劣迹,
尤其是近来未经授权大量镜像GitHub高流量账号和仓库,
Expand Down
40 changes: 20 additions & 20 deletions content/preface.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{\Huge\bfseries 前言}\vspace{30pt}\\

\chapter{前言}\label{chap:前言}
\setcounter{page}{1}
渲染是计算机图形学的基础组成部分。
最抽象地说,渲染是把三维场景描述转换为图像的过程。
动画算法、几何建模、材质贴图和计算机图形学其他领域
Expand Down Expand Up @@ -35,9 +35,9 @@
因为计算机生成的图像经常必须和真实世界的镜头无缝结合。
娱乐应用中所有图像都是合成的,
逼真感是让观察者忘记所见场景并不实际存在的有效手段。
最后,逼真感为衡量渲染系统输出质量提供了定义合理的指标。\\
最后,逼真感为衡量渲染系统输出质量提供了定义合理的指标。

\noindent{\LARGE\bfseries 读者}
\section*{读者}\label{sec:读者}

本书主要面向三类读者。
第一类是学习计算机图形学课程的研究生或高年级本科生。
Expand All @@ -60,9 +60,9 @@
pbrt涵盖了大量高级或艰深算法的实现和技术,
例如细分曲面、蒙特卡罗采样算法、双向路径追踪、Metropolis采样和次表面散射;
经验丰富的渲染从业者应该会很感兴趣。
我们希望能激发这些读者去钻研一个完整而典型的渲染系统的兴趣。\\
我们希望能激发这些读者去钻研一个完整而典型的渲染系统的兴趣。

\noindent{\LARGE\bfseries 概述和目标}
\section*{概述和目标}\label{sec:概述和目标}

pbrt基于{\itshape 光线追踪}算法。
光线追踪是一项优雅的技术,起源于镜片制造。
Expand Down Expand Up @@ -140,33 +140,33 @@
我们也会发布勘误、修复bug、新增渲染场景和补充材料。
遇到网站尚未列出的pbrt中的任何bug或行文错误
均发送到邮箱\href{mailto:[email protected]}{\url{[email protected]}}。
我们非常重视您的反馈\sidenote{译者注:我也欢迎您的反馈!详见扉页更新网址。}!\\
我们非常重视您的反馈\sidenote{译者注:我也欢迎您的反馈!详见扉页更新网址。}!

\noindent{\LARGE\bfseries 第一版和第二版的区别}
\section*{第一版和第二版的区别}\label{sec:第一版和第二版的区别}

{\itshape 详见英文原版}\\
{\itshape 详见英文原版}

\noindent{\LARGE\bfseries 第二版和第三版的区别}
\section*{第二版和第三版的区别}\label{sec:第二版和第三版的区别}

{\itshape 详见英文原版}\\
{\itshape 详见英文原版}

\noindent{\LARGE\bfseries 致谢}
\section*{致谢}\label{sec:致谢}

{\itshape 详见英文原版}\\
{\itshape 详见英文原版}

\noindent{\LARGE\bfseries 出版}
\section*{出版}\label{sec:出版}

{\itshape 详见英文原版}\\
{\itshape 详见英文原版}

\noindent{\LARGE\bfseries 场景和模型}
\section*{场景和模型}\label{sec:场景和模型}

{\itshape 详见英文原版}\\
{\itshape 详见英文原版}

\noindent{\LARGE\bfseries 关于封面}
\section*{关于封面}\label{sec:关于封面}

{\itshape 详见英文原版}\\
{\itshape 详见英文原版}

\noindent{\LARGE\bfseries 扩展阅读}
\section*{扩展阅读}\label{sec:扩展阅读0}

\citet{10.1093/comjnl/27.2.97}的论文《\emph{Literate Programming}》
描述了文学编程背后的主要思想以及他的{\ttfamily web}编程环境\sidenote{译者注:一种计算机编程语言系统。}。
Expand Down
18 changes: 9 additions & 9 deletions content/prefaceonline.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{\Huge\bfseries 在线版序言}\vspace{30pt}\\
\chapter{在线版序言}\label{chap:在线版序言}

2004年发行的第一版《基于物理的渲染》只有纸质书。
2010年第二版新增了Kindle版,但不幸的是
Expand Down Expand Up @@ -66,9 +66,9 @@
\sidenote{译者注:在线版是一片雪花图案。
不过PDF没法实现网页端那么强大的交互功能,
所以阅读本书时就无视它吧。}:*。
将鼠标悬停在该图标上可获取相关操作的详细信息。\\
将鼠标悬停在该图标上可获取相关操作的详细信息。

\noindent{\LARGE\bfseries 路线图}
\section*{路线图}\label{sec:路线图}

本书计划大致每年发布一次更新
\sidenote{译者注:本书在翻译时已经发布第四版书籍与代码了。}。
Expand All @@ -84,16 +84,16 @@
我们会在线保留本书的早前版本,URL均和首发时保持一致;
新版会放在单独的目录中。
因此链接到此处的内容是安全的,不必担心未来断链
\sidenote{译者注:本中译版不作此承诺。}。\\
\sidenote{译者注:本中译版不作此承诺。}。

\noindent{\LARGE\bfseries 报告错误}
\section*{报告错误}\label{sec:报告错误}

{\itshape 详见英文原版}\\
{\itshape 详见英文原版}

\noindent{\LARGE\bfseries 致谢}
\section*{致谢}\label{sec:致谢a}

{\itshape 详见英文原版}\\
{\itshape 详见英文原版}

\noindent{\LARGE\bfseries 许可证}
\section*{许可证}\label{sec:许可证}

{\itshape 详见英文原版}
5 changes: 2 additions & 3 deletions content/tanslator.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{\Huge\bfseries 译者序}\vspace{30pt}\\
\chapter{译者序}\label{chap:译者序}

“为什么要翻译这本书?”

Expand Down Expand Up @@ -91,8 +91,7 @@
\vspace{15pt}
{\hfill {\itshape 译者}\quad\raisebox{-0.2\height}{{$\includegraphics[height=20pt]{Pictures/preface/sign.eps}$}}\qquad}

\vspace{15pt}
\noindent{\LARGE\bfseries 致谢}
\section*{致谢}\label{sec:致谢b}

感谢\href{https://zixuan-zhang.com}{Zixuan Zhang}参与翻译\refsec{相机模型}部分段落;
感谢\href{https://github.com/xwc2021}{xwc2021}对\refsub{辐射度量}一节的讨论;
Expand Down
20 changes: 10 additions & 10 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
%----------------------------------------------------------------------------------------

\begin{document}

\frontmatter % 控制序文部分
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
Expand All @@ -78,29 +78,28 @@
\newpage
~\vfill
\thispagestyle{empty}

\usechapterimagefalse
\input{content/readme.tex}
\pagestyle{fancy} % 该风格启用了页眉

\newpage
\setcounter{page}{1}
\pagestyle{fancy}
\input{content/preface.tex}
\newpage

\input{content/prefaceonline.tex}
\newpage

\input{content/tanslator.tex}
\newpage

\input{content/hallofshame.tex}

%----------------------------------------------------------------------------------------
% TABLE OF CONTENTS
%----------------------------------------------------------------------------------------
\pagestyle{fancy}
\renewcommand{\contentsname}{目录}
\renewcommand{\figurename}{图}
\renewcommand{\tablename}{表}

%\usechapterimagefalse % If you don't want to include a chapter image, use this to toggle images off - it can be enabled later with \usechapterimagetrue

\usechapterimagetrue
\chapterimage{Pictures/measure-one180-cut1260.png} % Table of contents heading image

\pagestyle{empty} % Disable headers and footers for the following pages
Expand All @@ -114,7 +113,8 @@
%----------------------------------------------------------------------------------------
% PART
%----------------------------------------------------------------------------------------

\setcounter{page}{1}
\mainmatter % 控制正文部分
\part{绪论}
\input{content/chap01.tex}

Expand Down
Loading

0 comments on commit 6e07ea1

Please sign in to comment.