Unable to load geometry from the example scenes (pbrt v3)

52 views
Skip to first unread message

august vctjuh

unread,
Nov 17, 2022, 10:00:03 AM11/17/22
to pbrt
After cloning, building, and compiling pbrt v3, and downloading some scenes at https://www.pbrt.org/scenes-v3.html the only scene that seems to be able to load properly is killeroo-simple.

Any other scene just leaves me with hundreds of instances of the same error (with different numbers):
Vertex reference 1313293 is out of bounds! Valid range is [0..6052]

Scenes for which I've tried this include: barcelona-pavilion, white-room, sanmiguel.
I am running them by typing into a commandline window things such as:
pbrt ../../scenes/barcelona-pavilion/pavilion-day.pbrt

Is there anything I am missing? What should I do?

Matt Pharr

unread,
Jan 3, 2023, 12:28:38 PM1/3/23
to pb...@googlegroups.com
“Works for me”. Most likely the scenes download was somehow corrupted. If you still have issues, can you provide a complete repro case?

Thanks,
Matt

% curl -O https://pub-49ca6a23a58a46ef9cf5a5b34413a7ba.r2.dev/pbrt-v3-scenes.tar.gz
[…]
% tar xf pbrt-v3-scenes.tar.gz
% git clone --recursive https://github.com/mmp/pbrt-v3.git
[…]
% mkdir build
% cd build
% cmake -G Ninja ../pbrt-v3
[…]
% ninja
% ./pbrt ../pbrt-v3-scenes/barcelona-pavilion/pavilion-day.pbrt
pbrt version 3 (built Jan  3 2023 at 09:18:35) [Detected 8 cores]
Copyright (c)1998-2018 Matt Pharr, Greg Humphreys, and Wenzel Jakob.
The source code to pbrt (but *not* the book contents) is covered by the BSD License.
See the file LICENSE.txt for the conditions of the license.
/private/tmp/xxx/pbrt-v3-scenes/barcelona-pavilion/materials.pbrt:74:18: Warning: Texture "grass-kd" being redefined
Rendering: [                                                                                                                                                     ]  (4.1s|1371.9s)


--
You received this message because you are subscribed to the Google Groups "pbrt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pbrt+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pbrt/532d679f-ba20-460f-bc5d-38ba86aef391n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages