Closed lucasamparo closed 1 year ago
Those directions correspond to pbrt-v3 and things have changed a bit since then.. Add it in src/pbrt/base/shape.h
, following how other shapes are included in the TaggedPointer
that Shape
inherits from and that error should go away.
Thanks for the fast answer, Dr. Pharr. The problem goes away by adding the class in "Shape Declarations" (line 19) and TaggedPointer instantiation (line 34).
Thank you so much.
In time, incredible work. I'm trying to understand and use your library for my Ph.D. research.
Hi.
I'm trying to create a new Shape (Based on This), but when I try to compile the code, the assert about TypePack is triggered.
How can I put my new class inside this "TypePack" list? (DistanceEstimator).