3

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
    ..\..\bin\pbrt.exe conference.pbrt
Vertexwahn
  • 7,709
  • 6
  • 64
  • 90
rookie_developer
  • 1,359
  • 3
  • 15
  • 27

1 Answers1

8

A .pbrt file is a scene description file or a file containing a triangle mesh.

This file is only a description of something that is used to render an image with.

To render the image you have to run the \bin\pbrt.exe in the following way:

\bin\pbrt.exe conference.pbrt --outfile conference.tga

This command will render the image and save it to the file named conference.tga