Skip to content

Commit

Permalink
Merge pull request BRL-CAD#11 from SP23-CSCE482/test
Browse files Browse the repository at this point in the history
made render brighter
  • Loading branch information
zhuodannychen authored Mar 26, 2023
2 parents 52b71a1 + 75d2049 commit b19c113
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions PerspectiveGatherer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ std::string extractFileName(std::string filePath) {
std::string renderPerspective(RenderingFace face, Options& opt)
{
// hardcode filename until options come out
std::string component = "all.g";
std::string component = "component";
std::string pathToInput = opt.getFilepath();
std::string fileInput = extractFileName(pathToInput);
std::string pathToOutput = "output/";
Expand Down Expand Up @@ -79,7 +79,7 @@ std::string renderPerspective(RenderingFace face, Options& opt)
case DETAILED:
a = 45, e = 45;
outputname += "_detailed.png";
render = "../../../build/bin/rt -C 255/255/255 -s 1024 -W -R -c \"set ambSamples=64\" -o " + outputname + " " + pathToInput + " " + component;
render = "../../../build/bin/rt -C 255/255/255 -s 1024 -A 1.5 -W -R -c \"set ambSamples=64\" -o " + outputname + " " + pathToInput + " " + component;
break;
default:
std::cerr<< "mark added this\n";
Expand Down
Binary file modified a.out
Binary file not shown.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ void generateReport(Options opt)
}

// paint renderings
//makeRenderSection(img, info, 0, 0, 2400, 2400, opt);
makeRenderSection(img, info, 0, 100, 1200, 900);
makeRenderSection(img, info, 0, 0, 2400, 2400, opt);
// makeRenderSection(img, info, 0, 100, 1200, 900);

// paint text sections (no method headers yet)
// paintTitle
Expand Down
Binary file added output/m35_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/m35_bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/m35_detailed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/m35_front.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/m35_left.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/m35_right.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added output/m35_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified output/moss_detailed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b19c113

Please sign in to comment.