Questions tagged [pbrt]
12 questions
8
votes
1 answer
Building PBRT v2 error - Error 1 error U1077: 'if' : return code '0x1'
I have visual studio 2013 community edition and I got the pbrt-v2 code base and have been trying to build the solution but this is one of the errors I have been getting (it is related to nmake it seems like):
NMAKE - Error 1 error U1077: 'if' :…

InsigMath
- 273
- 2
- 7
- 17
5
votes
1 answer
What the benefits by using the template than dynamic allocate?
I'm reading the pbrt and it has defined a type:
template
class CoefficientSpectrum;
class RGBSpectrum : public CoefficientSpectrum<3> {
using CoefficientSpectrum<3>::c;
typedef RGBSpectrum Spectrum;
// typedef…

Y.Lex
- 241
- 1
- 7
4
votes
0 answers
Kdtree Lookup: PBRT Source Code
I am trying to implement a kdtree using the pbrt source code for finding the n closest points. I have an array of points distributed over the 3d space and I need to calculate the number of points that lie within a given distance from the reference…

user1466705
- 55
- 1
- 4
3
votes
2 answers
How to sort and compare in a Bounding Volume Hierarchy
I'm currently implementing a Bounding Volume Hierarchy for 3D-Triangles only. Sadly all explanations of BVH fall short on the part where you sort your Objects for splitting. For starters I want to aim for a balanced tree and use the median cut. This…

funkysash
- 198
- 2
- 12
3
votes
1 answer
How to view the image of .PBRT file
I am new to using PBRT (physically based ray tracing) .. How can I view the image of a .pbrt file.
I have done the below steps from command prompt:
set PBRT_SEARCHPATH=C:\pbrt-1.03-lc\bin
cd C:\pbrt-1.03-lc\scenes\Conference
…

rookie_developer
- 1,359
- 3
- 15
- 27
2
votes
0 answers
PBRT toWorld Transformations
I'm used to using the nori rendering engine and am trying to transform some code over to pbrt so I can create scenes with analytic spheres more easily. I'm trying to take a vector I've sampled from a hemisphere and transform it to the coordinate…

bmiller
- 21
- 1
1
vote
0 answers
How to use pbrt-v3 core in my own project with visual studio after building successfully?
I have been built pbrt-v3, and I want to use for my own project for learning.
But when I add addition include floder '**/core', and add the 'libpbrt.lib' to additional dependencies.There is an error redefine 'PBRT_CONSTEXPR' as the follow…

meng Wong
- 11
- 1
1
vote
1 answer
Issues installing pbrt-v3 on Windows
I tried to install pbrt-v3 on my laptop but it didn't work. I used the README commands with a virtual ubuntu bash. The CMake et make did well but I can't use pbrt neither open a scene with it:
pbrt killeroo-simble.pbrt
command not found:…

TiBweizh
- 11
- 1
0
votes
1 answer
How to install pbrt-v3 on windows10 with Visual Studio 2017?
I fork the repo and download it, then open it in the Visual Studio 2017 community and did as follows:
1:right-click the MakeLists.txt and click the Rebuild All. (x64 Debug)
2:Then, i found the build directory at…

天宮鏡花
- 71
- 6
0
votes
1 answer
rotate the image rendered by pbrt
I have used pbrt to render my scene. I have specified the viewing angle in the scene file and on rendering it with pbrt I see the image from that specific viewing angle. I want to know if there exists a way by which I can rotate the scene rendered…

user3608202
- 79
- 2
- 10
0
votes
1 answer
PBRT Spectrum toRGB range
For academic purposes I have adapted PBRT so that it writes out data about intersections and general path related data (I used the path surface integrator).
There is however some difficulty in getting the RGB value of a spectrum at a certain…

Gerard
- 2,832
- 3
- 27
- 39
-1
votes
1 answer
PBRT v3 build error using make on ubuntu 17.10
I'm trying to be able to build PBRT v3 found in the following repo:
https://github.com/mmp/pbrt-v3/tree/master
I closely followed the instructions found in the repo to build the system but I'm getting an error that I'm no able decipher.
The…

arevir
- 11
- 3