Live data from Hacker News

Physically Based Rendering Book

pbr-book.org

31–40 of 49 posts

Re: Physically Based Rendering Book

#31
post #8

Something not immediately clear to me is how to use the book. I see it uses a literate programming format, and it seems very well done. But I don’t see (in the first couple of chapters anyway) any code to show intermediate results. Am I supposed to work through the whole book before getting something that I can see? I’m sure I’m missing something.

It definitely requires a bit of jumping around. The online version is a godsend in this regard, because it's all hyperlinked.

It also has an index of all identifiers, which I find quite helpful, and the full source code is available as well.

After you spend some time with the book, how the chapters are laid out make much more sense (at least, that's my experience)

Re: Physically Based Rendering Book

#32
post #3

> January 15, 2021: A fourth edition is in the works. Progress on the text is coming along well and the source code is available on github. We expect that the printed version of the book will be out in Summer 2021. https://www.pbrt.org/

Damn, for a second I thought post was because the fourth edition is out. Damn you OP! :)

Re: Physically Based Rendering Book

#34

Is this book for real-time or offline rendering? Because I think PBR is used in both now days

PBR describes an offline render. Online renderers will use the same principles for materials -- modelling them as Bidirectional Scattering Distribution Functions (BSDF), though I'm not really sure how platforms like unreal implement them in the absence of full path tracing. I'd love to learn more in that regard.

Re: Physically Based Rendering Book

#35
post #8

Something not immediately clear to me is how to use the book. I see it uses a literate programming format, and it seems very well done. But I don’t see (in the first couple of chapters anyway) any code to show intermediate results. Am I supposed to work through the whole book before getting something that I can see? I’m sure I’m missing something.

Even with the background knowledge from Peter Shirley's "Raytracing in one weekend" series it's very hard to get into this book.

Gotcha, I’m glad I’m not the only one.

Re: Physically Based Rendering Book

#36

Earlier quoted context omitted.

I agree with you on Kindles; they're certainly worse than having books on the open web, even if it were to be paid content. I also agree with you that page turning experience is _the_ native control of a book and that it adds to the saccadic perception of moving forward with time. B.t.w, I made this demo for exactly the reasons you mentioned, and I'm an older developer too!: https://bubblin.io/book/a-florida-sketch-b…

That demo isn't novel, I've seen that exact same skeuomorphic design in ereaders over the past couple decades. It's pretty, but it's not terribly useful to flip one page at a time in anything but a novel you intend to read linearly, and where you often only need to flip back one or two pages when confusion sets in (wait, which city are they in now? who's speaking in this part of the dialog?). It's hardly a useful int…

Wow. Thank you for taking the time to respond at length to the demo I shared. This will help me improve/improvise it a little more!

Overall, there’s a lot of work before a book like this goes native on the web. Better still, it the experience is standardized across vendors—which I have attempted as far as possible with the available tech. I mean scrolling is skeuomorphism off of the physical scrolls too, but that’s the point of start for a root problem here. Native books have never happened on the web, and that’s one main reason why people continue to buy the dead-tree; the lack of availability, bad experience and all.

> Physical reference books are often accessed in a non-linear fashion, and often not alone. But let's forget that second part and focus on non-linear.

The demo does implement random access via page numbers on the tail of the url. This affords both random access i.e non-linear reading and referential accessibility [1].

https://bubblin.io/blog/referential-accessibility

Re: Physically Based Rendering Book

#37

This book is excellent, and it's aimed at relatively advanced practitioners. > This book assumes existing knowledge of computer graphics at the level of an introductory college-level course For people looking for such an introduction, I've written Computer Graphics From Scratch, available in its entirety here: https://gabrielgambetta.com/cgfs (and also from https://nostarch.com/computer-graphics-scratch )

Thanks again for your book, I preordered it and started working on it a few days ago! Enjoying it so far.

Would you say that your book and a slight math background (advanced Linear Algebra and Calculus), but no further experience with graphics programming are enough preparation to dive into something like PBR?

Re: Physically Based Rendering Book

#38

Earlier quoted context omitted.

Why the dead-tree? Can we not try monetization of your book straight on the web instead, right here on your website? As developers we should lead the change away from pulp to electronic screens… Edit: I mean, I'd be happy to pay the author (note, not donate*) for this corpus online.

'as developers' don't speak for me, if you want to sell a book in a different way do it yourself ffs As a developer I'm buying the physical copy, like I did the previous revision ( which is great btw )

[deleted]

Re: Physically Based Rendering Book

#39

This book is excellent, and it's aimed at relatively advanced practitioners. > This book assumes existing knowledge of computer graphics at the level of an introductory college-level course For people looking for such an introduction, I've written Computer Graphics From Scratch, available in its entirety here: https://gabrielgambetta.com/cgfs (and also from https://nostarch.com/computer-graphics-scratch )

Thanks again for your book, I preordered it and started working on it a few days ago! Enjoying it so far. Would you say that your book and a slight math background (advanced Linear Algebra and Calculus), but no further experience with graphics programming are enough preparation to dive into something like PBR?

Glad you're enjoying it!

I'm not a PBR expert, but I guess that background should be enough to go for it - and that you wouldn't have much trouble filling up the knowledge gaps you might encounter, if any.

Re: Physically Based Rendering Book

#40
post #29

I can't recommend this book enough. For anyone looking for a more gentle introduction into ray tracing, I'd also suggest The Ray Tracer Challenge ( http://www.raytracerchallenge.com/ ) -- it walks you through building a simple recursive ray tracer in a test driven development manner. I started with the RTC, and moved on to PBR - and converting my recursive tracer into a unidirectional path tracer was quite an adventu…

Mentioned elsewhere, there is also Peter Shirley's "Ray Tracing in One Weekend" series:

https://raytracing.github.io/

Post reply on HN